DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class, which allows all Geant4Action derivatives to access the DDG4 kernel structures. More...
#include <Geant4Kernel.h>
Classes | |
class | PhaseSelector |
Embedded helper class to facilitate map access to the phases. More... | |
Public Types | |
enum | event_loop_status { EVENTLOOP_HALT = 0, EVENTLOOP_RUNNING = 1 } |
enum | State { SETTING_UP, INITIALIZED } |
typedef std::map< unsigned long, Geant4Kernel * > | Workers |
typedef std::map< std::string, Geant4ActionPhase * > | Phases |
typedef std::map< std::string, Geant4Action * > | GlobalActions |
typedef std::map< std::string, int > | ClientOutputLevels |
typedef std::pair< void *, const std::type_info * > | UserFramework |
using | UserCallbacks = std::vector< std::function< void()> > |
Public Member Functions | |
Geant4Kernel (Detector &description) | |
Standard constructor for the master instance. More... | |
Geant4Kernel & | master () const |
Thread's master context. More... | |
bool | isMultiThreaded () const |
virtual | ~Geant4Kernel () |
Default destructor. More... | |
const Phases & | phases () const |
Access phase phases. More... | |
Detector & | detectorDescription () const |
Access to detector description. More... | |
G4TrackingManager * | trackMgr () const |
Access the tracking manager. More... | |
void | setTrackMgr (G4TrackingManager *mgr) |
Access the tracking manager. More... | |
const std::string & | directoryName () const |
Access the command directory. More... | |
unsigned long | id () const |
Access worker identifier. More... | |
G4RunManager & | runManager () |
Access to the Geant4 run manager. More... | |
UserFramework & | userFramework () |
Generic framework access. More... | |
template<typename T > | |
void | setUserFramework (T *object) |
Set the framework context to the kernel object. More... | |
const std::string | defaultSensitiveDetectorType () const |
Property access: Name of the default factory to create G4VSensitiveDetector instances. More... | |
const std::map< std::string, std::string > & | sensitiveDetectorTypes () const |
Property access: Names with specialized factories to create G4VSensitiveDetector instances. More... | |
void | defineSensitiveDetectorType (const std::string &type, const std::string &factory) |
Add new sensitive type to factory list. More... | |
G4VPhysicalVolume * | world () const |
Access to geometry world. More... | |
void | setWorld (G4VPhysicalVolume *volume) |
Set the geometry world. More... | |
PropertyManager & | properties () |
Access to the properties of the object. More... | |
void | printProperties () const |
Print the property values. More... | |
template<typename T > | |
Geant4Kernel & | declareProperty (const std::string &nam, T &val) |
Declare property. More... | |
template<typename T > | |
Geant4Kernel & | declareProperty (const char *nam, T &val) |
Declare property. More... | |
bool | hasProperty (const std::string &name) const |
Check property for existence. More... | |
Property & | property (const std::string &name) |
Access single property. More... | |
PrintLevel | outputLevel () const |
Access the output level. More... | |
PrintLevel | setOutputLevel (PrintLevel new_level) |
Set the global output level of the kernel object; returns previous value. More... | |
void | setOutputLevel (const std::string object, PrintLevel new_level) |
Fill cache with the global output level of a named object. Must be set before instantiation. More... | |
PrintLevel | getOutputLevel (const std::string object) const |
Retrieve the global output level of a named object. More... | |
void | register_configure (const std::function< void()> &callback) |
Register configure callback. Signature: (function)() More... | |
void | register_initialize (const std::function< void()> &callback) |
Register initialize callback. Signature: (function)() More... | |
void | register_terminate (const std::function< void()> &callback) |
Register terminate callback. Signature: (function)() More... | |
Geant4Interrupts & | interruptHandler () const |
Access interrupt handler. Will be created on the first call. More... | |
void | triggerStop () |
Trigger smooth end-of-event-loop with finishing currently processing event. More... | |
bool | processEvents () const |
Check if event processing should be continued. More... | |
bool | registerInterruptHandler (int sig_num) |
Install DDG4 default handler for a given signal. If no handler: return false. More... | |
void | applyInterruptHandlers () |
(Re-)apply registered interrupt handlers to override potentially later registrations by other libraries More... | |
Geant4Kernel & | registerGlobalAction (Geant4Action *action) |
Register action by name to be retrieved when setting up and connecting action objects. More... | |
Geant4Action * | globalAction (const std::string &action_name, bool throw_if_not_present=true) |
Retrieve action from repository. More... | |
Geant4Kernel & | registerGlobalFilter (Geant4Action *filter) |
Register filter by name to be retrieved when setting up and connecting filter objects. More... | |
Geant4Action * | globalFilter (const std::string &filter_name, bool throw_if_not_present=true) |
Retrieve filter from repository. More... | |
Geant4ActionPhase * | getPhase (const std::string &name) |
Access phase by name. More... | |
virtual Geant4ActionPhase * | addSimplePhase (const std::string &name, bool throw_on_exist) |
Add a new phase to the phase. More... | |
virtual Geant4ActionPhase * | addPhase (const std::string &name, const std::type_info &arg1, const std::type_info &arg2, const std::type_info &arg3, bool throw_on_exist) |
Add a new phase to the phase. More... | |
template<typename A0 > | |
Geant4ActionPhase * | addPhase (const std::string &name, bool throw_on_exist=true) |
Add a new phase to the phase. More... | |
template<typename A0 , typename A1 > | |
Geant4ActionPhase * | addPhase (const std::string &name, bool throw_on_exist=true) |
Add a new phase to the phase. More... | |
template<typename A0 , typename A1 , typename A2 > | |
Geant4ActionPhase * | addPhase (const std::string &name, bool throw_on_exist=true) |
Add a new phase to the phase. More... | |
virtual bool | removePhase (const std::string &name) |
Remove an existing phase from the phase. If not existing returns false. More... | |
virtual void | destroyPhases () |
Destroy all phases. To be called only at shutdown. More... | |
virtual bool | executePhase (const std::string &name, const void **args) const |
Execute phase action if it exists. More... | |
virtual void | loadGeometry (const std::string &compact_file) |
Construct detector geometry using description plugin. More... | |
virtual void | loadXML (const char *fname) |
Load XML file. More... | |
virtual Geant4Kernel & | createWorker () |
Create identified worker instance. More... | |
Geant4Kernel & | worker (unsigned long thread_identifier, bool create_if=false) |
Access worker instance by its identifier. More... | |
int | numWorkers () const |
Access number of workers. More... | |
virtual int | configure () |
Run the simulation: Configure Geant4. More... | |
virtual int | initialize () |
Run the simulation: Initialize Geant4. More... | |
virtual int | run () |
Run the simulation: Simulate the number of events given by the property "NumEvents". More... | |
virtual int | runEvents (int num_events) |
Run the simulation: Simulate the number of events "num_events" and modify the property "NumEvents". More... | |
virtual int | terminate () override |
Run the simulation: Terminate Geant4. More... | |
Public Member Functions inherited from dd4hep::sim::Geant4ActionContainer | |
Geant4Context * | workerContext () |
Thread's Geant4 execution context. 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... | |
Static Public Member Functions | |
static unsigned long int | thread_self () |
Access thread identifier. More... | |
static Geant4Kernel & | instance (Detector &description) |
Instance accessor. More... | |
Public Attributes | |
class dd4hep::sim::Geant4Kernel::PhaseSelector | phase |
Protected Member Functions | |
bool | isMaster () const |
bool | isWorker () const |
Geant4Kernel (Geant4Kernel *m, unsigned long identifier) | |
Standard constructor for workers. More... | |
Protected Member Functions inherited from dd4hep::sim::Geant4ActionContainer | |
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 | |
G4RunManager * | m_runManager { nullptr } |
Reference to the run manager. More... | |
G4UIdirectory * | m_control { nullptr } |
Top level control directory. More... | |
G4TrackingManager * | m_trackMgr { nullptr } |
Reference to Geant4 track manager. More... | |
Detector * | m_detDesc { nullptr } |
Detector description object. More... | |
PropertyManager | m_properties { } |
Property pool. More... | |
UserFramework | m_userFramework { } |
Reference to the user framework. More... | |
Phases | m_phases { } |
Action phases. More... | |
Workers | m_workers { } |
Worker threads. More... | |
GlobalActions | m_globalActions { } |
Globally registered actions. More... | |
GlobalActions | m_globalFilters { } |
Globally registered filters of sensitive detectors. More... | |
ClientOutputLevels | m_clientLevels { } |
Property: Client output levels. More... | |
std::string | m_controlName { } |
Property: Name of the G4UI command tree. More... | |
std::string | m_uiName { } |
Property: Name of the UI action. Must be member of the global actions. More... | |
std::string | m_runManagerType |
Property: Name of the G4 run manager factory to be used. Default: Geant4RunManager. More... | |
std::string | m_dfltSensitiveDetectorType |
Property: Name of the default factory to create G4VSensitiveDetector instances. More... | |
std::map< std::string, std::string > | m_sensitiveDetectorTypes |
Property: Names with specialized factories to create G4VSensitiveDetector instances. More... | |
long | m_numEvent = 10 |
Property: Number of events to be executed in batch mode. More... | |
int | m_outputLevel = 0 |
Property: Output level. More... | |
int | m_numThreads = 0 |
Master property: Number of execution threads in multi threaded mode. More... | |
int | m_haveScoringMgr = false |
Master property: Instantiate the Geant4 scoring manager object. More... | |
int | m_processEvents = EVENTLOOP_RUNNING |
Master property: Flag if event loop is enabled. More... | |
UserCallbacks | m_actionConfigure { } |
Registered action callbacks on configure. More... | |
UserCallbacks | m_actionInitialize { } |
Registered action callbacks on initialize. More... | |
UserCallbacks | m_actionTerminate { } |
Registered action callbacks on terminate. More... | |
unsigned long | m_id = 0 |
Flag: Master instance (id<0) or worker (id >= 0) More... | |
unsigned long | m_ident = 0 |
G4VPhysicalVolume * | m_world = 0 |
Access to geometry world. More... | |
Geant4Kernel * | m_master { nullptr } |
Parent reference. More... | |
Geant4Context * | m_threadContext { nullptr } |
Thread context reference. More... | |
Geant4Interrupts * | m_interrupts { nullptr } |
Interrupt/signal handler: only on master instance. More... | |
Protected Attributes inherited from dd4hep::sim::Geant4ActionContainer | |
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 derivatives to access the DDG4 kernel structures.
To implement access to a user specified framework please see class Geant4Context.
Definition at line 64 of file Geant4Kernel.h.
typedef std::map<std::string,int> dd4hep::sim::Geant4Kernel::ClientOutputLevels |
Definition at line 69 of file Geant4Kernel.h.
typedef std::map<std::string, Geant4Action*> dd4hep::sim::Geant4Kernel::GlobalActions |
Definition at line 68 of file Geant4Kernel.h.
typedef std::map<std::string, Geant4ActionPhase*> dd4hep::sim::Geant4Kernel::Phases |
Definition at line 67 of file Geant4Kernel.h.
using dd4hep::sim::Geant4Kernel::UserCallbacks = std::vector<std::function<void()> > |
Definition at line 71 of file Geant4Kernel.h.
typedef std::pair<void*, const std::type_info*> dd4hep::sim::Geant4Kernel::UserFramework |
Definition at line 70 of file Geant4Kernel.h.
typedef std::map<unsigned long, Geant4Kernel*> dd4hep::sim::Geant4Kernel::Workers |
Definition at line 66 of file Geant4Kernel.h.
Enumerator | |
---|---|
EVENTLOOP_HALT | |
EVENTLOOP_RUNNING |
Definition at line 73 of file Geant4Kernel.h.
Enumerator | |
---|---|
SETTING_UP | |
INITIALIZED |
Definition at line 188 of file Geant4Kernel.h.
|
protected |
Standard constructor for workers.
Standard constructor.
Definition at line 113 of file Geant4Kernel.cpp.
Geant4Kernel::Geant4Kernel | ( | Detector & | description | ) |
Standard constructor for the master instance.
Standard constructor.
Definition at line 90 of file Geant4Kernel.cpp.
|
virtual |
Default destructor.
Definition at line 137 of file Geant4Kernel.cpp.
|
inline |
Add a new phase to the phase.
Definition at line 309 of file Geant4Kernel.h.
|
inline |
Add a new phase to the phase.
Definition at line 314 of file Geant4Kernel.h.
|
inline |
Add a new phase to the phase.
Definition at line 319 of file Geant4Kernel.h.
|
virtual |
|
virtual |
Add a new phase to the phase.
Definition at line 536 of file Geant4Kernel.cpp.
void Geant4Kernel::applyInterruptHandlers | ( | ) |
(Re-)apply registered interrupt handlers to override potentially later registrations by other libraries
In this case we overwrite signal handlers applied by Geant4.
Definition at line 206 of file Geant4Kernel.cpp.
|
virtual |
Run the simulation: Configure Geant4.
Configure Geant4 kernel object.
Definition at line 385 of file Geant4Kernel.cpp.
|
virtual |
Create identified worker instance.
Geant4 Multi threading support
Definition at line 217 of file Geant4Kernel.cpp.
Geant4Kernel & dd4hep::sim::Geant4Kernel::declareProperty | ( | const char * | nam, |
T & | val | ||
) |
Declare property.
Definition at line 361 of file Geant4Kernel.h.
Geant4Kernel & dd4hep::sim::Geant4Kernel::declareProperty | ( | const std::string & | nam, |
T & | val | ||
) |
Declare property.
Definition at line 355 of file Geant4Kernel.h.
|
inline |
Property access: Name of the default factory to create G4VSensitiveDetector instances.
Definition at line 219 of file Geant4Kernel.h.
void Geant4Kernel::defineSensitiveDetectorType | ( | const std::string & | type, |
const std::string & | factory | ||
) |
Add new sensitive type to factory list.
This is present mainly for debugging purposes and tests. Never necessary in real life! For all practical purpose the default type Geant4SensDet is sufficient.
Definition at line 268 of file Geant4Kernel.cpp.
|
virtual |
Destroy all phases. To be called only at shutdown.
Definition at line 569 of file Geant4Kernel.cpp.
|
inline |
Access to detector description.
Definition at line 201 of file Geant4Kernel.h.
|
inline |
Access the command directory.
Definition at line 207 of file Geant4Kernel.h.
|
virtual |
Execute phase action if it exists.
Definition at line 519 of file Geant4Kernel.cpp.
dd4hep::PrintLevel Geant4Kernel::getOutputLevel | ( | const std::string | object | ) | const |
Retrieve the global output level of a named object.
Definition at line 308 of file Geant4Kernel.cpp.
Geant4ActionPhase * Geant4Kernel::getPhase | ( | const std::string & | name | ) |
Access phase by name.
Definition at line 528 of file Geant4Kernel.cpp.
Geant4Action * Geant4Kernel::globalAction | ( | const std::string & | action_name, |
bool | throw_if_not_present = true |
||
) |
Retrieve action from repository.
Definition at line 476 of file Geant4Kernel.cpp.
Geant4Action * Geant4Kernel::globalFilter | ( | const std::string & | filter_name, |
bool | throw_if_not_present = true |
||
) |
Retrieve filter from repository.
Definition at line 508 of file Geant4Kernel.cpp.
bool Geant4Kernel::hasProperty | ( | const std::string & | name | ) | const |
Check property for existence.
Definition at line 293 of file Geant4Kernel.cpp.
|
inline |
Access worker identifier.
Definition at line 209 of file Geant4Kernel.h.
|
virtual |
Run the simulation: Initialize Geant4.
Initialize Geant4 kernel object.
Definition at line 396 of file Geant4Kernel.cpp.
|
static |
Instance accessor.
Install here the termination handler
Definition at line 163 of file Geant4Kernel.cpp.
Geant4Interrupts & Geant4Kernel::interruptHandler | ( | ) | const |
Access interrupt handler. Will be created on the first call.
Definition at line 177 of file Geant4Kernel.cpp.
|
inlineprotected |
Definition at line 145 of file Geant4Kernel.h.
|
inline |
Definition at line 161 of file Geant4Kernel.h.
|
inlineprotected |
Definition at line 146 of file Geant4Kernel.h.
|
virtual |
Construct detector geometry using description plugin.
Definition at line 357 of file Geant4Kernel.cpp.
|
virtual |
Load XML file.
Definition at line 364 of file Geant4Kernel.cpp.
|
inline |
Thread's master context.
Definition at line 158 of file Geant4Kernel.h.
int Geant4Kernel::numWorkers | ( | ) | const |
Access number of workers.
Definition at line 251 of file Geant4Kernel.cpp.
|
inline |
|
inline |
Access phase phases.
Definition at line 199 of file Geant4Kernel.h.
void Geant4Kernel::printProperties | ( | ) | const |
Print the property values.
Definition at line 283 of file Geant4Kernel.cpp.
bool Geant4Kernel::processEvents | ( | ) | const |
Check if event processing should be continued.
Access flag if event loop is enabled.
Definition at line 193 of file Geant4Kernel.cpp.
|
inline |
Access to the properties of the object.
Property access
Definition at line 240 of file Geant4Kernel.h.
dd4hep::Property & Geant4Kernel::property | ( | const std::string & | name | ) |
Access single property.
Definition at line 298 of file Geant4Kernel.cpp.
void Geant4Kernel::register_configure | ( | const std::function< void()> & | callback | ) |
Register configure callback. Signature: (function)()
Register configure callback.
Definition at line 370 of file Geant4Kernel.cpp.
void Geant4Kernel::register_initialize | ( | const std::function< void()> & | callback | ) |
Register initialize callback. Signature: (function)()
Register initialize callback.
Definition at line 375 of file Geant4Kernel.cpp.
void Geant4Kernel::register_terminate | ( | const std::function< void()> & | callback | ) |
Register terminate callback. Signature: (function)()
Register terminate callback.
Definition at line 380 of file Geant4Kernel.cpp.
Geant4Kernel & Geant4Kernel::registerGlobalAction | ( | Geant4Action * | action | ) |
Register action by name to be retrieved when setting up and connecting action objects.
Note: registered actions MUST be unique. However, not all actions need to registered.... Only register those, you later need to retrieve by name.
Definition at line 457 of file Geant4Kernel.cpp.
Geant4Kernel & Geant4Kernel::registerGlobalFilter | ( | Geant4Action * | filter | ) |
Register filter by name to be retrieved when setting up and connecting filter objects.
Note: registered filters MUST be unique. However, not all filters need to registered.... Only register those, you later need to retrieve by name.
Definition at line 491 of file Geant4Kernel.cpp.
bool Geant4Kernel::registerInterruptHandler | ( | int | sig_num | ) |
Install DDG4 default handler for a given signal. If no handler: return false.
Definition at line 198 of file Geant4Kernel.cpp.
|
virtual |
Remove an existing phase from the phase. If not existing returns false.
Definition at line 559 of file Geant4Kernel.cpp.
|
virtual |
Run the simulation: Simulate the number of events given by the property "NumEvents".
Run Geant4.
Definition at line 407 of file Geant4Kernel.cpp.
|
virtual |
Run the simulation: Simulate the number of events "num_events" and modify the property "NumEvents".
Definition at line 423 of file Geant4Kernel.cpp.
G4RunManager & Geant4Kernel::runManager | ( | ) |
Access to the Geant4 run manager.
Definition at line 322 of file Geant4Kernel.cpp.
|
inline |
Property access: Names with specialized factories to create G4VSensitiveDetector instances.
Definition at line 223 of file Geant4Kernel.h.
void Geant4Kernel::setOutputLevel | ( | const std::string | object, |
PrintLevel | new_level | ||
) |
Fill cache with the global output level of a named object. Must be set before instantiation.
Definition at line 303 of file Geant4Kernel.cpp.
dd4hep::PrintLevel Geant4Kernel::setOutputLevel | ( | PrintLevel | new_level | ) |
Set the global output level of the kernel object; returns previous value.
Set the output level; returns previous value.
Definition at line 315 of file Geant4Kernel.cpp.
|
inline |
Access the tracking manager.
Definition at line 205 of file Geant4Kernel.h.
|
inline |
Set the framework context to the kernel object.
Definition at line 215 of file Geant4Kernel.h.
void Geant4Kernel::setWorld | ( | G4VPhysicalVolume * | volume | ) |
Set the geometry world.
Definition at line 262 of file Geant4Kernel.cpp.
|
overridevirtual |
Run the simulation: Terminate Geant4.
Reimplemented from dd4hep::sim::Geant4ActionContainer.
Definition at line 428 of file Geant4Kernel.cpp.
|
static |
Access thread identifier.
Definition at line 211 of file Geant4Kernel.cpp.
|
inline |
Access the tracking manager.
Definition at line 203 of file Geant4Kernel.h.
void Geant4Kernel::triggerStop | ( | ) |
Trigger smooth end-of-event-loop with finishing currently processing event.
Definition at line 184 of file Geant4Kernel.cpp.
|
inline |
Generic framework access.
Definition at line 213 of file Geant4Kernel.h.
Geant4Kernel & Geant4Kernel::worker | ( | unsigned long | thread_identifier, |
bool | create_if = false |
||
) |
Access worker instance by its identifier.
Definition at line 230 of file Geant4Kernel.cpp.
G4VPhysicalVolume * Geant4Kernel::world | ( | ) | const |
Access to geometry world.
Definition at line 256 of file Geant4Kernel.cpp.
|
protected |
Registered action callbacks on configure.
Definition at line 126 of file Geant4Kernel.h.
|
protected |
Registered action callbacks on initialize.
Definition at line 128 of file Geant4Kernel.h.
|
protected |
Registered action callbacks on terminate.
Definition at line 130 of file Geant4Kernel.h.
|
protected |
Property: Client output levels.
Definition at line 101 of file Geant4Kernel.h.
|
protected |
Top level control directory.
Definition at line 82 of file Geant4Kernel.h.
|
protected |
Property: Name of the G4UI command tree.
Definition at line 103 of file Geant4Kernel.h.
|
protected |
Detector description object.
Definition at line 86 of file Geant4Kernel.h.
|
protected |
Property: Name of the default factory to create G4VSensitiveDetector instances.
Definition at line 109 of file Geant4Kernel.h.
|
protected |
Globally registered actions.
Definition at line 97 of file Geant4Kernel.h.
|
protected |
Globally registered filters of sensitive detectors.
Definition at line 99 of file Geant4Kernel.h.
|
protected |
Master property: Instantiate the Geant4 scoring manager object.
Definition at line 120 of file Geant4Kernel.h.
|
protected |
Flag: Master instance (id<0) or worker (id >= 0)
Definition at line 134 of file Geant4Kernel.h.
|
protected |
Definition at line 134 of file Geant4Kernel.h.
|
protected |
Interrupt/signal handler: only on master instance.
Definition at line 143 of file Geant4Kernel.h.
|
protected |
Parent reference.
Definition at line 139 of file Geant4Kernel.h.
|
protected |
Property: Number of events to be executed in batch mode.
Definition at line 113 of file Geant4Kernel.h.
|
protected |
Master property: Number of execution threads in multi threaded mode.
Definition at line 118 of file Geant4Kernel.h.
|
protected |
Property: Output level.
Definition at line 115 of file Geant4Kernel.h.
|
protected |
Action phases.
Definition at line 93 of file Geant4Kernel.h.
|
protected |
Master property: Flag if event loop is enabled.
Definition at line 122 of file Geant4Kernel.h.
|
protected |
Property pool.
Definition at line 88 of file Geant4Kernel.h.
|
protected |
Reference to the run manager.
Definition at line 80 of file Geant4Kernel.h.
|
protected |
Property: Name of the G4 run manager factory to be used. Default: Geant4RunManager.
Definition at line 107 of file Geant4Kernel.h.
|
protected |
Property: Names with specialized factories to create G4VSensitiveDetector instances.
Definition at line 111 of file Geant4Kernel.h.
|
protected |
Thread context reference.
Definition at line 141 of file Geant4Kernel.h.
|
protected |
Reference to Geant4 track manager.
Definition at line 84 of file Geant4Kernel.h.
|
protected |
Property: Name of the UI action. Must be member of the global actions.
Definition at line 105 of file Geant4Kernel.h.
|
protected |
Reference to the user framework.
Definition at line 90 of file Geant4Kernel.h.
|
protected |
Worker threads.
Definition at line 95 of file Geant4Kernel.h.
|
protected |
Access to geometry world.
Definition at line 136 of file Geant4Kernel.h.
class dd4hep::sim::Geant4Kernel::PhaseSelector dd4hep::sim::Geant4Kernel::phase |