8 #ifndef RooProofDriverSelector_h
9 #define RooProofDriverSelector_h
15 class RooStudyPackage ;
18 class RooProofDriverSelector :
public TSelector {
28 RooProofDriverSelector(TTree * =0) { b_i = 0 ; _pkg = 0 ; fChain = 0 ; }
29 virtual ~RooProofDriverSelector() { }
30 virtual Int_t Version()
const {
return 2; }
31 virtual void SlaveBegin(TTree *tree);
32 virtual void Init(TTree* tree);
33 virtual Bool_t Notify();
34 virtual Bool_t Process(Long64_t entry);
35 virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0) {
return fChain ? fChain->GetTree()->GetEntry(entry, getall) : 0; }
36 virtual void SetOption(
const char *option) { fOption = option; }
37 virtual void SetObject(TObject *obj) { fObject = obj; }
38 virtual void SetInputList(TList *input) { fInput = input; }
39 virtual void SlaveTerminate() ;
40 virtual TList *GetOutputList()
const {
return fOutput; }
42 RooStudyPackage* _pkg ;
45 ClassDef(RooProofDriverSelector,0);