53     fNEntries(
nentries), fFirstEntry(firstentry), fManager(0), fSelect(0), fSelector(0), fInput(0),
 
   54     fForceDim(
kFALSE), fEntries(0), fNRows(0), fNColumns(0)
 
   57      Error(
"TTreeTableInterface", 
"No tree supplied");
 
   73      Info(
"TTreeTableInterface", 
"nentries was 0, setting to maximum number" 
   74           " available in the tree");
 
   82      Warning (
"TTreeTableInterface::TTreeTableInterface", 
"nrows = 0");
 
   85      Warning (
"TTreeTableInterface::TTreeTableInterface", 
"ncolumns = 0");
 
  113      if (!strcmp(varexp, 
"*")) { allvar = 
kTRUE; }
 
  123         Error(
"TTreeTableInterface", 
"No leaves in Tree");
 
  133      std::vector<TString> cnames;
 
  154   if (selection && strlen(selection)) {
 
  219   while (entriesToDisplay != 0){
 
  223      if (localEntry < 0) 
break;
 
  250      for (
Int_t inst = 0; inst < ndata; inst++){
 
  259         entrylist->
Enter(entry);
 
  278      if (row == prow + 1) {
 
  286      Error(
"TTreeTableInterface", 
"Row requested does not exist");
 
  294         Warning(
"TTreeTableInterface::GetValue", 
"Value requested is a " 
  295                 "string, returning 0.");
 
  299      Error(
"TTreeTableInterface", 
"Column requested does not exist");
 
  314      if (row == prow + 1) {
 
  322      Error(
"TTreeTableInterface", 
"Row requested does not exist");
 
  333      Error(
"TTreeTableInterface", 
"Column requested does not exist");
 
  346      Error(
"TTreeTableInterface", 
"Row requested does not exist");
 
  360      Error(
"TTreeTableInterface", 
"Column requested does not exist");
 
  391      Error(
"TTreeTableInterface::AddColumn", 
"Only 1 expression allowed.");
 
  413      Error(
"TTreeTableInterface::AddColumn", 
"Please specify a " 
  432      Error(
"TTreeTableInterface::RemoveColumn", 
"Please specify a " 
  436      Error(
"TTreeTableInterface::RemoveColumn", 
"Can't remove last column");
 
  446   if (formula) 
delete formula;
 
  456      Error(
"TTreeTableInterface::SetFormula", 
"Please specify a " 
  464   if (form) 
delete form;
 
void Info(const char *location, const char *msgfmt,...)
void Error(const char *location, const char *msgfmt,...)
void Warning(const char *location, const char *msgfmt,...)
char * Form(const char *fmt,...)
A List of entry numbers in a TTree or TChain.
virtual Long64_t Next()
Return the next non-zero entry index (next after fLastIndexQueried) this function is faster than GetE...
virtual Bool_t Enter(Long64_t entry, TTree *tree=0)
Add entry #entry to the list.
virtual Long64_t GetEntry(Int_t index)
Return the number of the entry #index of this TEntryList in the TTree or TChain See also Next().
virtual Long64_t GetN() const
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
virtual void Add(TObject *obj)
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual void AddAt(TObject *obj, Int_t idx)
Insert object at position idx in the list.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Int_t GetEntries() const
Return the number of objects in array (i.e.
TObject * At(Int_t idx) const
A specialized TSelector for TTree::Draw.
virtual UInt_t SplitNames(const TString &varexp, std::vector< TString > &names)
Build Index array for names in varexp.
virtual void SetInputList(TList *input)
virtual TObject * RemoveAt(Int_t idx)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TTreeTableInterface is used to interface to data that is stored in a TTree.
virtual Double_t GetValue(UInt_t row, UInt_t column)
Return the value of row,column.
virtual ~TTreeTableInterface()
TTreeTableInterface destructor.
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 SetFormula(TTreeFormula *formula, UInt_t position)
Set the TTreeFormula of position to formula.
void SyncFormulas()
Sync the formulas using the TTreeFormulaManager.
virtual void RemoveColumn(UInt_t position)
Remove column at position, TGTable->Update() is needed afterwards to apply the change to the TGTable.
virtual const char * GetColumnHeader(UInt_t column)
Return a string to use as a label for columnheader at column.
virtual UInt_t GetNRows()
Return the amount of rows in the Tree.
TTreeFormulaManager * fManager
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.
void InitEntries()
Initialise the TEntryList with the entries that match the selection criterium.
virtual void SetEntryList(TEntryList *entrylist=0)
Set the currently active entrylist.
virtual void SetSelection(const char *selection)
Set the selection expression.
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...
void SetVariablesExpression(const char *varexp)
Compile the variables expression from the given varexp.
virtual const char * GetRowHeader(UInt_t row)
Return a string to use as a label for rowheader at column.
virtual UInt_t GetNColumns()
Return the amount of column available.
TSelectorDraw * fSelector
A TTree represents a columnar dataset.
virtual TObjArray * GetListOfLeaves()
virtual Long64_t GetEntries() const
virtual void SetEntryList(TEntryList *list, Option_t *opt="")
Set an EntryList.
virtual Long64_t LoadTree(Long64_t entry)
Set current entry.
virtual Int_t GetTreeNumber() const