66     _x(
"x", 
"Dependent", 
this, 
x),
 
   67     _coefList(
"coefList", 
"List of coefficients", 
this),
 
   68     _lowestOrder(lowestOrder)
 
   72      coutE(InputArguments) << 
"RooPolynomial::ctor(" << 
GetName()
 
   73                            << 
") WARNING: lowestOrder must be >=0, setting value to 0" << std::endl;
 
 
   84     _x(
"x", 
"Dependent", 
this, 
x),
 
   85     _coefList(
"coefList", 
"List of coefficients", 
this)
 
 
   95     _coefList(
"coefList", 
this, 
other._coefList),
 
   96     _lowestOrder(
other._lowestOrder)
 
 
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
 
Storage_t::size_type size() const
 
bool addTyped(const RooAbsCollection &list, bool silent=false)
Adds elements of a given RooAbsCollection to the container if they match the specified type.
 
Abstract interface for all probability density functions.
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
bool matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
 
RooArgList is a container object that can hold multiple RooAbsArg objects.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
static void fillCoeffValues(std::vector< double > &wksp, RooListProxy const &coefList)
 
static void doEvalImpl(RooAbsArg const *caller, RooFit::EvalContext &, RooAbsReal const &x, RooArgList const &coefs, int lowestOrder)
 
RooPolynomial implements a polynomial p.d.f of the form.
 
double evaluate() const override
do not persist
 
std::vector< double > _wksp
 
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Do the analytical integral according to the code that was returned by getAnalyticalIntegral().
 
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Advertise to RooFit that this function can be analytically integrated.
 
void doEval(RooFit::EvalContext &) const override
Compute multiple values of Polynomial.
 
RooArgList const & coefList() const
Get the coefficient list.
 
double max(const char *rname=nullptr) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
 
const T & arg() const
Return reference to object held in proxy.
 
double min(const char *rname=nullptr) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
 
const char * GetName() const override
Returns name of object.