DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Concrete implementation of the Geant4 user initialization action sequence. More...
Public Member Functions | |
Geant4UserActionInitialization (Geant4Context *ctxt, Geant4UserInitializationSequence *seq) | |
Standard constructor. More... | |
virtual | ~Geant4UserActionInitialization () |
Default destructor. More... | |
virtual void | Build () const final |
Build the actions for the worker thread. More... | |
virtual void | BuildForMaster () const final |
Build the action sequences for the master thread. More... | |
Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4UserInitializationSequence > | |
SequenceHdl () | |
Default constructor. More... | |
SequenceHdl (Geant4Context *ctxt, Geant4UserInitializationSequence *seq) | |
Initializing constructor. More... | |
virtual | ~SequenceHdl () |
Default destructor. More... | |
void | _aquire (Geant4UserInitializationSequence *s) |
Aquire object reference. More... | |
void | _release () |
Release object. More... | |
void | updateContext (Geant4Context *ctxt) |
Update Geant4Context for current call. More... | |
Geant4Context * | context () const |
Access reference to the current active Geant4Context structure. More... | |
Geant4Kernel & | kernel () const |
Access reference to the current active Geant4Kernel structure. More... | |
void | configureFiber (Geant4Context *ctxt) |
G4 callback in multi threaded mode to configure thread fiber. More... | |
void | createClientContext (const G4Run *run) |
Create Geant4 run context. More... | |
void | createClientContext (const G4Event *evt) |
Create Geant4 event context. More... | |
void | destroyClientContext (const G4Run *) |
Destroy Geant4 run context. More... | |
void | destroyClientContext (const G4Event *) |
Destroy Geant4 event context. More... | |
Additional Inherited Members | |
Public Types inherited from dd4hep::sim::SequenceHdl< Geant4UserInitializationSequence > | |
typedef SequenceHdl< Geant4UserInitializationSequence > | Base |
Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4UserInitializationSequence > | |
Geant4UserInitializationSequence * | m_sequence |
Geant4Context * | m_activeContext |
Concrete implementation of the Geant4 user initialization action sequence.
Definition at line 355 of file Geant4Exec.cpp.
|
inline |
Standard constructor.
Definition at line 361 of file Geant4Exec.cpp.
|
inlinevirtual |
Default destructor.
Definition at line 365 of file Geant4Exec.cpp.
|
finalvirtual |
Build the actions for the worker thread.
Set user generator action sequence. Not optional, since event context is defined inside
Set the run action sequence. Not optional, since run context is defined/destroyed inside
Set the event action sequence. Not optional, since event context is destroyed inside
Set the tracking action sequence
Set the stepping action sequence
Set the stacking action sequence
Definition at line 439 of file Geant4Exec.cpp.
|
finalvirtual |
Build the action sequences for the master thread.
Definition at line 489 of file Geant4Exec.cpp.