1 #ifndef SimG4Core_Application_RunManagerMTWorker_H
2 #define SimG4Core_Application_RunManagerMTWorker_H
14 #include <tbb/concurrent_vector.h>
15 #include <unordered_map>
22 class ConsumesCollector;
62 void abortRun(
bool softAbort =
false);
74 std::vector<std::shared_ptr<SimProducer>>&
producers();
122 std::unordered_map<std::string, std::unique_ptr<SensitiveDetectorMakerBase>>
m_sdMakers;
edm::ParameterSet m_pSteppingAction
CustomUIsession * m_UIsession
void initializeUserActions()
SimTrackManager * GetSimTrackManager()
std::unique_ptr< CMSSteppingVerbose > m_sVerbose
void beginRun(const edm::EventSetup &)
edm::EDGetTokenT< edm::HepMCProduct > m_InToken
edm::EDGetTokenT< edm::HepMCProduct > m_LHCToken
edm::ParameterSet m_pEventAction
edm::ParameterSet m_pRunAction
std::unordered_map< std::string, std::unique_ptr< SensitiveDetectorMakerBase > > m_sdMakers
std::vector< SensitiveTkDetector * > & sensTkDetectors()
void resetGenParticleId(const edm::Event &inpevt)
RunManagerMTWorker(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
std::unique_ptr< G4SimEvent > produce(const edm::Event &inpevt, const edm::EventSetup &es, RunManagerMT &runManagerMaster)
int getThreadIndex() const
void abortRun(bool softAbort=false)
std::vector< SensitiveCaloDetector * > & sensCaloDetectors()
edm::ParameterSet m_pTrackingAction
edm::ParameterSet m_pField
G4Event * generateEvent(const edm::Event &inpevt)
std::vector< std::shared_ptr< SimProducer > > & producers()
edm::EDGetTokenT< edm::LHCTransportLinkContainer > m_theLHCTlinkToken
edm::ParameterSet m_pCustomUIsession
const MagneticField * m_pMagField
void initializeG4(RunManagerMT *runManagerMaster, const edm::EventSetup &es)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > m_MagField
void DumpMagneticField(const G4Field *, const std::string &) const
edm::ParameterSet m_pStackingAction
void Connect(RunAction *)