12#ifndef ROOT_TSelectorDraw 
   13#define ROOT_TSelectorDraw 
#define ClassDefOverride(name, id)
 
A list of entries and subentries in a TTree or TChain.
 
TH1 is the base class of all histogram classes in ROOT.
 
Mother of all ROOT objects.
 
A specialized TSelector for TTree::Draw.
 
void ProcessFill(Long64_t entry) override
Called in the entry loop for all entries accepted by Select.
 
TEntryListArray * fTreeElistArray
! Pointer to Tree Event list array
 
virtual void SetEstimate(Long64_t n)
Set number of entries to estimate variable limits.
 
virtual void InitArrays(Int_t newsize)
Initialization of the primitive type arrays if the new size is bigger than the available space.
 
bool Process(Long64_t) override
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
 
virtual Double_t * GetW() const
 
void Terminate() override
Called at the end of a loop on a TTree.
 
Int_t fAction
! Action type
 
Int_t GetMultiplicity() const
 
TTreeFormulaManager * fManager
Pointer to the formula manager.
 
TTreeFormula * GetSelect() const
 
TTreeFormula * GetVar(Int_t i) const
Return the TTreeFormula corresponding to the i-th component of the request formula (where the compone...
 
virtual Double_t * GetV4() const
See TSelectorDraw::GetVal.
 
bool * fVarMultiple
![fDimension] True if fVar[i] has a variable index
 
TTreeFormula * GetVar3() const
See TSelectorDraw::GetVar.
 
TSelectorDraw & operator=(const TSelectorDraw &)
 
virtual Long64_t GetDrawFlag() const
 
~TSelectorDraw() override
Selector destructor.
 
TSelectorDraw()
Default selector constructor.
 
Double_t * fW
![fSelectedRows]Local buffer for weights
 
TH1 * GetOldHistogram() const
 
virtual Long64_t GetSelectedRows() const
 
virtual UInt_t SplitNames(const TString &varexp, std::vector< TString > &names)
Build Index array for names in varexp.
 
Long64_t fCurrentSubEntry
Current subentry when fSelectMultiple is true. Used to fill TEntryListArray.
 
TTreeFormula * fSelect
Pointer to selection formula.
 
TSelectorDraw(const TSelectorDraw &)
 
Long64_t fSelectedRows
Number of selected entries.
 
Int_t fForceRead
Force Read flag.
 
virtual void ClearFormula()
Delete internal buffers.
 
virtual void TakeAction()
Execute action for object obj fNfill times.
 
TObject * GetObject() const
 
virtual Double_t * GetV2() const
See TSelectorDraw::GetVal.
 
Long64_t fOldEstimate
Value of Tree fEstimate when selector is called.
 
Double_t fWeight
Tree weight (see TTree::SetWeight)
 
Int_t fNfill
! Total number of histogram fills
 
TH1 * fOldHistogram
! Pointer to previously used histogram
 
virtual bool CompileVariables(const char *varexp="", const char *selection="")
Compile input variables and selection expression.
 
TTreeFormula * GetVar2() const
See TSelectorDraw::GetVar.
 
virtual Int_t GetAction() const
 
Double_t * fVmax
![fDimension] Maxima of varexp columns
 
TTreeFormula * GetVar1() const
See TSelectorDraw::GetVar.
 
Int_t fMultiplicity
Indicator of the variability of the size of entries.
 
TTreeFormula ** fVar
![fDimension] Array of pointers to variables formula
 
virtual void ProcessFillMultiple(Long64_t entry)
Called in the entry loop for all entries accepted by Select.
 
bool fSelectMultiple
True if selection has a variable index.
 
TTree * fTree
Pointer to current Tree.
 
TTreeFormula * GetVar4() const
See TSelectorDraw::GetVar.
 
virtual Double_t * GetV1() const
See TSelectorDraw::GetVal.
 
Int_t fDimension
Dimension of the current expression.
 
virtual Int_t GetDimension() const
 
TObject * fTreeElist
Pointer to Tree Event list.
 
virtual Double_t * GetVal(Int_t i) const
Return the last values corresponding to the i-th component of the formula being processed (where the ...
 
Int_t * fNbins
![fDimension] Number of bins per dimension
 
virtual Double_t * GetV3() const
See TSelectorDraw::GetVal.
 
Double_t ** fVal
![fSelectedRows][fDimension] Local buffer for the variables
 
Long64_t fDraw
! Last entry loop number when object was drawn
 
virtual void TakeEstimate()
Estimate limits for 1-D, 2-D or 3-D objects.
 
bool Notify() override
This function is called at the first entry of a new tree in a chain.
 
bool fCleanElist
True if original Tree elist must be saved.
 
bool fObjEval
True if fVar1 returns an object (or pointer to).
 
virtual Int_t GetNfill() const
 
virtual bool GetCleanElist() const
 
void Begin(TTree *tree) override
Called every time a loop on the tree(s) starts.
 
virtual void ProcessFillObject(Long64_t entry)
Called in the entry loop for all entries accepted by Select.
 
Double_t * fVmin
![fDimension] Minima of varexp columns
 
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
 
TObject * fObject
! Current object if processing object (vs. TTree)
 
A TTree represents a columnar dataset.