28using std::vector, std::endl;
40 _paramList(
"paramList",
"List of paramficients",
this),
41 _nominal(nominal), _low(low), _high(high)
44 for (
auto param : paramList) {
46 coutE(InputArguments) <<
"LinInterpVar::ctor(" <<
GetName() <<
") ERROR: paramficient " << param->GetName()
47 <<
" is not of type RooAbsReal" << std::endl ;
59 _paramList(
"paramList",
"List of coefficients",
this),
69 _paramList(
"paramList",
this,
other._paramList),
87 if (param->getVal() > 0) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgList 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...
RooAbsReal that does piecewise-linear interpolations.
std::vector< double > _low
std::vector< double > _high
double evaluate() const override
Calculate and return value of polynomial.
const char * GetName() const override
Returns name of object.
Namespace for the RooStats classes.
static uint64_t sum(uint64_t i)