59 Xp(
"Xp",
"Xp",this,_Xp),
60 sigp(
"sigp",
"sigp",this,_sigp),
61 xi(
"xi",
"xi",this,_xi),
62 rho1(
"rho1",
"rho1",this,_rho1),
63 rho2(
"rho2",
"rho2",this,_rho2)
76 Xp(
"Xp",this,other.Xp),
77 sigp(
"sigp",this,other.sigp),
78 xi(
"xi",this,other.xi),
79 rho1(
"rho1",this,other.rho1),
80 rho2(
"rho2",this,other.rho2)
90 const double consts = 2*sqrt(2*log(2.0));
91 double r1=0,r2=0,r3=0,r4=0,r5=0,hp=0;
93 double fit_result = 0;
100 if(fabs(
xi) > exp(-6.)){
106 x1 =
Xp + (hp / 2) * (r1-1);
107 x2 =
Xp + (hp / 2) * (r1+1);
117 if(fabs(
xi) > exp(-6.)) {
118 r2=log(1 + 4 *
xi * r4 * (
x-
Xp)/hp)/log(1+2*
xi*(
xi-r4));
122 r2=-4*r3*(
x-
Xp)*(
x-
Xp)/hp/hp;
137 fit_result = exp(r2);
static const double x2[5]
static const double x1[5]
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual void compute(cudaStream_t *, Computer, RestrictArr, size_t, const VarVector &, const ArgVector &={})=0
The RooBukinPdf implements the NovosibirskA function.
void computeBatch(cudaStream_t *, double *output, size_t nEvents, RooFit::Detail::DataMap const &) const
Compute multiple values of Bukin distribution.
double evaluate() const
Implementation.
auto & at(RooAbsArg const *arg, RooAbsArg const *=nullptr)
R__EXTERN RooBatchComputeInterface * dispatchCUDA
R__EXTERN RooBatchComputeInterface * dispatchCPU
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
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.
static void output(int code)