47 fChain(tree), fSelect(0), fSelectedRows(0), fSelectMultiple(
kFALSE)
49 if (selection && selection[0]) {
58 fChain(0), fSelect(0), fSelectedRows(0), fSelectMultiple(
kFALSE)
95 const char *selection = selectObj ? selectObj->
GetTitle() :
"";
97 if (strlen(selection)) {
171 if (!ndata)
return kTRUE;
200 cselection =
new TNamed(
"selection",
"");
228 Error(
"Terminate",
"fSelectedRows is missing in fOutput");
virtual const char * GetOption() const
TObject * FindObject(const char *name) const
Find object using its name.
TSelectorEntries(TTree *tree=0, const char *selection=0)
Default, constructor.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of entry and return total number of bytes read.
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual ~TSelectorEntries()
Destructor.
Named scalar type, based on Long64_t, streamable, storable and mergable.
virtual Bool_t Process(Long64_t entry)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
virtual void Init(TTree *tree)
The Init() function is called when the selector needs to initialize a new tree or chain...
virtual void Begin(TTree *tree)
The Begin() function is called at the start of the query.
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
The TNamed class is the base class for all named ROOT classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
Read entry.
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
TTreeFormula * fSelect
pointer to the analyzed TTree or TChain
virtual void SetStatus(Long64_t status)
virtual void SetSelection(const char *selection)
Set the selection expression.
virtual Bool_t Notify()
This function is called at the first entry of a new tree in a chain.
virtual TTree * GetTree() const
Mother of all ROOT objects.
TList * fInput
Current object if processing object (vs. TTree)
virtual void Add(TObject *obj)
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
A TTree object has a header with a name and a title.
const AParamType & GetVal() const
virtual const char * GetTitle() const
Returns title of object.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.