ATLAS Offline Software
|
Local class for storing parameterization equation. More...
Public Member Functions | |
Equation (double energy, std::vector< std::unique_ptr< TF1 >> polynomial) | |
Takes nominal energy and vector of polynomials as arguments. More... | |
double | evaluate (double x, double y, double z, double sx, double sy, double E) const |
Evaluates value of function with given initial positions, slopes and energy. More... | |
const TF1 * | getPolynomial (int iPoly) const |
Returns const raw poiner to polynomial of number iPoly. More... | |
Private Attributes | |
double | m_energy |
Nominal energy of proton. More... | |
std::vector< std::unique_ptr< TF1 > > | m_polynomial |
Vector of TF1 polynomials. More... | |
Local class for storing parameterization equation.
Definition at line 26 of file Parameterization.h.
|
inline |
Takes nominal energy and vector of polynomials as arguments.
Definition at line 29 of file Parameterization.h.
double AFP::Parameterization::Equation::evaluate | ( | double | x, |
double | y, | ||
double | z, | ||
double | sx, | ||
double | sy, | ||
double | E | ||
) | const |
Evaluates value of function with given initial positions, slopes and energy.
Definition at line 102 of file Parameterization.cxx.
|
inline |
Returns const raw poiner to polynomial of number iPoly.
Definition at line 35 of file Parameterization.h.
|
private |
Nominal energy of proton.
Definition at line 39 of file Parameterization.h.
|
private |
Vector of TF1 polynomials.
Definition at line 42 of file Parameterization.h.