ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleToCaloExtensionMap.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
5
9
13
15 m_caloExtensionMap.insert( std::pair<const xAOD::IParticle*, const Trk::TrackParameters*>(particle, caloEntry) );
16}
17
19{
20 auto pos = m_caloExtensionMap.find(particle);
21 if (pos == m_caloExtensionMap.end())
22 return nullptr;
23 else
24 return pos->second;
25}
26
28 return m_caloExtensionMap.size();
29}
std::map< const xAOD::IParticle *, const Trk::TrackParameters * > m_caloExtensionMap
void addEntry(const xAOD::IParticle *particle, const Trk::TrackParameters *extension)
const Trk::TrackParameters * readCaloEntry(const xAOD::IParticle *particle) const
Class providing the definition of the 4-vector interface.
ParametersBase< TrackParametersDim, Charged > TrackParameters