47 fOwnInput(
kFALSE), fChain(
tree), fSelect(0), fSelectedRows(0), fSelectMultiple(
kFALSE)
49 if (selection && selection[0]) {
58 fOwnInput(
kFALSE), fChain(0), fSelect(0), fSelectedRows(0), fSelectMultiple(
kFALSE)
100 const char *selection = selectObj ? selectObj->
GetTitle() :
"";
102 if (strlen(selection)) {
176 if (!ndata)
return kTRUE;
184 for (
Int_t i=1;i<ndata;i++) {
206 cselection =
new TNamed(
"selection",
"");
234 Error(
"Terminate",
"fSelectedRows is missing in fOutput");
TObject * FindObject(const char *name) const override
Find object using its name.
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
void Add(TObject *obj) override
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual const char * GetTitle() const
Returns title of object.
const AParamType & GetVal() const
Bool_t fSelectMultiple
True if selection has a variable index.
TTree * fChain
! Pointer to the analyzed TTree or TChain
TSelectorEntries(TTree *tree=nullptr, const char *selection=nullptr)
Default, constructor.
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
Read entry.
Bool_t fOwnInput
True if we created the input list.
TTreeFormula * fSelect
Pointer to selection formula.
virtual void Init(TTree *tree)
The Init() function is called when the selector needs to initialize a new tree or chain.
virtual Bool_t Notify()
This function is called at the first entry of a new tree in a chain.
virtual void SetSelection(const char *selection)
Set the selection expression.
virtual ~TSelectorEntries()
Destructor.
virtual void Begin(TTree *tree)
The Begin() function is called at the start of the query.
virtual void Terminate()
The Terminate() function is the last function to be called during a query.
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 ...
Long64_t fSelectedRows
Number of selected entries.
virtual void SlaveBegin(TTree *tree)
The SlaveBegin() function is called after the Begin() function.
virtual void SlaveTerminate()
The SlaveTerminate() function is called after all entries or objects have been processed.
Named scalar type, based on Long64_t, streamable, storable and mergeable.
virtual void SetStatus(Long64_t status)
TList * fInput
List of objects available during processing.
TSelectorList * fOutput
! List of objects created during processing
const char * GetOption() const override
A TTree represents a columnar dataset.
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
Read all branches of entry and return total number of bytes read.
virtual TTree * GetTree() const