Logo ROOT   master
Reference Guide
RooProofDriverSelector.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Fri Jul 10 11:01:34 2009 by ROOT version 5.23/05
4 // from TTree t/t
5 // found on file: Memory Directory
6 //////////////////////////////////////////////////////////
7 
8 #ifndef RooProofDriverSelector_h
9 #define RooProofDriverSelector_h
10 
11 #include <TChain.h>
12 #include <TFile.h>
13 #include <TSelector.h>
14 class RooStudyPackage ;
15 class TIterator ;
16 
18 public :
19  TTree *fChain; //!pointer to the analyzed TTree or TChain
20 
21  // Declaration of leaf types
23 
24  // List of branches
25  TBranch *b_i; //!
26 
27  RooProofDriverSelector(TTree * /*tree*/ =0) { b_i = 0 ; _pkg = 0 ; fChain = 0 ; }
29  virtual Int_t Version() const { return 2; }
30  virtual void SlaveBegin(TTree *tree);
31  virtual void Init(TTree* tree);
32  virtual Bool_t Notify();
33  virtual Bool_t Process(Long64_t entry);
34  virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0) { return fChain ? fChain->GetTree()->GetEntry(entry, getall) : 0; }
35  virtual void SetOption(const char *option) { fOption = option; }
36  virtual void SetObject(TObject *obj) { fObject = obj; }
37  virtual void SetInputList(TList *input) { fInput = input; }
38  virtual void SlaveTerminate() ;
39  virtual TList *GetOutputList() const { return fOutput; }
40 
43 
45 };
46 
47 #endif
48 
RooStudyPackage is a utility class to manage studies that consist of repeated applications of generat...
virtual Bool_t Notify()
This method must be overridden to handle object notification.
TSelectorList * fOutput
! List of objects created during processing
Definition: TSelector.h:42
virtual Bool_t Process(Long64_t entry)
long long Long64_t
Definition: RtypesCore.h:71
virtual void SlaveBegin(TTree *tree)
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of entry and return total number of bytes read.
Definition: TTree.cxx:5510
bool Bool_t
Definition: RtypesCore.h:61
Iterator abstract base class.
Definition: TIterator.h:30
#define ClassDef(name, id)
Definition: Rtypes.h:322
TString fOption
Option given to TTree::Process.
Definition: TSelector.h:39
virtual TTree * GetTree() const
Definition: TTree.h:508
A doubly linked list.
Definition: TList.h:44
virtual TList * GetOutputList() const
virtual void Init(TTree *tree)
TObject * fObject
! Current object if processing object (vs. TTree)
Definition: TSelector.h:40
virtual void SetInputList(TList *input)
Int_t i
pointer to the analyzed TTree or TChain
virtual Int_t Version() const
Mother of all ROOT objects.
Definition: TObject.h:37
TList * fInput
List of objects available during processing.
Definition: TSelector.h:41
Definition: tree.py:1
A TTree represents a columnar dataset.
Definition: TTree.h:78
virtual void SetOption(const char *option)
A TTree is a list of TBranches.
Definition: TBranch.h:88
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:31
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
virtual void SetObject(TObject *obj)