16#ifndef ROO_BINNING_CATEGORY
17#define ROO_BINNING_CATEGORY
36 void initialize(
const char* catTypeName=
nullptr) ;
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
A space to attach TBranches.
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
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.
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
RooBinningCategory()=default
Mother of all ROOT objects.