7 _models(
"_models",
"List of RooAbsReal models", this),
8 _index(
"_index",
"Index category", this, indexCat)
15 for (
int i = 0; i <
_models.getSize(); ++i) {
16 cat.
defineType((
"model" + std::to_string(i)).c_str(), i);
32 int currentIndex =
static_cast<int>(
_index);
33 if (currentIndex < 0 || currentIndex >=
_models.getSize()) {
46 if (!stripDisconnected)
54 if (!nset || !absReal->
dependsOn(*nset)) {
double Double_t
Double 8 bytes.
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?
A space to attach TBranches.
RooAbsReal()
coverity[UNINIT_CTOR] Default constructor
RooArgList is a container object that can hold multiple RooAbsArg objects.
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.
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.