|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef AFP_GLOBRECO_PARAMETRIZATION_H
7 #define AFP_GLOBRECO_PARAMETRIZATION_H
32 double evaluate(
double x,
double y,
double z,
double sx,
double sy,
double E)
const;
51 double x(
double x0,
double y0,
double z0,
double sx0,
double sy0,
double E)
const;
54 double y(
double x0,
double y0,
double z0,
double sx0,
double sy0,
double E)
const;
57 double sx(
double x0,
double y0,
double z0,
double sx0,
double sy0,
double E)
const;
60 double sy(
double x0,
double y0,
double z0,
double sx0,
double sy0,
double E)
const;
101 #endif // AFP_GLOBRECO_PARAMETRIZATION_H
const TF1 * getPolynomial(int iPoly) const
Returns const raw poiner to polynomial of number iPoly.
double parametrizationPosition() const
Returns position for which parametrization was performed.
bool yIsUsed() const
Returns m_yIsUsed.
Class representing transport parameterisation as four Equation.
bool m_yIsUsed
True if y measurements are used in reconstruction.
const Equation * getEquation(int iEqu) const
Returns const raw pointer to equation of number iEqu.
double m_parametrizationPosition
Position for which the parameterisation was performed.
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
std::vector< std::unique_ptr< Equation > > m_equation
Vector of equations: 0 - x, 1 - y, 2 - sx, 3 - sy.
std::array< double, 2 > m_slopeInitIP
Crossing angles in rad.
Local class for storing parameterization equation.
double m_energy
Nominal beam energy.
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.
std::vector< std::unique_ptr< TF1 > > m_polynomial
Vector of TF1 polynomials.
Parameterization(std::string_view filename)
Takes filename of parametrization file as argument.
double sy(double x0, double y0, double z0, double sx0, double sy0, double E) const
Evaluates value of vertical slope equation.
std::array< double, 3 > m_positionInitIP
Initial vertex postition.
Equation(double energy, std::vector< std::unique_ptr< TF1 >> polynomial)
Takes nominal energy and vector of polynomials as arguments.
double m_energy
Nominal energy of proton.
double sx(double x0, double y0, double z0, double sx0, double sy0, double E) const
Evaluates value of horizontal slope equation.
static constexpr int m_numberOfEquations
Number of equations - each for one measured value.
static constexpr int m_numberOfPolynomials
Number of polynomials in equation.
double energy() const
Returns nominal energy for which parametrization was performed.
double y(double x0, double y0, double z0, double sx0, double sy0, double E) const
Evaluates value of vertical position equation.
double x(double x0, double y0, double z0, double sx0, double sy0, double E) const
Evaluates value of horizontal position equation.