14 #ifndef FAIRANASELECTOR_H
15 #define FAIRANASELECTOR_H
20 #include <TSelector.h>
21 #include <TSelectorList.h>
31 class TProofOutputFile;
47 , fCurrentDirectory(
"")
51 virtual Int_t
Version()
const {
return 1; }
52 virtual void Begin(TTree* tree);
54 virtual void Init(TTree* tree);
56 virtual Bool_t
Process(Long64_t entry);
57 virtual Int_t
GetEntry(Long64_t entry, Int_t getall = 0)
59 return fChain ?
fChain->GetTree()->GetEntry(entry, getall) : 0;
61 virtual void SetOption(
const char* option) { fOption = option; }
62 virtual void SetObject(TObject* obj) { fObject = obj; }
76 TString fCurrentDirectory;
81 #endif // FAIRANASELECTOR_H
void SetFairRunAnaProof(FairRunAnaProof *runAna)
virtual void SlaveBegin(TTree *tree)
virtual void SetObject(TObject *obj)
virtual Int_t Version() const
virtual void SetOption(const char *option)
TProofOutputFile * fProofFile
virtual void SlaveTerminate()
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
FairRunAnaProof * fRunAna
pointer to the analyzed TTree or TChain
virtual void Init(TTree *tree)
virtual ~FairAnaSelector()
FairAnaSelector(TTree *=0)
virtual void Begin(TTree *tree)
virtual Bool_t Process(Long64_t entry)
virtual void SetInputList(TList *input)
virtual TList * GetOutputList() const