ATLAS Offline Software
Namespaces | Functions
TrackParametersHelper.h File Reference

Utility methods to access track/truth particles parmeters in a consitent way in this package. More...

#include "xAODTracking/TrackParticle.h"
#include "xAODTruth/TruthParticle.h"
#include "xAODTruth/TruthVertex.h"
#include <vector>
#include <cmath>
Include dependency graph for TrackParametersHelper.h:

Go to the source code of this file.

Namespaces

 IDTPM
 Athena include(s).
 

Functions

template<class U >
float IDTPM::pT (const U &p)
 Accessor utility function for getting the value of pT. More...
 
template<class U >
float IDTPM::pTsig (const U &p)
 Accessor utility function for getting the value of signed pT. More...
 
template<class U >
float IDTPM::eta (const U &p)
 Accessor utility function for getting the value of eta. More...
 
float IDTPM::getTheta (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of theta. More...
 
float IDTPM::getTheta (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::theta (const U &p)
 
float IDTPM::getPhi (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of phi. More...
 
float IDTPM::getPhi (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::phi (const U &p)
 
float IDTPM::getZ0 (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of z0. More...
 
float IDTPM::getZ0 (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::z0 (const U &p)
 
template<class U >
float IDTPM::z0SinTheta (const U &p)
 
float IDTPM::getD0 (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of d0. More...
 
float IDTPM::getD0 (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::d0 (const U &p)
 
float IDTPM::getProdR (const xAOD::TrackParticle &)
 Accessor utility function for getting the value of R. More...
 
float IDTPM::getProdR (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::prodR (const U &p)
 
float IDTPM::getProdZ (const xAOD::TrackParticle &)
 Accessor utility function for getting the value of Z. More...
 
float IDTPM::getProdZ (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::prodZ (const U &p)
 
float IDTPM::getQoverP (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of qOverP. More...
 
float IDTPM::getQoverP (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::qOverP (const U &p)
 
template<class U >
float IDTPM::qOverPT (const U &p)
 
template<class U >
float IDTPM::eTot (const U &p)
 Accessor utility function for getting the value of Energy. More...
 
template<class U >
float IDTPM::eT (const U &p)
 Accessor utility function for getting the value of Tranverse energy. More...
 
float IDTPM::getChiSquared (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of chi^2. More...
 
float IDTPM::getChiSquared (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::chiSquared (const U &p)
 
float IDTPM::getNdof (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of #dof. More...
 
float IDTPM::getNdof (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::ndof (const U &p)
 
std::vector< unsigned int > IDTPM::getAuthor (const xAOD::TrackParticle &p)
 Accessor utility function for getting the track author. More...
 
std::vector< unsigned int > IDTPM::getAuthor (const xAOD::TruthParticle &)
 
template<class U >
std::vector< unsigned int > IDTPM::author (const U &p)
 
uint8_t IDTPM::getHasValidTime (const xAOD::TrackParticle &p)
 Accessor utility function for getting the track hasValidTime. More...
 
uint8_t IDTPM::getHasValidTime (const xAOD::TruthParticle &)
 
template<class U >
uint8_t IDTPM::hasValidTime (const U &p)
 
float IDTPM::getTime (const xAOD::TrackParticle &p)
 Accessor utility function for getting the track time. More...
 
float IDTPM::getTime (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::time (const U &p)
 
float IDTPM::getCov (const xAOD::TrackParticle &p, Trk::ParamDefs par1, Trk::ParamDefs par2)
 Accessor utility function for getting the track parameters covariance. More...
 
float IDTPM::getCov (const xAOD::TruthParticle &, Trk::ParamDefs, Trk::ParamDefs)
 
template<class U >
float IDTPM::cov (const U &p, Trk::ParamDefs par1, Trk::ParamDefs par2)
 
float IDTPM::getError (const xAOD::TrackParticle &p, Trk::ParamDefs par)
 Accessor utility function for getting the track parameters error. More...
 
float IDTPM::getError (const xAOD::TruthParticle &, Trk::ParamDefs)
 
template<class U >
float IDTPM::error (const U &p, Trk::ParamDefs par)
 
std::vector< float > IDTPM::getCovVec (const xAOD::TrackParticle &p)
 Accessor utility function for getting the track parameters covariance vector. More...
 
std::vector< float > IDTPM::getCovVec (const xAOD::TruthParticle &)
 
template<class U >
std::vector< float > IDTPM::covVec (const U &p)
 
float IDTPM::getQOverPTError (const xAOD::TrackParticle &p)
 Accessor utility function for getting the QOverPt error. More...
 
float IDTPM::getQOverPTError (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::qOverPTError (const U &p)
 
float IDTPM::getPTError (const xAOD::TrackParticle &p)
 Accessor utility function for getting the Pt error. More...
 
float IDTPM::getPTError (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::pTError (const U &p)
 
float IDTPM::getEtaError (const xAOD::TrackParticle &p)
 Accessor utility function for getting the Eta error. More...
 
float IDTPM::getEtaError (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::etaError (const U &p)
 
float IDTPM::getZ0SinThetaError (const xAOD::TrackParticle &p)
 Accessor utility function for getting the z0SinTheta error. More...
 
float IDTPM::getZ0SinThetaError (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::z0SinThetaError (const U &p)
 
template<class U1 , class U2 = U1>
float IDTPM::deltaPhi (const U1 &p1, const U2 &p2)
 Accessor utility function for getting the DeltaPhi betwen two tracks. More...
 
template<class U1 , class U2 = U1>
float IDTPM::deltaEta (const U1 &p1, const U2 &p2)
 Accessor utility function for getting the DeltaEta betwen two tracks. More...
 
template<class U1 , class U2 = U1>
float IDTPM::deltaR (const U1 &p1, const U2 &p2)
 Accessor utility function for getting the DeltaR betwen two tracks. More...
 
float IDTPM::getIsHadron (const xAOD::TrackParticle &)
 Accessor utility function for getting the value of isHadron. More...
 
float IDTPM::getIsHadron (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::isHadron (const U &p)
 
float IDTPM::getNInnerMostPixelHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nInnerMostPixelHits. More...
 
float IDTPM::getNInnerMostPixelHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nInnerMostPixelHits (const U &p)
 
float IDTPM::getNInnerMostPixelEndcapHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nInnerMostPixelEndcapHits. More...
 
float IDTPM::getNInnerMostPixelEndcapHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nInnerMostPixelEndcapHits (const U &p)
 
float IDTPM::getNNextToInnerMostPixelHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nNextToInnerMostPixelHits. More...
 
float IDTPM::getNNextToInnerMostPixelHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nNextToInnerMostPixelHits (const U &p)
 
float IDTPM::getNNextToInnerMostPixelEndcapHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nNextToInnerMostPixelEndcapHits. More...
 
float IDTPM::getNNextToInnerMostPixelEndcapHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nNextToInnerMostPixelEndcapHits (const U &p)
 
float IDTPM::getNInnerMostPixelSharedHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nInnerMostPixelSharedHits. More...
 
float IDTPM::getNInnerMostPixelSharedHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nInnerMostPixelSharedHits (const U &p)
 
float IDTPM::getNInnerMostPixelSharedEndcapHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nInnerMostPixelSharedEndcapHits. More...
 
float IDTPM::getNInnerMostPixelSharedEndcapHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nInnerMostPixelSharedEndcapHits (const U &p)
 
float IDTPM::getNPixelHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nPixelHits. More...
 
float IDTPM::getNPixelHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nPixelHits (const U &p)
 
float IDTPM::getNPixelHoles (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nPixelHoles. More...
 
float IDTPM::getNPixelHoles (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nPixelHoles (const U &p)
 
float IDTPM::getNPixelSharedHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nPixelSharedHits. More...
 
float IDTPM::getNPixelSharedHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nPixelSharedHits (const U &p)
 
float IDTPM::getPixeldEdx (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of pixeldEdx. More...
 
float IDTPM::getPixeldEdx (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::pixeldEdx (const U &p)
 
float IDTPM::getNSCTHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nSCTHits. More...
 
float IDTPM::getNSCTHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nSCTHits (const U &p)
 
float IDTPM::getNSCTHoles (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nSCTHoles. More...
 
float IDTPM::getNSCTHoles (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nSCTHoles (const U &p)
 
float IDTPM::getNSCTSharedHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nSCTSharedHits. More...
 
float IDTPM::getNSCTSharedHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nSCTSharedHits (const U &p)
 
float IDTPM::getNSiHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nSiHits. More...
 
float IDTPM::getNSiHits (const xAOD::TruthParticle &p)
 
template<class U >
float IDTPM::nSiHits (const U &p)
 
float IDTPM::getNTRTHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHits. More...
 
float IDTPM::getNTRTHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHits (const U &p)
 
float IDTPM::getNTRTHitsXe (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHitsXe. More...
 
float IDTPM::getNTRTHitsXe (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHitsXe (const U &p)
 
float IDTPM::getNTRTHitsAr (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHitsAr. More...
 
float IDTPM::getNTRTHitsAr (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHitsAr (const U &p)
 
float IDTPM::getNTRTHighThresholdHits (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHighThresholdHits. More...
 
float IDTPM::getNTRTHighThresholdHits (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHighThresholdHits (const U &p)
 
float IDTPM::getNTRTHighThresholdHitsXe (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHighThresholdHitsXe. More...
 
float IDTPM::getNTRTHighThresholdHitsXe (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHighThresholdHitsXe (const U &p)
 
float IDTPM::getNTRTHighThresholdHitsAr (const xAOD::TrackParticle &p)
 Accessor utility function for getting the value of nTRTHighThresholdHitsAr. More...
 
float IDTPM::getNTRTHighThresholdHitsAr (const xAOD::TruthParticle &)
 
template<class U >
float IDTPM::nTRTHighThresholdHitsAr (const U &p)
 

Detailed Description

Utility methods to access track/truth particles parmeters in a consitent way in this package.

Author
Marco Aparo marco.nosp@m..apa.nosp@m.ro@ce.nosp@m.rn.c.nosp@m.h
Date
25 September 2023

Definition in file TrackParametersHelper.h.