47 _x(
"x",
"Dependent", this,
x),
48 _coefList(
"coefList",
"List of coefficients",this)
57 _x(
"x", this, other.
_x),
85 std::vector<double> coeffs;
87 coeffs.push_back(
static_cast<const RooAbsReal &
>(*it).getVal());
96 std::vector<double> extraArgs;
125 std::vector<double> coeffs;
127 coeffs.push_back(
static_cast<const RooAbsReal &
>(*it).getVal());
int Int_t
Signed integer 4 bytes (int).
RooAbsPdf()
Default constructor.
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
bool matchArgs(const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a, const Proxies &... proxies) const
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
void doEval(RooFit::EvalContext &) const override
Compute multiple values of Chebychev.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
RooAbsReal const & x() const
RooArgList const & coefList() const
void selectNormalizationRange(const char *rangeName=nullptr, bool force=false) override
Interface function to force use of a given normalization range to interpret function value.
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
std::span< double > output()
RooBatchCompute::Config config(RooAbsArg const *arg) const
const TNamed * constPtr(const char *stringPtr)
Return a unique TNamed pointer for given C++ string.
static RooNameReg & instance()
Return reference to singleton instance.
The TNamed class is the base class for all named ROOT classes.
void compute(Config cfg, Computer comp, std::span< double > output, VarSpan vars, ArgSpan extraArgs={})
double chebychevIntegral(DoubleArray coeffs, unsigned int nCoeffs, double xMin, double xMax, double xMinFull, double xMaxFull)
double chebychev(DoubleArray coeffs, unsigned int nCoeffs, double x_in, double xMin, double xMax)