11 #ifndef ROOT_TTreeTableInterface 12 #define ROOT_TTreeTableInterface 14 #ifndef ROOT_TVirtualTableInterface 52 const char *selection = 0,
Option_t *option = 0,
virtual void RemoveColumn(UInt_t position)
Remove column at position, TGTable->Update() is needed afterwards to apply the change to the TGTable...
virtual TEntryList * GetEntryList()
virtual void SetFormula(TTreeFormula *formula, UInt_t position)
Set the TTreeFormula of position to formula.
virtual UInt_t GetNRows()
Return the amount of rows in the Tree.
virtual const char * GetValueAsString(UInt_t row, UInt_t column)
Return the content of row,column as string to use in a TGTableCell label.
virtual void AddColumn(const char *expression, UInt_t position)
Add column according ot expression at position, TGTable->Update() is needed afterwards to apply the c...
virtual const char * GetColumnHeader(UInt_t column)
Return a string to use as a label for columnheader at column.
#define ClassDef(name, id)
void SetVariablesExpression(const char *varexp)
Compile the variables expression from the given varexp.
TTreeFormulaManager * fManager
TSelectorDraw * fSelector
A specialized TSelector for TTree::Draw.
virtual ~TTreeTableInterface()
TTreeTableInterface destructor.
void SyncFormulas()
Sync the formulas using the TTreeFormulaManager.
TTreeTableInterface(TTree *tree=0, const char *varexp=0, const char *selection=0, Option_t *option=0, Long64_t nentries=0, Long64_t firstentry=0)
TTreeTableInterface constructor.
virtual const char * GetRowHeader(UInt_t row)
Return a string to use as a label for rowheader at column.
virtual Double_t GetValue(UInt_t row, UInt_t column)
Return the value of row,column.
void InitEntries()
Initialise the TEntryList with the entries that match the selection criterium.
TTreeTableInterface is used to interface to data that is stored in a TTree.
A TTree object has a header with a name and a title.
virtual UInt_t GetNColumns()
Return the amount of column available.
virtual void SetEntryList(TEntryList *entrylist=0)
Set the currently active entrylist.
A List of entry numbers in a TTree or TChain.
virtual void SetSelection(const char *selection)
Set the selection expression.