53 if (&other==
this)
return *this ;
77 return label && !strcmp(
_label,label) ;
89 void printName(std::ostream& os)
const override ;
90 void printTitle(std::ostream& os)
const override ;
92 void printValue(std::ostream& os)
const override ;
107}
R__SUGGEST_ALTERNATIVE(
"Instead of RooCatType, directly use the category number returned by RooAbsCategory::getIndex().\n"
108 "Convert it into a name using RooAbsCategory::lookupName(index).");
#define R__SUGGEST_ALTERNATIVE(ALTERNATIVE)
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
A space to attach TBranches.
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state.
RooCatType(const RooCatType &other)
bool operator==(Int_t index) const
void printName(std::ostream &os) const override
Print the name of the state.
void printValue(std::ostream &os) const override
Print the value (index integer) of the state.
RooCatType(const char *name, Int_t value)
void printClassName(std::ostream &os) const override
Print the class name of the state.
char _label[256]
State name.
bool operator==(const RooCatType &other) const
void Print(Option_t *options=nullptr) const override
This method must be overridden when a class wants to print itself.
void assignFast(const RooCatType &other)
void setVal(Int_t newValue)
void SetName(const Text_t *name)
Constructor with name argument.
TObject * Clone(const char *) const override
Make a clone of an object using the Streamer facility.
void printTitle(std::ostream &os) const override
Print the title of the state.
bool operator==(const char *label) const
const Text_t * GetName() const override
Returns name of object.
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=nullptr)
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.