64 _list(
"list",
"First set of components",this)
66 for (
Int_t ifrac=fracList.
getSize()-1 ; ifrac>=0 ; ifrac--) {
69 std::stringstream errorMsg;
70 errorMsg <<
"RooRecursiveFraction::ctor(" <<
GetName() <<
") ERROR: component " << comp->
GetName()
71 <<
" is not of type RooAbsReal" << endl ;
72 coutE(InputArguments) << errorMsg.str();
73 throw std::invalid_argument(errorMsg.str());
87 _list(
"list",this,other._list)
113 for (
unsigned int i=1; i <
_list.
size(); ++i) {
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
Storage_t::size_type size() const
const RooArgSet * nset() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t 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.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Reimplementation of standard RooArgList::add()
Class RooRecursiveFraction is a RooAbsReal implementation that calculates the plain fraction of sum o...
virtual ~RooRecursiveFraction()
Destructor.
Double_t evaluate() const
Calculate and return value of .
RooRecursiveFraction()
Default constructor.
virtual const char * GetName() const
Returns name of object.