55 width("width","width",this,_width),
56 peak("peak","peak",this,_peak),
57 tail("tail","tail",this,_tail)
68 width(
"width",this,other.width),
69 peak(
"peak",this,other.peak),
70 tail(
"tail",this,other.tail)
93 static const Double_t xi = 2.3548200450309494;
96 Double_t width_zero2 = width_zero * width_zero;
97 Double_t exponent = ( -0.5 / (width_zero2) * log * log ) - ( width_zero2 * 0.5 );
123 assert(code==1 || code==2) ;
128 static const Double_t sqrt2 = 1.4142135623730950;
129 static const Double_t sqlog2 = 0.832554611157697756;
130 static const Double_t sqlog4 = 1.17741002251547469;
131 static const Double_t log4 = 1.38629436111989062;
132 static const Double_t rootpiby2 = 1.2533141373155003;
133 static const Double_t sqpibylog2 = 2.12893403886245236;
158 if ( log_argument_A < 1.e-7) {
159 log_argument_A = 1.e-7;
163 if ( log_argument_B < 1.e-7) {
164 log_argument_B = 1.e-7;
171 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
172 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
178 }
else if (code==2) {
201 if ( log_argument_A < 1.e-7) {
202 log_argument_A = 1.e-7;
206 if ( log_argument_B < 1.e-7) {
207 log_argument_B = 1.e-7;
214 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
215 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
224 coutF(
Eval) <<
"Error in RooNovosibirsk::analyticalIntegral" << std::endl;
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
ClassImp(RooNovosibirsk) RooNovosibirsk
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported...
Double_t Erf(Double_t x)
Computation of the error function erf(x).
Double_t evaluate() const
If tail=eta=0 the Belle distribution becomes gaussian.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Vc_INTRINSIC Vc_CONST m256 exponent(param256 v)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Double_t min(const char *rname=0) const
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
Double_t max(const char *rname=0) const