48 double nominal, vector<double> low, vector<double> high) :
50 _paramList(
"paramList",
"List of paramficients",this),
51 _nominal(nominal), _low(low), _high(high)
54 for (
auto param : paramList) {
56 coutE(InputArguments) <<
"LinInterpVar::ctor(" <<
GetName() <<
") ERROR: paramficient " << param->
GetName()
57 <<
" is not of type RooAbsReal" << endl ;
69 _paramList(
"paramList",
"List of coefficients",this),
79 _paramList(
"paramList",this,other._paramList),
80 _nominal(other._nominal), _low(other._low), _high(other._high)
96 for(
auto const* param: static_range_cast<RooAbsReal *>(
_paramList)) {
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
LinInterpVar()
Default constructor.
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)