![]() |
ATLAS Offline Software
|
#include <TrigInDetTrackFitPar.h>
Public Types | |
enum | TrigSurfaceType { PERIGEE =0, BARREL =1, ENDCAP =2, UNDEFINED =3 } |
Public Member Functions | |
TrigInDetTrackFitPar () | |
Constructor for POOL only. More... | |
TrigInDetTrackFitPar (const double a0, const double phi0, const double z0, const double eta, const double pT, const double ea0, const double ephi0, const double ez0, const double eeta, const double epT, const std::vector< double > *cov=0) | |
Constructor for parameters on PERIGEE surface. More... | |
TrigInDetTrackFitPar (const double a0, const double phi0, const double z0, const double eta, const double pT, const double ea0, const double ephi0, const double ez0, const double eeta, const double epT, const TrigSurfaceType t, const double c, const std::vector< double > *cov=0) | |
Constructor for parameters on non-PERIGEE surface. More... | |
TrigInDetTrackFitPar (const double a0, const double phi0, const double z0, const double eta, const double pT, const std::vector< double > *cov=0) | |
Constructor for PERIGEE parameters without errors or covariance. More... | |
TrigInDetTrackFitPar (const double a0, const double phi0, const double z0, const double eta, const double pT, const TrigSurfaceType t, const double c, const std::vector< double > *cov=0) | |
Constructor for non-PERIGEE parameters without errors or covariance. More... | |
TrigInDetTrackFitPar (const TrigInDetTrackFitPar &rhs) | |
Copy constructor. More... | |
TrigInDetTrackFitPar & | operator= (TrigInDetTrackFitPar &&rhs) |
Move assignment. More... | |
~TrigInDetTrackFitPar () | |
Destructor. More... | |
void | a0 (const double a0) |
Setter: transverse impact parameter. More... | |
void | z0 (const double z0) |
Setter: longitudinal impact parameter. More... | |
void | phi0 (const double phi0) |
Setter: azimuthal angle of the momentum. More... | |
void | eta (const double eta) |
Setter: pseudorapidity. More... | |
void | pT (const double pT) |
Setter: transverse momentum. More... | |
void | cov (const std::vector< double > *cov) |
Setter: covariance matrix of track parameters. More... | |
void | surfaceType (TrigSurfaceType s) |
Setter: surface type PERIGEE=0, BARREL=1, ENDCAP=2. More... | |
void | surfaceCoordinate (double c) |
Setter: surface reference coordinate for non-perigee surfaces. More... | |
double | a0 () const |
transverse impact parameter More... | |
double | z0 () const |
longitudinal impact parameter More... | |
double | phi0 () const |
azimuthal angle of the momentum More... | |
double | eta () const |
pseudorapidity More... | |
double | pT () const |
transverse momentum More... | |
double | ea0 () const |
variance of transverse impact parameter More... | |
double | ez0 () const |
variance of longitudinal impact parameter More... | |
double | ephi0 () const |
variance of azimuthal angle of the momentum More... | |
double | eeta () const |
variance of pseudorapidity More... | |
double | epT () const |
variance of transverse momentum More... | |
const std::vector< double > * | cov () const |
covariance (packed) of track parameters More... | |
TrigSurfaceType | surfaceType () const |
surface type More... | |
double | surfaceCoordinate () const |
surface reference coordinate (radius or z-position) for non-perigee parameters More... | |
Private Attributes | |
double | m_a0 |
see detailed description below More... | |
double | m_phi0 |
see detailed description below More... | |
double | m_z0 |
see detailed description below More... | |
double | m_eta |
pseudorapidity More... | |
double | m_pT |
transverse momentum More... | |
double | m_ea0 |
\( \sqrt{cov(a_0,a_0)}\) More... | |
double | m_ephi0 |
\( \sqrt{cov(\phi_0,\phi_0)}\) More... | |
double | m_ez0 |
\( \sqrt{cov(z_0,z_0)}\) More... | |
double | m_eeta |
\( \sqrt{cov(\eta,\eta)}\) More... | |
double | m_epT |
\( \sqrt{cov(p_T,p_T)}\) More... | |
const std::vector< double > * | m_cov |
covariance matrix packed as described below More... | |
TrigSurfaceType | m_surfaceType |
type of track parameters - perigee, barrel, or endcap More... | |
double | m_surfaceCoordinate |
barrel radius or z of endcap disk More... | |
encapsulates LVL2 track parameters and covariance matrix The vector of track parameters consists of
\( a_0 \) , \( \phi_0 \), \( z_0 \), \( \eta \), \( p_T \)
The first three parameters are defined as follows
if m_surfaceType is PERIGEE - the default
\( a_0 \) : transverse impact parameter, a.k.a., \( d_0 \), the distance of the closest approach of a helix to the z-axis.
\( \phi_0 \) : momentum angle phi at the point of the closest approach
\( z_0 \) : longitudinal impact parameter, the z value at the point of the closest approach.
The convention for the sign of \( a_0 \) is the following. Let \( \Phi \) be the azimuthal angle to the perigee point. The sign of \( a_0 \) is then defined as positive if \( \Phi = \phi_0 + \frac{\pi}{2} \). Note that this convention is independent from particle charge sign.
if m_surfaceType is BARREL, radius is given by m_surfaceCoordinate
\( a_0 \) : Phi - azimuthal angle of the track position on the surface
\( \phi_0 \) : momentum angle phi in the global reference frame
\( z_0 \) : z-position (along the barrel axis)
if m_surfaceType is ENDCAP, surface is a disk orthogonal to the global z-axis z-coordinate of the disk is given by m_surfaceCoordinate
\( a_0 \) : Phi - azimuthal angle of the track position on the surface
\( \phi_0 \) : momentum angle phi in the global reference frame
\( z_0 \) : Rho - radial coordinate of the track position on the disk
Covariance matrix is stored in a std::vector<double>:
cov : vector of 15 numbers corresponding to the upper half of the covariance matrix, packed as follows: cov(a0,a0) -> cov(a0,phi0) -> cov(a0,z0) -> cov(a0,eta) -> cov(a0,pT) -> cov(phi0,phi0) -> cov(phi0,z0) -> cov(phi0,eta) -> cov(phi0,pT) -> cov(z0,z0) -> cov(z0,eta) -> cov(z0,pT) -> cov(eta,eta) -> cov(eta,pT) -> cov(pT,pT)
m_ea0, m_ephi0, m_ez0, m_eeta, m_epT - square roots out of corresponding diagonal elements of the covariance matrix
Note that pT is actually pT \( \times \) sign of particle charge
Definition at line 68 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
Constructor for parameters on PERIGEE surface.
Definition at line 82 of file TrigInDetTrackFitPar.h.
|
inline |
Constructor for parameters on non-PERIGEE surface.
Definition at line 101 of file TrigInDetTrackFitPar.h.
|
inline |
Constructor for PERIGEE parameters without errors or covariance.
Definition at line 120 of file TrigInDetTrackFitPar.h.
|
inline |
Constructor for non-PERIGEE parameters without errors or covariance.
Definition at line 141 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
|
inline |
|
inline |
Setter: transverse impact parameter.
Definition at line 214 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
Setter: covariance matrix of track parameters.
Definition at line 224 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Setter: azimuthal angle of the momentum.
Definition at line 218 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
Setter: transverse momentum.
Definition at line 222 of file TrigInDetTrackFitPar.h.
|
inline |
surface reference coordinate (radius or z-position) for non-perigee parameters
Definition at line 256 of file TrigInDetTrackFitPar.h.
|
inline |
Setter: surface reference coordinate for non-perigee surfaces.
Definition at line 228 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
Setter: surface type PERIGEE=0, BARREL=1, ENDCAP=2.
Definition at line 226 of file TrigInDetTrackFitPar.h.
|
inline |
|
inline |
Setter: longitudinal impact parameter.
Definition at line 216 of file TrigInDetTrackFitPar.h.
|
private |
see detailed description below
Definition at line 259 of file TrigInDetTrackFitPar.h.
|
private |
covariance matrix packed as described below
Definition at line 269 of file TrigInDetTrackFitPar.h.
|
private |
\( \sqrt{cov(a_0,a_0)}\)
Definition at line 264 of file TrigInDetTrackFitPar.h.
|
private |
\( \sqrt{cov(\eta,\eta)}\)
Definition at line 267 of file TrigInDetTrackFitPar.h.
|
private |
\( \sqrt{cov(\phi_0,\phi_0)}\)
Definition at line 265 of file TrigInDetTrackFitPar.h.
|
private |
\( \sqrt{cov(p_T,p_T)}\)
Definition at line 268 of file TrigInDetTrackFitPar.h.
|
private |
pseudorapidity
Definition at line 262 of file TrigInDetTrackFitPar.h.
|
private |
\( \sqrt{cov(z_0,z_0)}\)
Definition at line 266 of file TrigInDetTrackFitPar.h.
|
private |
see detailed description below
Definition at line 260 of file TrigInDetTrackFitPar.h.
|
private |
transverse momentum
Definition at line 263 of file TrigInDetTrackFitPar.h.
|
private |
barrel radius or z of endcap disk
Definition at line 271 of file TrigInDetTrackFitPar.h.
|
private |
type of track parameters - perigee, barrel, or endcap
Definition at line 270 of file TrigInDetTrackFitPar.h.
|
private |
see detailed description below
Definition at line 261 of file TrigInDetTrackFitPar.h.