16#ifndef ROO_MULTI_CATEGORY
17#define ROO_MULTI_CATEGORY
42 void writeToStream(std::ostream& os,
bool compact)
const override;
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
void setShapeDirty()
Notify that a shape-like property (e.g. binning) has changed.
A space to attach TBranches.
int value_type
The type used to denote a specific category state.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooMultiCategory connects several RooAbsCategory objects into a single category.
value_type evaluate() const override
Calculate the current value.
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print the state of this object to the specified output stream.
const char * getCurrentLabel() const override
Get current label.
std::string createLabel() const
Compile a string with all the labels of the serving categories, such as {1Jet;1Lepton;2Tag}.
bool readFromStream(std::istream &, bool, bool) override
Multi categories cannot be read from streams.
TObject * clone(const char *newname) const override
RooSetProxy _catSet
Set of input category.
void writeToStream(std::ostream &os, bool compact) const override
Write object contents to given stream.
void recomputeShape() override
Inspect all the subcategories, and enumerate and name their states.
~RooMultiCategory() override
Destructor.
const RooArgSet & inputCatList() const
Joins several RooAbsCategoryLValue objects into a single category.
Mother of all ROOT objects.