ATLAS Offline Software
IParticleToCaloExtensionMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECTOOLS_IPARTICLETOCALEXTENSIONMAP_H
7 #define TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECTOOLS_IPARTICLETOCALEXTENSIONMAP_H
8 
10 
11 #include "StoreGate/StoreGateSvc.h"
12 
14  public:
17 
18  void addEntry(const xAOD::IParticle* particle, const Trk::TrackParameters* extension);
20  unsigned int size() const;
21 
22  private :
23  std::map<const xAOD::IParticle*, const Trk::TrackParameters* > m_caloExtensionMap;
24 
25 };
26 
27 #include "AthenaKernel/CLASS_DEF.h"
28 CLASS_DEF( IParticleToCaloExtensionMap , 221362399 , 1 )
29 
30 #endif // TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECTOOLS_IPARTICLETOCALEXTENSIONMAP_H
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
IParticleToCaloExtensionMap::readCaloEntry
const Trk::TrackParameters * readCaloEntry(const xAOD::IParticle *particle) const
Definition: IParticleToCaloExtensionMap.cxx:18
IParticleToCaloExtensionMap
Definition: IParticleToCaloExtensionMap.h:13
IParticleToCaloExtensionMap::size
unsigned int size() const
Definition: IParticleToCaloExtensionMap.cxx:27
IParticleToCaloExtensionMap::IParticleToCaloExtensionMap
IParticleToCaloExtensionMap()
Definition: IParticleToCaloExtensionMap.cxx:6
Trk::ParametersBase
Definition: ParametersBase.h:55
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
TrackParticle.h
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
StoreGateSvc.h
CLASS_DEF.h
macros to associate a CLID to a type
IParticleToCaloExtensionMap::~IParticleToCaloExtensionMap
~IParticleToCaloExtensionMap()
Definition: IParticleToCaloExtensionMap.cxx:10
IParticleToCaloExtensionMap::addEntry
void addEntry(const xAOD::IParticle *particle, const Trk::TrackParameters *extension)
Definition: IParticleToCaloExtensionMap.cxx:14
IParticleToCaloExtensionMap::m_caloExtensionMap
std::map< const xAOD::IParticle *, const Trk::TrackParameters * > m_caloExtensionMap
Definition: IParticleToCaloExtensionMap.h:23