59 _list(
"list",
"First set of components",this)
61 for (
Int_t ifrac=fracList.
getSize()-1 ; ifrac>=0 ; ifrac--) {
64 std::stringstream errorMsg;
65 errorMsg <<
"RooRecursiveFraction::ctor(" <<
GetName() <<
") ERROR: component " << comp->
GetName()
66 <<
" is not of type RooAbsReal" << endl ;
67 coutE(InputArguments) << errorMsg.str();
68 throw std::invalid_argument(errorMsg.str());
82 _list(
"list",this,other._list)
108 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...
Int_t getSize() const
Return the number of elements in the collection.
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 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...
Class RooRecursiveFraction is a RooAbsReal implementation that calculates the plain fraction of sum o...
~RooRecursiveFraction() override
Destructor.
double evaluate() const override
Calculate and return value of .
RooRecursiveFraction()
Default constructor.
const char * GetName() const override
Returns name of object.