Belle II Software  release-08-01-10
ExtManager Class Reference

It is the main interface for the user to define the setup and start the propagation. More...

#include <ExtManager.h>

Collaboration diagram for ExtManager:

Public Member Functions

 ~ExtManager ()
 destructor
 
void EventTermination (G4ErrorMode)
 Terminate an event and set state to G4ErrorState_Init.
 
void RunTermination ()
 Terminate a run and set state to G4ErrorState_Init.
 
void Initialize (const char[], const std::string &, double, double, bool, int, const std::vector< std::string > &)
 Initialize Geant4 and Geant4e.
 
void InitTrackPropagation (G4ErrorMode)
 Initialize for propagation of a track and set state to G4ErrorState_Propagating.
 
G4int PropagateOneStep (G4ErrorTrajState *currentTS, G4ErrorMode mode=G4ErrorMode_PropForwards)
 Propagate a track by one step.
 
G4ErrorPropagator * GetPropagator () const
 Get the propagator.
 

Static Public Member Functions

static ExtManagerGetManager ()
 Get pointer to the instance of this singleton class (create if needed)
 

Private Member Functions

 ExtManager ()
 constructor is hidden: user calls ExtManager::GetManager() instead
 
 ExtManager (ExtManager &)=delete
 copy constructor is undefined for singleton; user calls ExtManager::GetManager() instead
 
ExtManageroperator= (ExtManager &)=delete
 Assignment operator is undefined for singleton; user calls ExtManager::GetManager() instead.
 

Private Attributes

G4ApplicationState m_G4State
 Initial state of the G4RunManager (=PreInitif FullSimModule not present)
 
G4ErrorPropagator * m_Propagator
 Stores pointer to the propagator.
 
G4RunManager * m_G4RunMgr
 Pointer to the simulation's G4RunManager (if any)
 
G4UserTrackingAction * m_TrackingAction
 Pointer to the simulation's TrackingAction (if any)
 
G4UserSteppingAction * m_SteppingAction
 Pointer to the simulation's SteppingAction (if any)
 
G4VExceptionHandler * m_StepExceptionHandler
 Pointer to the G4VExceptionHandler used in PropagateOneStep()
 
G4MagneticField * m_MagneticField
 Pointer to the (un)cached magnetic field.
 
G4MagneticField * m_UncachedField
 Pointer to the uncached magnetic field (might be superseded by its cached version)
 
G4Mag_UsualEqRhs * m_MagFldEquation
 Pointer to the equation of motion in the magnetic field (if not the default)
 
G4MagIntegratorStepper * m_Stepper
 Pointer to the equation-of-motion stepper (if not the default)
 
G4ChordFinder * m_ChordFinder
 Pointer to the equation-of-motion chord finder (if not the default)
 
G4MagIntegratorStepper * m_StdStepper
 Pointer to the standard equation-of-motion stepper.
 
G4EquationOfMotion * m_ForwardEquationOfMotion
 Pointer to the forward-propagation equation of motion.
 
G4EquationOfMotion * m_BackwardEquationOfMotion
 Pointer to the equation of motion that accommodates back-propagation.
 
G4VisManager * m_VisManager
 Pointer to the visualization manager (if used)
 

Static Private Attributes

static ExtManagerm_Manager = nullptr
 Stores pointer to the singleton class.
 

Detailed Description

It is the main interface for the user to define the setup and start the propagation.

Initializes GEANT4 for the propagation.

Definition at line 50 of file ExtManager.h.


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