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++)
virtual TFormula * GetFormula()
Bool_t TestBit(UInt_t f) const
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.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual Double_t * GetParameters() const
virtual Int_t GetNumber() const