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.
Bool_t Notify() override
This function is called at the first entry of a new tree in a chain.
~TSelectorEntries() override
Destructor.
TTree * fChain
! Pointer to the analyzed TTree or TChain
void Begin(TTree *tree) override
The Begin() function is called at the start of the query.
TSelectorEntries(TTree *tree=nullptr, const char *selection=nullptr)
Default, constructor.
Bool_t fOwnInput
True if we created the input list.
void SlaveTerminate() override
The SlaveTerminate() function is called after all entries or objects have been processed.
TTreeFormula * fSelect
Pointer to selection formula.
virtual void SetSelection(const char *selection)
Set the selection expression.
Bool_t Process(Long64_t entry) override
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
void Init(TTree *tree) override
The Init() function is called when the selector needs to initialize a new tree or chain.
Long64_t fSelectedRows
Number of selected entries.
void SlaveBegin(TTree *tree) override
The SlaveBegin() function is called after the Begin() function.
void Terminate() override
The Terminate() function is the last function to be called during a query.
Int_t GetEntry(Long64_t entry, Int_t getall=0) override
Read entry.
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