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