12#ifndef ROOT_TSelectorDraw
13#define ROOT_TSelectorDraw
#define ClassDef(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.
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.
virtual Double_t * GetW() const
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...
Bool_t * fVarMultiple
![fDimension] True if fVar[i] has a variable index
virtual Bool_t CompileVariables(const char *varexp="", const char *selection="")
Compile input variables and selection expression.
virtual Double_t * GetV4() const
See TSelectorDraw::GetVal.
TTreeFormula * GetVar3() const
See TSelectorDraw::GetVar.
TSelectorDraw & operator=(const TSelectorDraw &)
virtual Long64_t GetDrawFlag() const
TSelectorDraw()
Default selector constructor.
Double_t * fW
![fSelectedRows]Local buffer for weights
virtual void Terminate()
Called at the end of a loop on a TTree.
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 ~TSelectorDraw()
Selector destructor.
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
virtual Bool_t GetCleanElist() const
virtual void ProcessFill(Long64_t entry)
Called in the entry loop for all entries accepted by Select.
TH1 * fOldHistogram
! Pointer to previously used histogram
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.
TTree * fTree
Pointer to current Tree.
TTreeFormula * GetVar4() const
See TSelectorDraw::GetVar.
virtual Double_t * GetV1() const
See TSelectorDraw::GetVal.
virtual Bool_t Process(Long64_t)
The Process() function is called for each entry in the tree (or possibly keyed object in the case of ...
Int_t fDimension
Dimension of the current expression.
Bool_t fObjEval
True if fVar1 returns an object (or pointer to).
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
Bool_t fSelectMultiple
True if selection has a variable index.
virtual void TakeEstimate()
Estimate limits for 1-D, 2-D or 3-D objects.
Bool_t fCleanElist
True if original Tree elist must be saved.
virtual Int_t GetNfill() const
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
virtual void Begin(TTree *tree)
Called every time a loop on the tree(s) starts.
virtual Bool_t Notify()
This function is called at the first entry of a new tree in a chain.
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.