12 #ifndef ROOT_TTreePlayer
13 #define ROOT_TTreePlayer
33 #ifndef ROOT_TSelectorDraw
36 #ifndef ROOT_TVirtualTreePlayer
76 const char *macrofilename,
const char *cutfilename,
80 virtual Int_t Fit(
const char *formula ,
const char *varexp,
const char *selection,
Option_t *option ,
116 const char *macrofilename = 0,
const char *cutfilename = 0,
117 const char *option = 0,
Int_t maxUnrolling = 3);
const char * GetScanFileName() const
void DeleteSelectorFromFile()
Delete any selector created by this object.
virtual Int_t GetNfill() const
Principal Components Analysis (PCA)
void SetScanFileName(const char *name)
virtual Double_t * GetV4() const
TTreeFormula * GetSelect() const
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 ...
virtual Long64_t GetEntriesToProcess(Long64_t firstentry, Long64_t nentries) const
return the number of entries to be processed this function checks that nentries is not bigger than th...
Abstract interface for Tree Index.
virtual Double_t * GetV4() const
virtual Double_t * GetV2() const
virtual Double_t * GetV3() const
TSelectorDraw * fSelector
Pointer to histogram used for the projection.
const char * GetNameByIndex(TString &varexp, Int_t *index, Int_t colindex)
Set to the selector address when it's entry list needs to be updated by the UpdateFormulaLeaves funct...
virtual Double_t * GetW() const
TTreeFormula * GetVar2() const
virtual Long64_t GetSelectedRows() const
TTreeFormula * GetVar(Int_t i) const
Return the TTreeFormula corresponding to the i-th component of the request formula (where the compone...
TTreeFormula * GetVar2() const
virtual Double_t * GetV3() const
static const char * filename()
TTreeFormula * GetVar1() const
virtual Long64_t Scan(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
Loop on Tree and print entries passing selection.
TH1 * GetHistogram() const
virtual void SetTree(TTree *t)
TPrincipal * Principal(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
Interface to the Principal Components Analysis class.
virtual Long64_t DrawSelect(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
Draw expression varexp for specified entries that matches the selection.
virtual Double_t * GetV1() const
virtual Long64_t DrawScript(const char *wrapperPrefix, const char *macrofilename, const char *cutfilename, Option_t *option, Long64_t nentries, Long64_t firstentry)
Draw the result of a C++ script.
virtual TTree * CopyTree(const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
Copy a Tree with selection, make a clone of this Tree header, then copy the selected entries...
void SetScanRedirect(Bool_t on=kFALSE)
virtual Double_t * GetV2() const
virtual Long64_t Process(const char *filename, Option_t *option, Long64_t nentries, Long64_t firstentry)
Process this tree executing the TSelector code in the specified filename.
TTreeFormula * GetVar3() const
TSelector * fSelectorFromFile
Pointer to current selector.
virtual Double_t * GetW() const
void TakeEstimate(Int_t nfill, Int_t &npoints, Int_t action, TObject *obj, Option_t *option)
virtual ~TTreePlayer()
Tree destructor.
virtual void StartViewer(Int_t ww, Int_t wh)
Start the TTreeViewer on this TTree.
virtual Int_t GetNfill() const
TSelector * GetSelector() const
virtual Int_t GetDimension() const
virtual void SetEstimate(Long64_t n)
Set number of entries to estimate variable limits.
virtual Int_t MakeReader(const char *classname, Option_t *option)
Generate skeleton selector class for this tree.
TClass * fSelectorClass
Pointer to a user defined selector created by this TTreePlayer object.
const char * fScanFileName
virtual Int_t MakeProxy(const char *classname, const char *macrofilename=0, const char *cutfilename=0, const char *option=0, Int_t maxUnrolling=3)
Generate a skeleton analysis class for this Tree using TBranchProxy.
TList * fInput
Pointer to the actual class of the TSelectorFromFile.
virtual void UpdateFormulaLeaves()
virtual Int_t UnbinnedFit(const char *formula, const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
TTreeFormula * GetVar4() const
TTreePlayer & operator=(const TTreePlayer &)
The ROOT global object gROOT contains a list of all defined classes.
virtual Int_t MakeCode(const char *filename)
Generate skeleton function for this Tree.
TTreeFormula * GetVar(Int_t i) const
A specialized TSelector for TTree::Draw.
TSelector * fSelectorUpdate
Pointer to a list of coordinated list TTreeFormula (used by Scan and Query)
Bool_t fScanRedirect
Pointer to current Tree.
TTreeFormula * GetVar4() const
virtual void RecursiveRemove(TObject *obj)
cleanup pointers in the player pointing to obj
Mother of all ROOT objects.
virtual Long64_t GetEntries(const char *selection)
Return the number of entries matching the selection.
Abstract base class defining the interface for the plugins that implement Draw, Scan, Process, MakeProxy, etc.
void TakeAction(Int_t nfill, Int_t &npoints, Int_t &action, TObject *obj, Option_t *option)
TTreeFormula * GetVar3() const
virtual TVirtualIndex * BuildIndex(const TTree *T, const char *majorname, const char *minorname)
Build the index for the tree (see TTree::BuildIndex)
virtual Double_t * GetVal(Int_t i) const
A TTree object has a header with a name and a title.
TList * fFormulaList
input list to the selector
TTreeFormula * GetSelect() const
Implement some of the functionality of the class TTree requiring access to extra libraries (Histogram...
virtual Double_t * GetV1() const
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
virtual Int_t Fit(const char *formula, const char *varexp, const char *selection, Option_t *option, Option_t *goption, Long64_t nentries, Long64_t firstentry)
Fit a projected item(s) from a Tree.
virtual Int_t MakeClass(const char *classname, Option_t *option)
Generate skeleton analysis class for this Tree.
TSelector * GetSelectorFromFile() const
TTreeFormula * GetVar1() const
virtual TSQLResult * Query(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)
Loop on Tree and return TSQLResult object containing entries passing selection.