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);
23 _models(
"_models", this, other._models),
24 _index(
"_index", this, other._index)
32 int currentIndex =
static_cast<int>(
_index);
46 if (!stripDisconnected)
54 if (!nset || !absReal->
dependsOn(*nset)) {
bool dependsOn(const RooAbsCollection &serverList, const RooAbsArg *ignoreArg=nullptr, bool valueOnly=false) const
Test whether we depend on (ie, are served by) any object in the specified collection.
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
virtual bool isFundamental() const
Is this object a fundamental type that can be added to a dataset? Fundamental-type subclasses overrid...
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.