49 if (selection && selection[0]) {
100 const char *selection = selectObj ? selectObj->
GetTitle() :
"";
102 if (strlen(selection)) {
117 return fChain ?
fChain->GetTree()->GetEntry(entry, getall) : 0;
165 if (
fSelect->EvalInstance(0) ) {
176 if (!ndata)
return true;
181 if (
fSelect->EvalInstance(0)) {
206 cselection =
new TNamed(
"selection",
"");
234 Error(
"Terminate",
"fSelectedRows is missing in fOutput");
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual const char * GetTitle() const
Returns title of object.
TObject()
TObject constructor.
const AParamType & GetVal() const
bool 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.
void SlaveTerminate() override
The SlaveTerminate() function is called after all entries or objects have been processed.
TTreeFormula * fSelect
Pointer to selection formula.
bool fOwnInput
True if we created the input list.
virtual void SetSelection(const char *selection)
Set the selection expression.
bool fSelectMultiple
True if selection has a variable index.
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.
bool Process(Long64_t entry) override
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
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.