ProofAux.h

Go to the documentation of this file.
00001 //////////////////////////////////////////////////////////////
00002 //
00003 // Selector used for auxilliary actions in the PROOF tutorials
00004 //
00005 //////////////////////////////////////////////////////////////
00006 
00007 #ifndef ProofAux_h
00008 #define ProofAux_h
00009 
00010 #include <TSelector.h>
00011 
00012 class TList;
00013 
00014 class ProofAux : public TSelector {
00015 private :
00016    Int_t           GenerateTree(const char *fnt, Long64_t ent, TString &fn);
00017    Int_t           GenerateFriend(const char *fnt,  const char *fnf = 0);
00018    Int_t           GetAction(TList *input);
00019 public :
00020 
00021    // Specific members
00022    Int_t           fAction;
00023    Long64_t        fNEvents;
00024    TList          *fMainList;
00025    TList          *fFriendList;
00026 
00027    ProofAux();
00028    virtual ~ProofAux();
00029    virtual Int_t   Version() const { return 2; }
00030    virtual void    Begin(TTree *tree);
00031    virtual void    SlaveBegin(TTree *tree);
00032    virtual Bool_t  Process(Long64_t entry);
00033    virtual void    SetOption(const char *option) { fOption = option; }
00034    virtual void    SetObject(TObject *obj) { fObject = obj; }
00035    virtual void    SetInputList(TList *input) { fInput = input; }
00036    virtual TList  *GetOutputList() const { return fOutput; }
00037    virtual void    SlaveTerminate();
00038    virtual void    Terminate();
00039 
00040    ClassDef(ProofAux,0);
00041 };
00042 
00043 #endif

Generated on Tue Jul 5 15:44:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1