46 _list(
"list",
"First set of components",
this)
52 errorMsg <<
"RooRecursiveFraction::ctor(" <<
GetName() <<
") ERROR: component " <<
comp->GetName()
53 <<
" is not of type RooAbsReal" << std::endl;
55 throw std::invalid_argument(
errorMsg.str());
83 for (
unsigned int i=1; i <
_list.
size(); ++i) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Storage_t::size_type size() const
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.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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...
A RooAbsReal implementation that calculates the plain fraction of sum of RooAddPdf components from a ...
double evaluate() const override
Calculate and return value of .
RooRecursiveFraction()=default
const char * GetName() const override
Returns name of object.