37 x(
"x",
"Dependent", this, _x),
38 mean(
"mean",
"Mean", this, _mean),
39 sigmaL(
"sigmaL",
"Left Sigma", this, _sigmaL),
40 sigmaR(
"sigmaR",
"Right Sigma", this, _sigmaR)
50 x(
"x", this, other.
x),
69 {ctx.at(x),ctx.at(mean),ctx.at(sigmaL),ctx.at(sigmaR)});
87 auto &constant = code == 1 ?
mean :
x;
88 auto &integrand = code == 1 ?
x :
mean;
int Int_t
Signed integer 4 bytes (int).
RooAbsPdf()
Default constructor.
bool matchArgs(const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a, const Proxies &... proxies) const
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
void doEval(RooFit::EvalContext &) const override
Compute multiple values of BifurGauss distribution.
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
std::span< double > output()
RooBatchCompute::Config config(RooAbsArg const *arg) const
void compute(Config cfg, Computer comp, std::span< double > output, VarSpan vars, ArgSpan extraArgs={})
double bifurGaussIntegral(double xMin, double xMax, double mean, double sigmaL, double sigmaR)
double bifurGauss(double x, double mean, double sigmaL, double sigmaR)
void checkRangeOfParameters(const RooAbsReal *callingClass, std::initializer_list< const RooAbsReal * > pars, double min=-std::numeric_limits< double >::max(), double max=std::numeric_limits< double >::max(), bool limitsInAllowedRange=false, std::string const &extraMessage="")
Check if the parameters have a range, and warn if the range extends below / above the set limits.