49 width(
"width",
"width",this,_width),
50 peak(
"peak",
"peak",this,_peak),
51 tail(
"tail",
"tail",this,_tail)
61 peak(
"peak",this,other.peak),
62 tail(
"tail",this,other.tail)
83 static const Double_t xi = 2.3548200450309494;
86 Double_t width_zero2 = width_zero * width_zero;
87 Double_t exponent = ( -0.5 / (width_zero2) *
log *
log ) - ( width_zero2 * 0.5 );
113 assert(code==1 || code==2) ;
118 static const Double_t sqrt2 = 1.4142135623730950;
119 static const Double_t sqlog2 = 0.832554611157697756;
120 static const Double_t sqlog4 = 1.17741002251547469;
121 static const Double_t log4 = 1.38629436111989062;
122 static const Double_t rootpiby2 = 1.2533141373155003;
123 static const Double_t sqpibylog2 = 2.12893403886245236;
148 if ( log_argument_A < 1.e-7) {
149 log_argument_A = 1.e-7;
153 if ( log_argument_B < 1.e-7) {
154 log_argument_B = 1.e-7;
161 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
162 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
168 }
else if (code==2) {
191 if ( log_argument_A < 1.e-7) {
192 log_argument_A = 1.e-7;
196 if ( log_argument_B < 1.e-7) {
197 log_argument_B = 1.e-7;
204 Double_t erf_termA = ( term1_2 - log4 *
TMath::Log( log_argument_A ) ) / ( 2 * term1 * sqlog2 );
205 Double_t erf_termB = ( term1_2 - log4 *
TMath::Log( log_argument_B ) ) / ( 2 * term1 * sqlog2 );
214 coutF(Eval) <<
"Error in RooNovosibirsk::analyticalIntegral" << std::endl;
include TDocParser_001 C image html pict1_TDocParser_001 png width
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual RooSpan< const double > getValues(RooBatchCompute::RunContext &evalData, const RooArgSet *normSet=nullptr) const
by this change, please consult the release notes for ROOT 6.24 for guidance on how to make this trans...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual RooSpan< double > computeNovosibirsk(const RooAbsReal *, RunContext &, RooSpan< const double > x, RooSpan< const double > peak, RooSpan< const double > width, RooSpan< const double > tail)=0
RooNovosibirsk implements the Novosibirsk function.
RooSpan< double > evaluateSpan(RooBatchCompute::RunContext &evalData, const RooArgSet *normSet) const
Compute multiple values of Novosibirsk distribution.
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 evaluate() const
If tail=eta=0 the Belle distribution becomes gaussian.
A simple container to hold a batch of data values.
double min(const char *rname=0) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
double max(const char *rname=0) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
R__EXTERN RooBatchComputeInterface * dispatch
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
Double_t Erf(Double_t x)
Computation of the error function erf(x).
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
This struct enables passing computation data around between elements of a computation graph.