7 _models(
"_models",
"List of RooAbsReal models",
this),
8 _index(
"_index",
"Index category",
this, indexCat)
16 cat.
defineType((
"model" + std::to_string(i)).c_str(), i);
54 if (!nset || !
absReal->dependsOn(*nset)) {
A space to attach TBranches.
Int_t getSize() const
Return the number of elements in the collection.
const RooArgSet * nset() const
Abstract base class for objects that represent a real value and implements functionality common to al...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Object to represent discrete states.
bool defineType(const std::string &label)
Define a state with given name.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
void getParametersHook(const RooArgSet *nset, RooArgSet *list, bool stripDisconnected) const override
Double_t evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
const T & arg() const
Return reference to object held in proxy.