This class defines a parabola of the form a*x*x + b*x + c.
Definition at line 31 of file MnParabola.h.
Public Member Functions | |
MnParabola (double a, double b, double c) | |
Constructor that initializes the parabola with its three parameters. More... | |
~MnParabola () | |
double | A () const |
Accessor to the coefficient of the quadratic term. More... | |
double | B () const |
Accessor to the coefficient of the linear term. More... | |
double | C () const |
Accessor to the coefficient of the constant term. More... | |
double | Min () const |
Calculates the x coordinate of the Minimum of the parabola. More... | |
double | X_neg (double y) const |
Calculates the smaller of the two x values corresponding to the given y Value. More... | |
double | X_pos (double y) const |
Calculates the bigger of the two x values corresponding to the given y Value. More... | |
double | Y (double x) const |
Evaluates the parabola a the point x. More... | |
double | YMin () const |
Calculates the y coordinate of the Minimum of the parabola. More... | |
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 46 of file MnParabola.h.
|
inline |
Definition at line 49 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the quadratic term.
Definition at line 138 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the linear term.
Definition at line 149 of file MnParabola.h.
|
inline |
Accessor to the coefficient of the constant term.
Definition at line 160 of file MnParabola.h.
|
inline |
Calculates the x coordinate of the Minimum of the parabola.
Definition at line 116 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 105 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 83 of file MnParabola.h.
Evaluates the parabola a the point x.
x | the coordinate where the parabola needs to be evaluated. |
Definition at line 62 of file MnParabola.h.
|
inline |
Calculates the y coordinate of the Minimum of the parabola.
Definition at line 127 of file MnParabola.h.
|
private |
Definition at line 164 of file MnParabola.h.
|
private |
Definition at line 165 of file MnParabola.h.
|
private |
Definition at line 166 of file MnParabola.h.