00001 ////////////////////////////////////////////////////////// 00002 // This class has been automatically generated on 00003 // Fri Jul 10 11:01:34 2009 by ROOT version 5.23/05 00004 // from TTree t/t 00005 // found on file: Memory Directory 00006 ////////////////////////////////////////////////////////// 00007 00008 #ifndef RooProofDriverSelector_h 00009 #define RooProofDriverSelector_h 00010 00011 #include <TROOT.h> 00012 #include <TChain.h> 00013 #include <TFile.h> 00014 #include <TSelector.h> 00015 class RooStudyPackage ; 00016 class TIterator ; 00017 00018 class RooProofDriverSelector : public TSelector { 00019 public : 00020 TTree *fChain; //!pointer to the analyzed TTree or TChain 00021 00022 // Declaration of leaf types 00023 Int_t i; 00024 00025 // List of branches 00026 TBranch *b_i; //! 00027 00028 RooProofDriverSelector(TTree * /*tree*/ =0) { } 00029 virtual ~RooProofDriverSelector() { } 00030 virtual Int_t Version() const { return 2; } 00031 virtual void SlaveBegin(TTree *tree); 00032 virtual void Init(TTree* tree); 00033 virtual Bool_t Notify(); 00034 virtual Bool_t Process(Long64_t entry); 00035 virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0) { return fChain ? fChain->GetTree()->GetEntry(entry, getall) : 0; } 00036 virtual void SetOption(const char *option) { fOption = option; } 00037 virtual void SetObject(TObject *obj) { fObject = obj; } 00038 virtual void SetInputList(TList *input) { fInput = input; } 00039 virtual void SlaveTerminate() ; 00040 virtual TList *GetOutputList() const { return fOutput; } 00041 00042 RooStudyPackage* _pkg ; 00043 Int_t seed ; 00044 00045 ClassDef(RooProofDriverSelector,0); 00046 }; 00047 00048 #endif 00049