47 _list(
"list",
"First set of components",this)
49 for (
Int_t ifrac=fracList.
size()-1 ; ifrac>=0 ; ifrac--) {
52 std::stringstream errorMsg;
53 errorMsg <<
"RooRecursiveFraction::ctor(" <<
GetName() <<
") ERROR: component " << comp->
GetName()
54 <<
" is not of type RooAbsReal" << std::endl;
55 coutE(InputArguments) << errorMsg.str();
56 throw std::invalid_argument(errorMsg.str());
70 _list(
"list",this,other._list)
84 for (
unsigned int i=1; i <
_list.
size(); ++i) {
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.
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.
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.