16#ifndef ROO_BINNING_CATEGORY
17#define ROO_BINNING_CATEGORY
38 void initialize(
const char* catTypeName=
nullptr) ;
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
A space to attach TBranches.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
Class RooBinningCategory provides a real-to-category mapping defined by a series of thresholds.
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Printing interface (human readable)
value_type evaluate() const override
Calculate and return the value of the mapping function.
~RooBinningCategory() override
Destructor.
TString _bname
Name of the binning specification to be used to perform the mapping.
RooTemplateProxy< RooAbsRealLValue > _inputVar
Input variable that is mapped.
void initialize(const char *catTypeName=nullptr)
Iterator over all bins in input variable and define corresponding state labels.
void recomputeShape() override
The shape of this category does not need to be recomputed, as it creates states on the fly.
TObject * clone(const char *newname) const override
Mother of all ROOT objects.