DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Static Public Member Functions | List of all members
dd4hep::sim::Geant4Exec Class Reference

Main executor steering the Geant4 execution. More...

#include <Geant4Kernel.h>

Static Public Member Functions

static int configure (Geant4Kernel &kernel)
 Configure the application. More...
 
static int initialize (Geant4Kernel &kernel)
 Initialize the application. More...
 
static int run (Geant4Kernel &kernel)
 Run the application and simulate events. More...
 
static int terminate (Geant4Kernel &kernel)
 Terminate the application. More...
 

Detailed Description

Main executor steering the Geant4 execution.

Definition at line 367 of file Geant4Kernel.h.

Member Function Documentation

◆ configure()

int Geant4Exec::configure ( Geant4Kernel kernel)
static

Configure the application.

Configure the simulation.

Initialize the engine etc.

Construct the default run manager

Check if the geometry was loaded

Get the detector constructed

Get the physics list constructed

Construct the remaining user initialization in multi-threaded mode

Use default actions registered to the default kernel. Will do the right thing...

Definition at line 552 of file Geant4Exec.cpp.

◆ initialize()

int Geant4Exec::initialize ( Geant4Kernel kernel)
static

Initialize the application.

Initialize the simulation.

Construct the default run manager

Initialize G4 engine

Definition at line 622 of file Geant4Exec.cpp.

◆ run()

int Geant4Exec::run ( Geant4Kernel kernel)
static

Run the application and simulate events.

Run the simulation.

Definition at line 635 of file Geant4Exec.cpp.

◆ terminate()

int Geant4Exec::terminate ( Geant4Kernel kernel)
static

Terminate the application.

Run the simulation.

Definition at line 661 of file Geant4Exec.cpp.


The documentation for this class was generated from the following files: