11#ifndef RooFit_RooPowerSum_h
12#define RooFit_RooPowerSum_h
47 mutable std::vector<double>
_wksp;
#define ClassDefOverride(name, id)
Abstract interface for all probability density functions.
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.
RooPowerSum implements a power law PDF of the form.
RooAbsReal const & base() const
Get the base of the exponentiated terms (aka. x variable).
RooArgList const & coefList() const
Get the list of coefficients.
double evaluate() const override
Evaluation.
int getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Advertise to RooFit that this function can be analytically integrated.
bool canComputeBatchWithCuda() const override
TObject * clone(const char *newname) const override
double analyticalIntegral(int code, const char *rangeName=nullptr) const override
Do the analytical integral according to the code that was returned by getAnalyticalIntegral().
void doEval(RooFit::EvalContext &) const override
do not persist
std::vector< double > _wksp
RooArgList const & expList() const
Get the list of exponents.
std::string getFormulaExpression(bool expand) const
Mother of all ROOT objects.