40 Error(
"TF1::AnalyticalIntegral",
"Invalid formula number - return a NaN");
46 result = (
exp(p[0]+p[1]*xmax) -
exp(p[0]+p[1]*xmin))/p[1];
86 else if (num >= 300 && num < 400)
89 for (
int i=0;i<n+1;i++)
virtual TFormula * GetFormula()
double pow(double, double)
void Error(const char *location, const char *msgfmt,...)
double landau_cdf(double x, double xi=1, double x0=0)
Cumulative distribution function of the Landau distribution (lower tail).
Bool_t TestBit(UInt_t f) const
Double_t AnalyticalIntegral(TF1 *f, Double_t a, Double_t b)
double gaussian_cdf(double x, double sigma=1, double x0=0)
Alternative name for same function.
virtual Int_t GetNumber() const
virtual Double_t * GetParameters() const
double crystalball_integral(double x, double alpha, double n, double sigma, double x0=0)
Integral of the not-normalized Crystal Ball function.