50 width("width","width",this,_width),
51 peak("peak","peak",this,_peak),
52 tail("tail","tail",this,_tail)
61 width(
"width",this,other.width),
62 peak(
"peak",this,other.peak),
63 tail(
"tail",this,other.tail)
84 static const Double_t xi = 2.3548200450309494;
87 Double_t width_zero2 = width_zero * width_zero;
88 Double_t exponent = ( -0.5 / (width_zero2) * log * log ) - ( width_zero2 * 0.5 );
109 assert(code==1 || code==2) ;
114 static const Double_t sqrt2 = 1.4142135623730950;
115 static const Double_t sqlog2 = 0.832554611157697756;
116 static const Double_t sqlog4 = 1.17741002251547469;
117 static const Double_t log4 = 1.38629436111989062;
118 static const Double_t rootpiby2 = 1.2533141373155003;
119 static const Double_t sqpibylog2 = 2.12893403886245236;
144 if ( log_argument_A < 1.
e-7) {
145 log_argument_A = 1.e-7;
149 if ( log_argument_B < 1.
e-7) {
150 log_argument_B = 1.e-7;
157 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
158 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
164 }
else if (code==2) {
187 if ( log_argument_A < 1.
e-7) {
188 log_argument_A = 1.e-7;
192 if ( log_argument_B < 1.
e-7) {
193 log_argument_B = 1.e-7;
200 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
201 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
210 coutF(
Eval) <<
"Error in RooNovosibirsk::analyticalIntegral" << std::endl;
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooNovosibirsk implements the Novosibirsk function.
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
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.
Double_t min(const char *rname=0) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Double_t max(const char *rname=0) const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. ...