ATLAS Offline Software
|
Class to hold N-to-one aassociations between tracks and vertices. More...
#include <TrackVertexAssociation.h>
Public Member Functions | |
TrackVertexAssociation (const xAOD::TrackParticleContainer *trkCont=0) | |
void | associate (const xAOD::TrackParticle *trk, const xAOD::Vertex *vtx) |
const xAOD::Vertex * | associatedVertex (const xAOD::TrackParticle *trk) const |
std::vector< const xAOD::TrackParticle * > | associatedTracks (const xAOD::Vertex *vtx) const |
Protected Attributes | |
std::vector< const xAOD::Vertex * > | m_vertex |
const xAOD::TrackParticleContainer * | m_trackContainer |
Class to hold N-to-one aassociations between tracks and vertices.
It is assumed the track container is the one that directly holds the tracks, i.e. is not a view container.
Definition at line 23 of file TrackVertexAssociation.h.
jet::TrackVertexAssociation::TrackVertexAssociation | ( | const xAOD::TrackParticleContainer * | trkCont = 0 | ) |
Definition at line 9 of file TrackVertexAssociation.cxx.
void jet::TrackVertexAssociation::associate | ( | const xAOD::TrackParticle * | trk, |
const xAOD::Vertex * | vtx | ||
) |
Definition at line 19 of file TrackVertexAssociation.cxx.
std::vector< const xAOD::TrackParticle * > jet::TrackVertexAssociation::associatedTracks | ( | const xAOD::Vertex * | vtx | ) | const |
Definition at line 27 of file TrackVertexAssociation.cxx.
const xAOD::Vertex * jet::TrackVertexAssociation::associatedVertex | ( | const xAOD::TrackParticle * | trk | ) | const |
Definition at line 23 of file TrackVertexAssociation.cxx.
|
protected |
Definition at line 42 of file TrackVertexAssociation.h.
|
protected |
Definition at line 41 of file TrackVertexAssociation.h.