16 #ifndef ROO_SUPER_CATEGORY 17 #define ROO_SUPER_CATEGORY
virtual Bool_t inRange(const char *rangeName) const
Return true of all of the input category states are in the given range.
virtual TObject * clone(const char *newname) const
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
virtual RooCatType evaluate() const
Iterator over set of input categories.
TString currentLabel() const
Return the name of the current state, constructed from the state names of the input categories...
Iterator abstract base class.
#define ClassDef(name, id)
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
TIterator * createIterator(Bool_t dir=kIterForward) const
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state...
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
const RooArgSet & inputCatList() const
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print the state of this object to the specified output stream.
Bool_t setType(const RooCatType *type, Bool_t prinError=kTRUE)
Set the value of the super category by specifying the state object by setting the state names of the ...
virtual ~RooSuperCategory()
Destructor.
virtual Bool_t setIndex(Int_t index, Bool_t printError=kTRUE)
Set the value of the super category by specifying the state index code by setting the states of the c...
static void indent(ostringstream &buf, int indent_level)
virtual Bool_t hasRange(const char *rangeName) const
Return true if any of the input categories has a range named 'rangeName'.
TIterator * MakeIterator() const
Make an iterator over all state permutations of the input categories of this supercategory.
void updateIndexList()
Update the list of possible states of this super category.
Mother of all ROOT objects.
RooSetProxy is the concrete proxy for RooArgSet objects.
RooSuperCategory consolidates several RooAbsCategoryLValue objects into a single category.
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)
Set the value of the super category by specifying the state name by setting the state names of the co...