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. | |
| ~MnParabola () | |
| double | A () const |
| Accessor to the coefficient of the quadratic term. | |
| 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 | 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 | Y (double x) const |
| Evaluates the parabola a the point x. | |
| double | YMin () const |
| Calculates 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 43 of file MnParabola.h.
|
inline |
Definition at line 45 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the quadratic term.
Definition at line 127 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the linear term.
Definition at line 137 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the constant term.
Definition at line 147 of file MnParabola.h.
|
inline |
Calculates the x coordinate of the Minimum of the parabola.
Definition at line 107 of file MnParabola.h.
Calculates the smaller of the two x values corresponding to the given y Value.
???????!!!!!!!!! And when there is none?? it looks like it will crash?? what is sqrt (-1.0) ?
Definition at line 97 of file MnParabola.h.
Calculates the bigger of the two x values corresponding to the given y Value.
???????!!!!!!!!! And when there is none?? it looks like it will crash?? what is sqrt (-1.0) ?
Definition at line 77 of file MnParabola.h.
Evaluates the parabola a the point x.
| x | the coordinate where the parabola needs to be evaluated. |
Definition at line 57 of file MnParabola.h.
|
inline |
Calculates the y coordinate of the Minimum of the parabola.
Definition at line 117 of file MnParabola.h.
|
private |
Definition at line 150 of file MnParabola.h.
|
private |
Definition at line 151 of file MnParabola.h.
|
private |
Definition at line 152 of file MnParabola.h.