52 if (&other==
this)
return *this ;
76 return !strcmp(
_label,label) ;
88 virtual void printName(std::ostream& os)
const ;
89 virtual void printTitle(std::ostream& os)
const ;
91 virtual void printValue(std::ostream& os)
const ;
#define ClassDef(name, id)
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state.
RooCatType(const RooCatType &other)
Bool_t operator==(const char *label)
Bool_t operator==(const RooCatType &other)
RooCatType(const char *name, Int_t value)
virtual void printTitle(std::ostream &os) const
Print the title of the state.
void assignFast(const RooCatType &other)
virtual const Text_t * GetName() const
Returns name of object.
void setVal(Int_t newValue)
virtual void SetName(const Text_t *name)
Constructor with name argument.
virtual void printClassName(std::ostream &os) const
Print the class name of the state.
virtual TObject * Clone(const char *) const
Make a clone of an object using the Streamer facility.
virtual void printName(std::ostream &os) const
Print the name of the state.
virtual void printValue(std::ostream &os) const
Print the value (index integer) of the state.
Bool_t operator==(Int_t index)
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
RooCatType & operator=(const RooCatType &other)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
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,...
Mother of all ROOT objects.