10 #ifndef ROOT_Minuit2_MnParabola 11 #define ROOT_Minuit2_MnParabola 62 double Y(
double x)
const {
return (
fA*x*x +
fB*x +
fC);}
138 double A()
const {
return fA;}
149 double B()
const {
return fB;}
160 double C()
const {
return fC;}
173 #endif // ROOT_Minuit2_MnParabola Namespace for new ROOT classes and functions.
double Min() const
Calculates the x coordinate of the Minimum of the parabola.
double A() const
Accessor to the coefficient of the quadratic term.
double X_neg(double y) const
Calculates the smaller of the two x values corresponding to the given y Value.
double YMin() const
Calculates the y coordinate of the Minimum of the parabola.
double C() const
Accessor to the coefficient of the constant term.
This class defines a parabola of the form a*x*x + b*x + c.
double B() const
Accessor to the coefficient of the linear term.
double X_pos(double y) const
Calculates the bigger of the two x values corresponding to the given y Value.
MnParabola(double a, double b, double c)
Constructor that initializes the parabola with its three parameters.
double Y(double x) const
Evaluates the parabola a the point x.
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