16#ifndef ROO_THRESHOLD_CATEGORY 
   17#define ROO_THRESHOLD_CATEGORY 
#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 and implements functionality common to al...
 
A real-to-category mapping defined by a series of thresholds.
 
void writeToStream(std::ostream &os, bool compact) const override
Write object contents to given stream.
 
TObject * clone(const char *newname=nullptr) const override
 
const value_type _defIndex
 
bool addThreshold(double upperLimit, const char *catName, Int_t catIdx=-99999)
Insert threshold at value upperLimit.
 
value_type evaluate() const override
Calculate and return the value of the mapping function.
 
void recomputeShape() override
No shape recomputation is necessary. This category does not depend on other categories.
 
std::vector< std::pair< double, value_type > > _threshList
 
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print info about this threshold category to the specified stream.
 
Mother of all ROOT objects.