ATLAS Offline Software
Loading...
Searching...
No Matches
TauHitVars Namespace Reference

Functions

float j (const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
float a (const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
float b (const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
float layer (const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &)

Function Documentation

◆ a()

float TauHitVars::a ( const xAOD::IParticle & ,
const xAOD::TrackMeasurementValidation & hit,
const Eigen::Matrix3d & jab_inv )

Definition at line 111 of file ConstituentLoaderTauHit.cxx.

111 {
112 static const SG::ConstAccessor<float> acc_localX("HitsXRelToBeamspot");
113 static const SG::ConstAccessor<float> acc_localY("HitsYRelToBeamspot");
114 static const SG::ConstAccessor<float> acc_localZ("HitsZRelToBeamspot");
115
116 return jab_inv(1, 0)*acc_localX(hit) + jab_inv(1, 1)*acc_localY(hit) + jab_inv(1, 2)*acc_localZ(hit);
117}
Helper class to provide constant type-safe access to aux data.

◆ b()

float TauHitVars::b ( const xAOD::IParticle & ,
const xAOD::TrackMeasurementValidation & hit,
const Eigen::Matrix3d & jab_inv )

Definition at line 120 of file ConstituentLoaderTauHit.cxx.

120 {
121 static const SG::ConstAccessor<float> acc_localX("HitsXRelToBeamspot");
122 static const SG::ConstAccessor<float> acc_localY("HitsYRelToBeamspot");
123 static const SG::ConstAccessor<float> acc_localZ("HitsZRelToBeamspot");
124
125 return jab_inv(2, 0)*acc_localX(hit) + jab_inv(2, 1)*acc_localY(hit) + jab_inv(2, 2)*acc_localZ(hit);
126}

◆ j()

float TauHitVars::j ( const xAOD::IParticle & ,
const xAOD::TrackMeasurementValidation & hit,
const Eigen::Matrix3d & jab_inv )

Definition at line 102 of file ConstituentLoaderTauHit.cxx.

102 {
103 static const SG::ConstAccessor<float> acc_localX("HitsXRelToBeamspot");
104 static const SG::ConstAccessor<float> acc_localY("HitsYRelToBeamspot");
105 static const SG::ConstAccessor<float> acc_localZ("HitsZRelToBeamspot");
106
107 return jab_inv(0, 0)*acc_localX(hit) + jab_inv(0, 1)*acc_localY(hit) + jab_inv(0, 2)*acc_localZ(hit);
108}

◆ layer()

float TauHitVars::layer ( const xAOD::IParticle & ,
const xAOD::TrackMeasurementValidation & hit,
const Eigen::Matrix3d &  )

Definition at line 129 of file ConstituentLoaderTauHit.cxx.

129 {
130 static const SG::AuxElement::ConstAccessor<int> acc_layer("layer");
131 return acc_layer(hit);
132}
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:570