12 size_t Ntracks = trkCont->
size();
14 Ntracks = trkCont->front()->container()->size_v();
29 std::vector<const xAOD::TrackParticle*> tracks;
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
size_type size() const noexcept
Returns the number of elements in the collection.
size_t index() const
Return the index of this element within its container.
const xAOD::Vertex * associatedVertex(const xAOD::TrackParticle *trk) const
TrackVertexAssociation(const xAOD::TrackParticleContainer *trkCont=0)
void associate(const xAOD::TrackParticle *trk, const xAOD::Vertex *vtx)
std::vector< const xAOD::Vertex * > m_vertex
const xAOD::TrackParticleContainer * m_trackContainer
std::vector< const xAOD::TrackParticle * > associatedTracks(const xAOD::Vertex *vtx) const
@ OWN_ELEMENTS
this data object owns its elements
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".