46 mutable std::vector<double>
_wksp;
#define ClassDefOverride(name, id)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
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.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
A RooAbsReal implementing a polynomial in terms of a list of RooAbsReal coefficients.
static void fillCoeffValues(std::vector< double > &wksp, RooListProxy const &coefList)
bool canComputeBatchWithCuda() const override
void doEval(RooFit::EvalContext &) const override
Compute multiple values of Polynomial.
double evaluate() const override
Calculate and return value of polynomial.
RooRealProxy const & x() const
TObject * clone(const char *newname) const override
RooArgList const & coefList() const
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Advertise that we can internally integrate over x.
std::vector< double > _wksp
! do not persist
static void doEvalImpl(RooAbsArg const *caller, RooFit::EvalContext &, RooAbsReal const &x, RooArgList const &coefs, int lowestOrder)
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Calculate and return analytical integral over x.
RooPolynomial implements a polynomial p.d.f of the form.
Mother of all ROOT objects.