56 Xp(
"Xp",
"Xp",this,_Xp),
57 sigp(
"sigp",
"sigp",this,_sigp),
58 xi(
"xi",
"xi",this,_xi),
59 rho1(
"rho1",
"rho1",this,_rho1),
60 rho2(
"rho2",
"rho2",this,_rho2)
73 Xp(
"Xp",this,other.Xp),
74 sigp(
"sigp",this,other.sigp),
75 xi(
"xi",this,other.xi),
76 rho1(
"rho1",this,other.rho1),
77 rho2(
"rho2",this,other.rho2)
87 const double consts = 2*sqrt(2*log(2.0));
96 double fit_result = 0;
103 if(std::abs(
xi) > exp(-6.)){
109 x1 =
Xp + (hp / 2) * (r1-1);
110 x2 =
Xp + (hp / 2) * (r1+1);
120 if(std::abs(
xi) > exp(-6.)) {
121 r2=log(1 + 4 *
xi * r4 * (
x-
Xp)/hp)/log(1+2*
xi*(
xi-r4));
125 r2=-4*r3*(
x-
Xp)*(
x-
Xp)/hp/hp;
135 if(std::abs(r2) > 100){
140 fit_result = exp(r2);
151 {ctx.at(x), ctx.at(Xp), ctx.at(sigp), ctx.at(xi), ctx.at(rho1), ctx.at(rho2)});
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value and implements functionality common to al...
The RooBukinPdf implements the NovosibirskA function.
void doEval(RooFit::EvalContext &) const override
Compute multiple values of Bukin distribution.
double evaluate() const override
Implementation.
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={})
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.