47 _list(
"list",
"First set of components",this)
49 for (
Int_t ifrac=fracList.
size()-1 ; ifrac>=0 ; ifrac--) {
50 RooAbsArg* comp = fracList.at(ifrac) ;
51 if (!dynamic_cast<RooAbsReal*>(comp)) {
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());
A class to maintain the context for squashing of RooFit models into code.
std::string buildCall(std::string const &funcname, Args_t const &...args)
Build the code to call the function with name funcname, passing some arguments.
void addResult(RooAbsArg const *key, std::string const &value)
A function to save an expression that includes/depends on the result of the input node.