1 #ifndef SimG4Core_RunManager_H 2 #define SimG4Core_RunManager_H 24 class ConsumesCollector;
33 class ChordFinderSetter;
55 class G4RunManagerKernel;
70 void initializeUserActions();
75 void abortRun(
bool softAbort=
false);
77 const G4Run *
currentRun()
const {
return m_currentRun; }
87 return m_sensCaloDets;
89 std::vector<std::shared_ptr<SimProducer> >
producers()
const {
101 G4Event * generateEvent(
edm::Event& inpevt );
102 void resetGenParticleId(
edm::Event& inpevt );
103 void DumpMagneticField(
const G4Field*)
const;
std::vector< SensitiveCaloDetector * > & sensCaloDetectors()
edm::ParameterSet m_pGenerator
edm::EDGetTokenT< edm::HepMCProduct > m_HepMC
std::vector< std::shared_ptr< SimProducer > > producers() const
edm::ESWatcher< IdealMagneticFieldRecord > idealMagRcdWatcher_
edm::EDGetTokenT< edm::LHCTransportLinkContainer > m_LHCtr
SimActivityRegistry m_registry
std::vector< std::shared_ptr< SimProducer > > m_producers
const G4Event * currentEvent() const
edm::ESWatcher< IdealGeometryRecord > idealGeomRcdWatcher_
const Generator * generator() const
std::vector< SensitiveTkDetector * > & sensTkDetectors()
std::vector< SensitiveCaloDetector * > m_sensCaloDets
std::vector< SensitiveTkDetector * > m_sensTkDets
const G4Run * currentRun() const
SimRunInterface * m_runInterface
bool m_RestorePhysicsTables
std::vector< std::shared_ptr< SimWatcher > > m_watchers
std::unique_ptr< CMSSteppingVerbose > m_sVerbose
edm::ParameterSet m_pStackingAction
edm::ParameterSet m_pEventAction
edm::ParameterSet m_pField
edm::ParameterSet m_pPhysics
edm::ParameterSet m_pVertexGenerator
edm::ParameterSet m_pSteppingAction
edm::ParameterSet m_g4overlap
RunAction * m_userRunAction
sim::ChordFinderSetter * m_chordFinderSetter
PrimaryTransformer * m_primaryTransformer
std::string m_PhysicsTablesDir
bool m_StorePhysicsTables
std::unique_ptr< CustomUIsession > m_UIsession
std::unique_ptr< DDG4ProductionCuts > m_prodCuts
edm::ParameterSet m_pGeometry
edm::ParameterSet m_pRunAction
std::unique_ptr< SimTrackManager > m_trackManager
edm::ParameterSet m_pTrackingAction
std::vector< std::string > m_G4Commands
std::unique_ptr< PhysicsList > m_physicsList
bool m_managerInitialized
G4RunManagerKernel * m_kernel