12 #ifndef ROOT__TSelectorEntries
13 #define ROOT__TSelectorEntries
34 class TSelectorEntries :
public TSelector {
38 TTreeFormula *fSelect;
39 Long64_t fSelectedRows;
40 Bool_t fSelectMultiple;
42 TSelectorEntries(TTree *tree = 0,
const char *selection = 0);
43 TSelectorEntries(
const char *selection);
44 virtual ~TSelectorEntries();
45 virtual Int_t Version()
const {
return 2; }
46 virtual void Begin(TTree *tree);
47 virtual void SlaveBegin(TTree *tree);
48 virtual void Init(TTree *tree);
49 virtual Bool_t Notify();
50 virtual Bool_t Process(Long64_t entry);
51 virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0);
52 virtual Long64_t GetSelectedRows()
const {
return fSelectedRows; }
53 virtual void SetOption(
const char *option) { fOption = option; }
54 virtual void SetObject(TObject *obj) { fObject = obj; }
55 virtual void SetSelection(
const char *selection);
56 virtual TList *GetOutputList()
const {
return fOutput; }
57 virtual void SlaveTerminate();
58 virtual void Terminate();
60 ClassDef(TSelectorEntries,1);