|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOG4SIM_ESCAPEDENERGYREGISTRY_H
6 #define CALOG4SIM_ESCAPEDENERGYREGISTRY_H
17 #ifdef G4MULTITHREADED
18 # include "tbb/concurrent_unordered_map.h"
74 typedef std::map< const G4String, std::unique_ptr<VEscapedEnergyProcessing> >
m_processingMap_t;
78 #ifdef G4MULTITHREADED
80 using EERThreadMap_t = tbb::concurrent_unordered_map< std::thread::id, EscapedEnergyRegistry*, std::hash<std::thread::id> >;
94 #endif // CaloG4_EscapedEnergyRegistry_H
JetConstituentVector::iterator iterator
void AddAndAdoptProcessing(const G4String &name, std::unique_ptr< VEscapedEnergyProcessing > process)
~EscapedEnergyRegistry()=default
m_processingMap_t::iterator m_processingMap_ptr_t
VEscapedEnergyProcessing * GetProcessing(const G4String &volumeName) const
Keeps track of which types of volumes use which VEscapedEnergyProcessing objects.
static EscapedEnergyRegistry * GetInstance()
EscapedEnergyRegistry()=default
m_processingMap_t::const_iterator m_processingMap_const_ptr_t
m_processingMap_t m_processingMap
Virtual interface for escaped energy processor classes.
#define ATLAS_THREAD_SAFE
Define macros for attributes used to control the static checker.
std::map< const G4String, std::unique_ptr< VEscapedEnergyProcessing > > m_processingMap_t