ATLAS Offline Software
|
Class representing transport parameterisation as four Equation. More...
#include <Parameterization.h>
Classes | |
class | Equation |
Local class for storing parameterization equation. More... | |
Public Member Functions | |
Parameterization (std::string_view filename) | |
Takes filename of parametrization file as argument. More... | |
double | x (double x0, double y0, double z0, double sx0, double sy0, double E) const |
Evaluates value of horizontal position equation. More... | |
double | y (double x0, double y0, double z0, double sx0, double sy0, double E) const |
Evaluates value of vertical position equation. More... | |
double | sx (double x0, double y0, double z0, double sx0, double sy0, double E) const |
Evaluates value of horizontal slope equation. More... | |
double | sy (double x0, double y0, double z0, double sx0, double sy0, double E) const |
Evaluates value of vertical slope equation. More... | |
double | parametrizationPosition () const |
Returns position for which parametrization was performed. More... | |
double | energy () const |
Returns nominal energy for which parametrization was performed. More... | |
const Equation * | getEquation (int iEqu) const |
Returns const raw pointer to equation of number iEqu. More... | |
bool | yIsUsed () const |
Returns m_yIsUsed. More... | |
Private Attributes | |
std::array< double, 2 > | m_slopeInitIP |
Crossing angles in rad. More... | |
std::array< double, 3 > | m_positionInitIP |
Initial vertex postition. More... | |
double | m_energy |
Nominal beam energy. More... | |
double | m_parametrizationPosition |
Position for which the parameterisation was performed. More... | |
std::vector< std::unique_ptr< Equation > > | m_equation |
Vector of equations: 0 - x, 1 - y, 2 - sx, 3 - sy. More... | |
bool | m_yIsUsed |
True if y measurements are used in reconstruction. More... | |
Static Private Attributes | |
static constexpr int | m_numberOfPolynomials = 8 |
Number of polynomials in equation. More... | |
static constexpr int | m_numberOfEquations = 4 |
Number of equations - each for one measured value. More... | |
Class representing transport parameterisation as four Equation.
Definition at line 23 of file Parameterization.h.
AFP::Parameterization::Parameterization | ( | std::string_view | filename | ) |
Takes filename of parametrization file as argument.
Loads parametrization file.
Definition at line 9 of file Parameterization.cxx.
|
inline |
Returns nominal energy for which parametrization was performed.
Definition at line 66 of file Parameterization.h.
Returns const raw pointer to equation of number iEqu.
Definition at line 69 of file Parameterization.h.
|
inline |
Returns position for which parametrization was performed.
Definition at line 63 of file Parameterization.h.
double AFP::Parameterization::sx | ( | double | x0, |
double | y0, | ||
double | z0, | ||
double | sx0, | ||
double | sy0, | ||
double | E | ||
) | const |
Evaluates value of horizontal slope equation.
Definition at line 94 of file Parameterization.cxx.
double AFP::Parameterization::sy | ( | double | x0, |
double | y0, | ||
double | z0, | ||
double | sx0, | ||
double | sy0, | ||
double | E | ||
) | const |
Evaluates value of vertical slope equation.
Definition at line 98 of file Parameterization.cxx.
double AFP::Parameterization::x | ( | double | x0, |
double | y0, | ||
double | z0, | ||
double | sx0, | ||
double | sy0, | ||
double | E | ||
) | const |
Evaluates value of horizontal position equation.
Definition at line 86 of file Parameterization.cxx.
double AFP::Parameterization::y | ( | double | x0, |
double | y0, | ||
double | z0, | ||
double | sx0, | ||
double | sy0, | ||
double | E | ||
) | const |
Evaluates value of vertical position equation.
Definition at line 90 of file Parameterization.cxx.
|
inline |
|
private |
Nominal beam energy.
Definition at line 88 of file Parameterization.h.
|
private |
Vector of equations: 0 - x, 1 - y, 2 - sx, 3 - sy.
Definition at line 94 of file Parameterization.h.
|
staticconstexprprivate |
Number of equations - each for one measured value.
Definition at line 79 of file Parameterization.h.
|
staticconstexprprivate |
Number of polynomials in equation.
Definition at line 76 of file Parameterization.h.
|
private |
Position for which the parameterisation was performed.
Definition at line 91 of file Parameterization.h.
|
private |
Initial vertex postition.
Definition at line 85 of file Parameterization.h.
|
private |
Crossing angles in rad.
Definition at line 82 of file Parameterization.h.
|
private |
True if y measurements are used in reconstruction.
Definition at line 97 of file Parameterization.h.