16 : G4VUserActionInitialization(),
18 m_pGenerator(p.getParameter<edm::
ParameterSet>(
"Generator")),
19 m_pPhysics(p.getParameter<edm::
ParameterSet>(
"Physics")),
20 m_pRunAction(p.getParameter<edm::
ParameterSet>(
"RunAction")),
21 m_pEventAction(p.getParameter<edm::
ParameterSet>(
"EventAction")),
22 m_pStackingAction(p.getParameter<edm::
ParameterSet>(
"StackingAction")),
23 m_pTrackingAction(p.getParameter<edm::
ParameterSet>(
"TrackingAction")),
24 m_pSteppingAction(p.getParameter<edm::
ParameterSet>(
"SteppingAction"))
39 SetUserAction(runAction);
40 interface->Connect(runAction);
45 #include "G4AutoLock.hh"
46 namespace { G4Mutex ActionInitializationMutex = G4MUTEX_INITIALIZER; }
50 G4AutoLock
l(&ActionInitializationMutex);
58 SetUserAction(runAction);
59 interface->Connect(runAction);
62 interface->GetSimTrackManager());
63 SetUserAction(eventAction);
64 interface->Connect(eventAction);
68 SetUserAction(trackAction);
69 interface->Connect(trackAction);
73 SetUserAction(stepAction);
74 interface->Connect(stepAction);
edm::ParameterSet m_pStackingAction
edm::ParameterSet m_pRunAction
edm::ParameterSet m_pEventAction
virtual void BuildForMaster() const
ActionInitialization(const edm::ParameterSet &ps, RunManager *runm)
virtual void Build() const
edm::ParameterSet m_pSteppingAction
virtual ~ActionInitialization()
edm::ParameterSet m_pTrackingAction