43 virtual void printName(std::ostream& os)
const ;
44 virtual void printTitle(std::ostream& os)
const ;
46 virtual void printValue(std::ostream& os)
const ;
#define ClassDef(name, id)
static void indent(ostringstream &buf, int indent_level)
Roo1DTable implements a one-dimensional table.
virtual void printValue(std::ostream &os) const
Print the table value, i.e. the contents, in 'inline' format.
Double_t get(const char *label, Bool_t silent=kFALSE) const
Return the table entry named 'label'.
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'.
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default contents to print.
virtual void printTitle(std::ostream &os) const
Print the title of the table.
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 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...
virtual ~Roo1DTable()
Destructor.
Double_t getOverflow() const
Return the number of overflow entries in the table.
virtual void printClassName(std::ostream &os) const
Print the class name of the table.
virtual void printName(std::ostream &os) const
Print the name of the table.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual Bool_t isIdentical(const RooTable &other)
Return true if table is identical in contents to given reference table.
std::vector< Double_t > _count
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
virtual StyleOption defaultPrintStyle(Option_t *opt) const
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
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,...
RooTable is the abstract interface for table objects.