|  | ATLAS Offline Software
    | 
this gets the four momentum of a track, given the mass (and assuming a charge of +/- 1) More...
#include <TrackHelpers.h>
| Public Types | |
| using | GenVecFourMom_t = xAOD::TrackParticle::GenVecFourMom_t | 
| Public Member Functions | |
| TrackMomentumAccessors (ColumnarTool< CM > &columnarTool) | |
| GenVecFourMom_t | genvecP4 (ObjectId< CI, CM > trk, double m) const | 
| double | pt (ObjectId< CI, CM > object, double m) const | 
| double | eta (ObjectId< CI, CM > object, double m) const | 
| double | phi (ObjectId< CI, CM > object, double m) const | 
| Private Attributes | |
| ColumnAccessor< CI, float, CM > | m_qOverPAcc | 
| ColumnAccessor< CI, float, CM > | m_thetaAcc | 
| ColumnAccessor< CI, RetypeColumn< double, float >, CM > | m_phiAcc | 
this gets the four momentum of a track, given the mass (and assuming a charge of +/- 1)
Ideally this should probably be integrated with MomentumAccessors, except for the two following issues:
MomentumAccessors doesn't allow to pass in a mass, which is needed for supporting different particle hypothesesMomentumAccessors doesn't support "variant" container IDs, which muons require for their tracks.If these issues get resolved, this class could be merge into that class, or otherwise it could potentially be set up as some parallel mechanism.
Definition at line 63 of file TrackHelpers.h.
| using columnar::TrackHelpers::TrackMomentumAccessors< CI, CM >::GenVecFourMom_t = xAOD::TrackParticle::GenVecFourMom_t | 
Definition at line 77 of file TrackHelpers.h.
| 
 | inline | 
Definition at line 71 of file TrackHelpers.h.
| 
 | inline | 
Definition at line 84 of file TrackHelpers.h.
| 
 | inline | 
Definition at line 78 of file TrackHelpers.h.
| 
 | inline | 
Definition at line 86 of file TrackHelpers.h.
| 
 | inline | 
Definition at line 82 of file TrackHelpers.h.
| 
 | private | 
Definition at line 67 of file TrackHelpers.h.
| 
 | private | 
Definition at line 65 of file TrackHelpers.h.
| 
 | private | 
Definition at line 66 of file TrackHelpers.h.
 1.8.18
 1.8.18