45 virtual void printName(std::ostream& os)
const ;
46 virtual void printTitle(std::ostream& os)
const ;
48 virtual void printValue(std::ostream& os)
const ;
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print the formatted table contents on the given stream.
virtual void printValue(std::ostream &os) const
Print the table value, i.e. the contents, in 'inline' format.
#define ClassDef(name, id)
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default contents to print.
virtual void printClassName(std::ostream &os) const
Print the class name of the table.
std::vector< Double_t > _count
static void indent(ostringstream &buf, int indent_level)
virtual ~Roo1DTable()
Destructor.
Double_t getOverflow() const
Return the number of overflow entries in the table.
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual Bool_t isIdentical(const RooTable &other)
Return true if table is identical in contents to given reference table.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void printName(std::ostream &os) const
Print the name of the table.
virtual void printTitle(std::ostream &os) const
Print the title of the table.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooTable is the abstract interface for table objects.
Double_t getFrac(const char *label, Bool_t silent=kFALSE) const
Return the fraction of entries in the table contained in the slot named 'label'.
Roo1DTable implements a one-dimensional table.
virtual void fill(RooAbsCategory &cat, Double_t weight=1.0)
Increment the counter of the table slot with the name corresponding to that of the current category s...