![]() |
ATLAS Offline Software
|
Enumerations | |
enum | ParamDefs { d0 = 0, z0 = 1, phi0 = 2, theta = 3, qOverP = 4, x = 0, y = 1, z = 2 } |
This file defines the parameter enums in the Trk namespace. More... | |
Functions | |
Eigen::Vector3d | getPosition (const xAOD::TrackParticle &trk) |
double | getSigmaD0 (const xAOD::TrackParticle &trk, const Eigen::Matrix2d &vtxCov) |
double | getSigmaD0 (const xAOD::TrackParticle &trk, const xAOD::Vertex &vtx) |
double | getSigmaD0WithRespectToBeamspot (const xAOD::TrackParticle &trk, const xAOD::EventInfo &evt) |
double | getSigmaZ0SinTheta (const xAOD::TrackParticle &trk, double vxZCov) |
double | getSigmaZ0SinTheta (const xAOD::TrackParticle &trk, const xAOD::Vertex &vtx) |
enum Pmt::ParamDefs |
This file defines the parameter enums in the Trk namespace.
Note that the enums refer to the [] operator and not to the () operator which makes a big difference in classes inherited or used from CLHEP. CLHEP::HepVector and not CLHEP::Hep2Vector is taken, as CLHEP::Hep2Vector provides additional functions like x(), y(), phi() which might be meaningless when using specific natural detector frames.
Usage examples:
LocalPosition
locpos
(2.3, 4.5);double
x
= locpos
[Trk::locX];double
theEta
= Tsos
[Trk::eta]double
theEta
= Tsos
[Trk::eta]Enumerator | |
---|---|
d0 | |
z0 | |
phi0 | |
theta | |
qOverP | |
x | |
y | |
z |
Definition at line 26 of file PoorMansIpAugmenterAlg.cxx.
Eigen::Vector3d Pmt::getPosition | ( | const xAOD::TrackParticle & | trk | ) |
double Pmt::getSigmaD0 | ( | const xAOD::TrackParticle & | trk, |
const Eigen::Matrix2d & | vtxCov | ||
) |
Definition at line 55 of file PoorMansIpAugmenterAlg.cxx.
double Pmt::getSigmaD0 | ( | const xAOD::TrackParticle & | trk, |
const xAOD::Vertex & | vtx | ||
) |
Definition at line 73 of file PoorMansIpAugmenterAlg.cxx.
double Pmt::getSigmaD0WithRespectToBeamspot | ( | const xAOD::TrackParticle & | trk, |
const xAOD::EventInfo & | evt | ||
) |
Definition at line 82 of file PoorMansIpAugmenterAlg.cxx.
double Pmt::getSigmaZ0SinTheta | ( | const xAOD::TrackParticle & | trk, |
const xAOD::Vertex & | vtx | ||
) |
Definition at line 122 of file PoorMansIpAugmenterAlg.cxx.
double Pmt::getSigmaZ0SinTheta | ( | const xAOD::TrackParticle & | trk, |
double | vxZCov | ||
) |
Definition at line 100 of file PoorMansIpAugmenterAlg.cxx.