This class defines a parabola of the form a*x*x + b*x + c.
Definition at line 30 of file MnParabola.h.
Public Member Functions | |
MnParabola (double a, double b, double c) | |
Constructor that initializes the parabola with its three parameters. | |
double | A () const |
Get the coefficient of the quadratic term. | |
double | B () const |
Get the coefficient of the linear term. | |
double | C () const |
Get the coefficient of the constant term. | |
double | Min () const |
Calculate the x coordinate of the Minimum of the parabola. | |
double | Y (double x) const |
Evaluates the parabola a the point x. | |
double | YMin () const |
Calculate the y coordinate of the Minimum of the parabola. | |
Private Attributes | |
double | fA |
double | fB |
double | fC |
#include <Minuit2/MnParabola.h>
Constructor that initializes the parabola with its three parameters.
a | the coefficient of the quadratic term. |
b | the coefficient of the linear term. |
c | the constant. |
Definition at line 38 of file MnParabola.h.
|
inline |
Get the coefficient of the quadratic term.
Definition at line 50 of file MnParabola.h.
|
inline |
Get the coefficient of the linear term.
Definition at line 53 of file MnParabola.h.
|
inline |
Get the coefficient of the constant term.
Definition at line 56 of file MnParabola.h.
|
inline |
Calculate the x coordinate of the Minimum of the parabola.
Definition at line 44 of file MnParabola.h.
Evaluates the parabola a the point x.
Definition at line 41 of file MnParabola.h.
|
inline |
Calculate the y coordinate of the Minimum of the parabola.
Definition at line 47 of file MnParabola.h.
|
private |
Definition at line 59 of file MnParabola.h.
|
private |
Definition at line 60 of file MnParabola.h.
|
private |
Definition at line 61 of file MnParabola.h.