DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class, which allows all Geant4Action to be stored. More...
#include <Geant4ActionContainer.h>
Public Member Functions | |
Geant4Context * | workerContext () |
Thread's Geant4 execution context. More... | |
virtual int | terminate () |
Terminate all associated action instances. More... | |
Geant4GeneratorActionSequence * | generatorAction (bool create) |
Access generator action sequence. More... | |
Geant4GeneratorActionSequence & | generatorAction () |
Access generator action sequence. More... | |
Geant4RunActionSequence * | runAction (bool create) |
Access run action sequence. More... | |
Geant4RunActionSequence & | runAction () |
Access run action sequence. More... | |
Geant4EventActionSequence * | eventAction (bool create) |
Access run action sequence. More... | |
Geant4EventActionSequence & | eventAction () |
Access run action sequence. More... | |
Geant4SteppingActionSequence * | steppingAction (bool create) |
Access stepping action sequence. More... | |
Geant4SteppingActionSequence & | steppingAction () |
Access stepping action sequence. More... | |
Geant4TrackingActionSequence * | trackingAction (bool create) |
Access tracking action sequence. More... | |
Geant4TrackingActionSequence & | trackingAction () |
Access tracking action sequence. More... | |
Geant4StackingActionSequence * | stackingAction (bool create) |
Access stacking action sequence. More... | |
Geant4StackingActionSequence & | stackingAction () |
Access stacking action sequence. More... | |
Geant4DetectorConstructionSequence * | detectorConstruction (bool create) |
Access detector construcion action sequence (geometry+sensitives+field) More... | |
Geant4DetectorConstructionSequence & | detectorConstruction () |
Access detector construcion action sequence (geometry+sensitives+field) More... | |
Geant4SensDetSequences & | sensitiveActions () const |
Access to the sensitive detector sequences from the actioncontainer object. More... | |
Geant4SensDetActionSequence * | sensitiveAction (const std::string &name) |
Access to the sensitive detector action from the actioncontainer object. More... | |
Geant4PhysicsListActionSequence * | physicsList (bool create) |
Access to the physics list. More... | |
Geant4PhysicsListActionSequence & | physicsList () |
Access to the physics list. More... | |
Geant4UserInitializationSequence * | userInitialization (bool create) |
Access to the user initialization object. More... | |
Geant4UserInitializationSequence & | userInitialization () |
Access to the user initialization object. More... | |
Protected Member Functions | |
template<typename C > | |
bool | registerSequence (C *&seq, const std::string &name) |
Helper to register an action sequence. More... | |
Geant4ActionContainer (Geant4Context *ctxt=0) | |
Standard constructor. More... | |
virtual | ~Geant4ActionContainer () |
Default destructor. More... | |
void | setContext (Geant4Context *ctxt) |
Set the thread's context. More... | |
Protected Attributes | |
Geant4Context * | m_context { nullptr } |
Geant4 worker context (thread specific) More... | |
Geant4GeneratorActionSequence * | m_generatorAction { nullptr } |
Reference to the Geant4 primary generator action. More... | |
Geant4RunActionSequence * | m_runAction { nullptr } |
Reference to the Geant4 run action. More... | |
Geant4EventActionSequence * | m_eventAction { nullptr } |
Reference to the Geant4 event action. More... | |
Geant4TrackingActionSequence * | m_trackingAction { nullptr } |
Reference to the Geant4 track action. More... | |
Geant4SteppingActionSequence * | m_steppingAction { nullptr } |
Reference to the Geant4 step action. More... | |
Geant4StackingActionSequence * | m_stackingAction { nullptr } |
Reference to the Geant4 stacking action. More... | |
Geant4DetectorConstructionSequence * | m_constructionAction { nullptr } |
Reference to the Geant4 detector construction sequence. More... | |
Geant4SensDetSequences * | m_sensDetActions { nullptr } |
Reference to the Geant4 sensitive action sequences. More... | |
Geant4PhysicsListActionSequence * | m_physicsList { nullptr } |
Reference to the Geant4 physics list. More... | |
Geant4UserInitializationSequence * | m_userInit { nullptr } |
Reference to the user initialization object. More... | |
Class, which allows all Geant4Action to be stored.
Definition at line 60 of file Geant4ActionContainer.h.
|
protected |
Standard constructor.
Definition at line 38 of file Geant4ActionContainer.cpp.
|
protectedvirtual |
Default destructor.
Definition at line 45 of file Geant4ActionContainer.cpp.
|
inline |
Access detector construcion action sequence (geometry+sensitives+field)
Definition at line 152 of file Geant4ActionContainer.h.
Geant4DetectorConstructionSequence * Geant4ActionContainer::detectorConstruction | ( | bool | create | ) |
Access detector construcion action sequence (geometry+sensitives+field)
Definition at line 127 of file Geant4ActionContainer.cpp.
|
inline |
Access run action sequence.
Definition at line 124 of file Geant4ActionContainer.h.
Geant4EventActionSequence * Geant4ActionContainer::eventAction | ( | bool | create | ) |
Access run action sequence.
Access event action sequence.
Definition at line 99 of file Geant4ActionContainer.cpp.
|
inline |
Access generator action sequence.
Definition at line 110 of file Geant4ActionContainer.h.
Geant4GeneratorActionSequence * Geant4ActionContainer::generatorAction | ( | bool | create | ) |
Access generator action sequence.
Definition at line 85 of file Geant4ActionContainer.cpp.
|
inline |
Access to the physics list.
Definition at line 164 of file Geant4ActionContainer.h.
Geant4PhysicsListActionSequence * Geant4ActionContainer::physicsList | ( | bool | create | ) |
Access to the physics list.
Definition at line 150 of file Geant4ActionContainer.cpp.
|
protected |
Helper to register an action sequence.
Definition at line 75 of file Geant4ActionContainer.cpp.
|
inline |
Access run action sequence.
Definition at line 117 of file Geant4ActionContainer.h.
Geant4RunActionSequence * Geant4ActionContainer::runAction | ( | bool | create | ) |
Access run action sequence.
Definition at line 92 of file Geant4ActionContainer.cpp.
Geant4SensDetActionSequence * Geant4ActionContainer::sensitiveAction | ( | const std::string & | name | ) |
Access to the sensitive detector action from the actioncontainer object.
Access to the sensitive detector action from the kernel object.
Definition at line 139 of file Geant4ActionContainer.cpp.
Geant4SensDetSequences & Geant4ActionContainer::sensitiveActions | ( | ) | const |
Access to the sensitive detector sequences from the actioncontainer object.
Access to the sensitive detector sequences from the kernel object.
Definition at line 134 of file Geant4ActionContainer.cpp.
|
protected |
Set the thread's context.
Definition at line 71 of file Geant4ActionContainer.cpp.
|
inline |
Access stacking action sequence.
Definition at line 145 of file Geant4ActionContainer.h.
Geant4StackingActionSequence * Geant4ActionContainer::stackingAction | ( | bool | create | ) |
Access stacking action sequence.
Definition at line 120 of file Geant4ActionContainer.cpp.
|
inline |
Access stepping action sequence.
Definition at line 131 of file Geant4ActionContainer.h.
Geant4SteppingActionSequence * Geant4ActionContainer::steppingAction | ( | bool | create | ) |
Access stepping action sequence.
Definition at line 106 of file Geant4ActionContainer.cpp.
|
virtual |
Terminate all associated action instances.
Reimplemented in dd4hep::sim::Geant4Kernel.
Definition at line 51 of file Geant4ActionContainer.cpp.
|
inline |
Access tracking action sequence.
Definition at line 138 of file Geant4ActionContainer.h.
Geant4TrackingActionSequence * Geant4ActionContainer::trackingAction | ( | bool | create | ) |
Access tracking action sequence.
Definition at line 113 of file Geant4ActionContainer.cpp.
|
inline |
Access to the user initialization object.
Definition at line 170 of file Geant4ActionContainer.h.
Geant4UserInitializationSequence * Geant4ActionContainer::userInitialization | ( | bool | create | ) |
Access to the user initialization object.
Access to the physics list.
Definition at line 157 of file Geant4ActionContainer.cpp.
Geant4Context * Geant4ActionContainer::workerContext | ( | ) |
Thread's Geant4 execution context.
Definition at line 65 of file Geant4ActionContainer.cpp.
|
protected |
Reference to the Geant4 detector construction sequence.
Definition at line 79 of file Geant4ActionContainer.h.
|
protected |
Geant4 worker context (thread specific)
Definition at line 64 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 event action.
Definition at line 71 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 primary generator action.
Definition at line 67 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 physics list.
Definition at line 84 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 run action.
Definition at line 69 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 sensitive action sequences.
Definition at line 82 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 stacking action.
Definition at line 77 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 step action.
Definition at line 75 of file Geant4ActionContainer.h.
|
protected |
Reference to the Geant4 track action.
Definition at line 73 of file Geant4ActionContainer.h.
|
protected |
Reference to the user initialization object.
Definition at line 86 of file Geant4ActionContainer.h.