10#ifndef ROOT_Minuit2_MnParabola 
   11#define ROOT_Minuit2_MnParabola 
   57   double Y(
double x)
 const { 
return (
fA * 
x * 
x + 
fB * 
x + 
fC); }
 
  107   double Min()
 const { 
return -
fB / (2. * 
fA); }
 
  127   double A()
 const { 
return fA; }
 
  137   double B()
 const { 
return fB; }
 
  147   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.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.