12#ifndef ROOT_TVirtualTreePlayer
13#define ROOT_TVirtualTreePlayer
49 virtual TVirtualIndex *
BuildIndex(
const TTree *T,
const char *majorname,
const char *minorname,
bool long64major =
false,
bool long64minor =
false) = 0;
53 const char *macrofilename,
const char *cutfilename,
81 const char *macrofilename =
nullptr,
const char *cutfilename =
nullptr,
82 const char *option =
nullptr,
Int_t maxUnrolling = 3) = 0;
101 static void SetPlayer(
const char *player);
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
long long Long64_t
Portable signed long integer 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
TClass instances represent classes, structs and namespaces in the ROOT type system.
TH1 is the base class of all histogram classes in ROOT.
TObject()
TObject constructor.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
A TTree represents a columnar dataset.
Abstract interface for Tree Index.
virtual TTreeFormula * GetVar1() const =0
virtual Double_t * GetV4() const =0
static TVirtualTreePlayer * GetCurrentPlayer()
Static function: return the current player (if any).
virtual Double_t * GetW() const =0
virtual TTreeFormula * GetVar4() const =0
virtual TTreeFormula * GetVar(Int_t) const =0
virtual Long64_t Scan(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)=0
virtual Double_t * GetVal(Int_t) const =0
virtual TTreeFormula * GetVar2() const =0
virtual TSelector * GetSelector() const =0
virtual TVirtualIndex * BuildIndex(const TTree *T, const char *majorname, const char *minorname, bool long64major=false, bool long64minor=false)=0
virtual TSelector * GetSelectorFromFile() const =0
virtual void UpdateFormulaLeaves()=0
virtual Long64_t DrawSelect(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)=0
virtual Int_t MakeCode(const char *filename)=0
virtual Int_t UnbinnedFit(const char *formula, const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)=0
virtual Int_t GetDimension() const =0
virtual Double_t * GetV1() const =0
static constexpr Long64_t kMaxEntries
virtual TTreeFormula * GetVar3() const =0
static void SetPlayer(const char *player)
Static function to set an alternative Tree player.
virtual Long64_t GetEntries(const char *)=0
virtual Int_t MakeProxy(const char *classname, const char *macrofilename=nullptr, const char *cutfilename=nullptr, const char *option=nullptr, Int_t maxUnrolling=3)=0
virtual Long64_t Process(TSelector *selector, Option_t *option="", Long64_t nentries=kMaxEntries, Long64_t firstentry=0)=0
virtual TSQLResult * Query(const char *varexp, const char *selection, Option_t *option, Long64_t nentries, Long64_t firstentry)=0
virtual TPrincipal * Principal(const char *varexp="", const char *selection="", Option_t *option="np", Long64_t nentries=kMaxEntries, Long64_t firstentry=0)=0
virtual Double_t * GetV2() const =0
virtual void StartViewer(Int_t ww, Int_t wh)=0
virtual Int_t MakeReader(const char *classname, Option_t *option)=0
static TClass * fgPlayer
Pointer to class of Tree player.
virtual Long64_t DrawScript(const char *wrapperPrefix, const char *macrofilename, const char *cutfilename, Option_t *option, Long64_t nentries, Long64_t firstentry)=0
virtual TTree * CopyTree(const char *selection, Option_t *option="", Long64_t nentries=kMaxEntries, Long64_t firstentry=0)=0
virtual Long64_t Process(const char *filename, Option_t *option="", Long64_t nentries=kMaxEntries, Long64_t firstentry=0)=0
virtual Int_t GetNfill() const =0
static TVirtualTreePlayer * fgCurrent
Pointer to current Tree player.
virtual TTreeFormula * GetSelect() const =0
virtual void SetEstimate(Long64_t n)=0
static TVirtualTreePlayer * TreePlayer(TTree *obj)
Static function returning a pointer to a Tree player.
~TVirtualTreePlayer() override
Common destructor.
virtual TH1 * GetHistogram() const =0
virtual void SetTree(TTree *t)=0
virtual Long64_t GetSelectedRows() const =0
virtual Int_t MakeClass(const char *classname, const char *option)=0
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)=0
virtual Double_t * GetV3() const =0