BCGaussianPrior.cxx
59 double aphi_min = (r == BCAux::kNegativeInfiniteRange) ? 0 : (fMean + xmin) * exp(-amin * amin / 2);
60 double aphi_max = (r == BCAux::kPositiveInfiniteRange) ? 0 : (fMean + xmax) * exp(-amax * amax / 2);
74 return (TMath::Erf((xmax - fMean) / fSigma / sqrt(2)) - TMath::Erf((xmin - fMean) / fSigma / sqrt(2))) / 2;
BCAux::BCRange RangeType(double xmin, double xmax)
Return type of range as a BCAux::BCRange enum.
Definition: BCAux.cxx:85
lower < upper, lower limit finite, upper limit infinite
Definition: BCAux.h:91
lower < upper, lower limit infinite, upper limit finite
Definition: BCAux.h:90
virtual double GetIntegral(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get integral of prior.
Definition: BCGaussianPrior.cxx:66
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCGaussianPrior.cxx:23
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCPrior.cxx:72