36 TChair() : fTable(0), fLastIndx(0), fLastRow(0) { ; }
40 TChair(
TTable *table) : fTable(table),fLastIndx(0),fLastRow(0) { ; }
68 virtual void Fit(
const char *formula ,
const char *varexp,
const char *selection=
"",
Option_t *option=
"",
Option_t *goption=
"",
81 const Char_t *colfirst=
"",
const Char_t *collast=
"")
const {
virtual Long_t GetNRows() const
virtual void Reset(Int_t c=0)
void * ReAllocate(Int_t newsize)
Reallocate this table leaving only <newsize> allocated GetTableSize() = newsize; returns a pointer to...
virtual void Fit(const char *formula, const char *varexp, const char *selection="", Option_t *option="", Option_t *goption="", Int_t nentries=1000000000, Int_t firstentry=0)
virtual const Char_t * Print(Int_t row, Int_t rownumber=10, const Char_t *colfirst="", const Char_t *collast="") const
virtual TH1 * Draw(TCut varexp, TCut selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0)
virtual Long_t HasData() const
virtual void ls(Option_t *option="") const
// ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print al...
virtual void Print(Option_t *opt="") const
Print TNamed name and title.
virtual void ls(Option_t *option="") const
// ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print al...
virtual Bool_t IsFolder() const
return Folder flag to be used by TBrowse object The table is a folder if
virtual TClass * GetRowClass() const
to be documented
virtual const Char_t * PrintHeader() const
Print general table inforamtion.
virtual void AddAt(TDataSet *dataset, Int_t idx)
Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defi...
virtual TTableDescriptor * GetRowDescriptors() const
const TTable * GetThisTable() const
virtual const Char_t * GetType() const
Returns the type of the wrapped C-structure kept as the TNamed title.
virtual TH1 * Draw(const char *varexp, const char *selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0)
virtual void Browse(TBrowser *b)
Wrap each table coulumn with TColumnView object to browse.
virtual Char_t * Print(Char_t *buf, Int_t n) const
Create IDL table defintion (to be used for XDF I/O)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
#define ClassDef(name, id)
void * operator[](Int_t i)
virtual void SetNRows(Int_t n)
virtual Long_t GetTableSize() const
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
void * ReAllocate(Int_t newsize)
virtual void Set(Int_t n, Char_t *array)
virtual void Set(Int_t n)
Set array size of TTable object to n longs. If n<0 leave array unchanged.
Int_t CopyRows(const TTable *srcTable, Long_t srcRow=0, Long_t dstRow=0, Long_t nRows=0, Bool_t expand=kFALSE)
CopyRows copies nRows from starting from the srcRow of srcTable to the dstRow in this table upto nRow...
A specialized string object used for TTree selections.
virtual void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
const void * At(Int_t i) const
Returns a pointer to the i-th row of the table.
const TTable * Table() const
Using a TBrowser one can browse all ROOT objects.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
virtual TTableDescriptor * GetRowDescriptors() const
to be documented
virtual Long_t HasData() const
virtual Int_t Purge(Option_t *opt="")
Purge - deletes all "dummy" "Structural Members" those are not ended up with some dataset with data i...
virtual Int_t AddAt(const void *c)
Add the "row" at the GetNRows() position, and reallocate the table if neccesary, and return the row i...
virtual Long_t GetRowSize() const
virtual void Fit(const char *formula, const char *varexp, const char *selection="", Option_t *option="", Option_t *goption="", Int_t nentries=1000000000, Int_t firstentry=0)
-*-*-*-*-*-*-*-*Fit a projected item(s) from a TTable-*-*-*-*-*-*-*-*-* *-* =========================...
virtual Char_t * GetArray() const
virtual void Set(Int_t n)
virtual void ls(Int_t deep) const
// ls(Int_t depth) // // Prints the list of the this TDataSet.
virtual void Update()
to be documented
static void * GetOffset(const void *base, ULong_t offset)
Int_t NaN()
return the total number of the NaN for float/double cells of this table Thanks Victor Perevoztchikov ...
The ROOT global object gROOT contains a list of all defined classes.
virtual void AddAt(const void *c, Int_t i)
TChair(const TChair &org)
virtual void Adopt(Int_t n, void *array)
const void * At(Int_t i) const
virtual void AddAt(TDataSet *dataset, Int_t idx=0)
Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defi...
virtual const Char_t * PrintHeader() const
virtual void CopySet(TChair &chair)
virtual void Update()
Update()
Int_t CopyRows(const TChair *srcChair, Int_t srcRow=0, Int_t dstRow=0, Int_t nRows=0, Bool_t expand=kFALSE)
virtual void Update(TDataSet *set, UInt_t opt=0)
Update this TDataSet with "set".
virtual Long_t GetTableSize() const
Returns the number of the allocated rows.
#define org(otri, vertexptr)
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
virtual Char_t * MakeExpression(const Char_t *expressions[], Int_t nExpressions)
Create CINT macro to evaluate the user-provided expresssion Expression may contains: ...
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
virtual Long_t GetNRows() const
Returns the number of the used rows for the wrapped table.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual Long_t GetRowSize() const
Returns the size (in bytes) of one table row.
virtual void SetNRows(Int_t n)
virtual Char_t * MakeExpression(const Char_t *expressions[], Int_t nExpressions)
virtual const Char_t * GetType() const
virtual TClass * GetRowClass() const
virtual Char_t * Print(Char_t *buf, Int_t n) const
virtual void Adopt(Int_t n, void *array)
Adopt array arr into TTable, i.e.
virtual void CopySet(TTable &array)
to be documented
virtual void Reset(Int_t c=0)
Fill the entire table with byte "c" ; / c=0 "be default".
virtual Int_t Purge(Option_t *opt="")
Shrink the table to free the unused but still allocated rows.