35 Int_t num = f->GetNumber();
39 TFormula * formula = f->GetFormula();
41 Error(
"TF1::AnalyticalIntegral",
"Invalid formula number - return a NaN");
47 result = (
exp(p[0]+p[1]*xmax) -
exp(p[0]+p[1]*xmin))/p[1];
87 else if (num >= 300 && num < 400)
90 for (
int i=0;i<n+1;i++)
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).
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.
double crystalball_integral(double x, double alpha, double n, double sigma, double x0=0)
Integral of the not-normalized Crystal Ball function.