 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef COLUMNAR_TRACKING_TRACK_HELPERS_H
9 #define COLUMNAR_TRACKING_TRACK_HELPERS_H
19 namespace TrackHelpers
29 template<ContainerIdConcept CI = ContainerId::track,
typename CM=ColumnarModeDefault>
62 template<ContainerIdConcept CI = ContainerId::track,
typename CM=ColumnarModeDefault>
92 template<ContainerIdConcept CI = ContainerId::track,
typename CM=ColumnarModeDefault>
104 :
m_d0Acc (columnarTool,
"d0"),
112 xAOD::DefiningParameters_t
tmp;
120 template<ContainerIdConcept CI = ContainerId::track,
typename CM=ColumnarModeDefault>
136 if( !
valid )
throw std::runtime_error(
"DefiningParametersCovAccessor: track covariance matrix not available or improperly formatted");
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzM4D< double > > GenVecFourMom_t
Base 4 Momentum type for TrackParticle.
DefiningParametersAccessor(ColumnarTool< CM > &columnarTool)
ColumnAccessor< CI, std::vector< float >, CM > m_accCovMatrixDiag
ChargeAccessor(ColumnarTool< CM > &columnarTool)
ColumnAccessor< CI, float, CM > m_qOverPAcc
ColumnAccessor< CI, std::vector< float >, CM > m_accCovMatrixOffDiag
GenVecFourMom_t genvecP4(float qOverP, float thetaT, float phiT, double m)
ColumnAccessor< CI, float, CM > m_phi0Acc
ColumnAccessor< CI, RetypeColumn< double, float >, CM > m_phiAcc
GenVecFourMom_t genvecP4(ObjectId< CI, CM > trk, double m) const
double pt(ObjectId< CI, CM > object, double m) const
ColumnAccessor< CI, float, CM > m_qOverPAcc
xAOD::ParametersCovMatrix_t definingParametersCovMatrix(std::span< const float > covMatrixDiag, std::span< const float > covMatrixOffDiag, bool &valid)
ColumnAccessor< CI, float, CM > m_d0Acc
ColumnAccessor< CI, float, CM > m_thetaAcc
double phi(ObjectId< CI, CM > object, double m) const
float charge(float qOverP)
DefiningParametersCovAccessor(ColumnarTool< CM > &columnarTool)
double eta(ObjectId< CI, CM > object, double m) const
a class representing a single object (electron, muons, etc.)
ColumnAccessor< CI, float, CM > m_thetaAcc
ColumnAccessor< CI, float, CM > m_z0Acc
ColumnAccessor< CI, float, CM > m_qOverPAcc
this gets the four momentum of a track, given the mass (and assuming a charge of +/- 1)
xAOD::TrackParticle::GenVecFourMom_t GenVecFourMom_t
the raw column accessor template class
xAOD::DefiningParameters_t operator()(ObjectId< CI, CM > trk) const
const xAOD::ParametersCovMatrix_t operator()(ObjectId< CI, CM > trk) const
TrackMomentumAccessors(ColumnarTool< CM > &columnarTool)
float operator()(ObjectId< CI, CM > object) const