BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Protected Attributes
BDSRunManager Class Reference

Wrapper from G4RunManager that provides more output. More...

#include <BDSRunManager.hh>

Inheritance diagram for BDSRunManager:
Inheritance graph
Collaboration diagram for BDSRunManager:
Collaboration graph

Public Member Functions

virtual void Initialize ()
 
virtual void DoEventLoop (G4int n_event, const char *macroFile=nullptr, G4int n_select=-1)
 For additional output. More...
 
virtual void BeamOn (G4int n_event, const char *macroFile=nullptr, G4int n_select=-1)
 Altered BeamOn function to account for Placet synchronisation. More...
 
virtual void ProcessOneEvent (G4int i_event)
 For additional output. More...
 
virtual void AbortRun (G4bool)
 Run G4RunManager:AbortRun(), but give some print out feedback for the user. More...
 

Protected Attributes

BDSExceptionHandlerexceptionHandler
 

Detailed Description

Wrapper from G4RunManager that provides more output.

Definition at line 31 of file BDSRunManager.hh.

Constructor & Destructor Documentation

◆ BDSRunManager()

BDSRunManager::BDSRunManager ( )

Definition at line 29 of file BDSRunManager.cc.

◆ ~BDSRunManager()

BDSRunManager::~BDSRunManager ( )
virtual

Definition at line 37 of file BDSRunManager.cc.

Member Function Documentation

◆ AbortRun()

void BDSRunManager::AbortRun ( G4bool  )
virtual

Run G4RunManager:AbortRun(), but give some print out feedback for the user.

Definition at line 102 of file BDSRunManager.cc.

◆ BeamOn()

void BDSRunManager::BeamOn ( G4int  n_event,
const char *  macroFile = nullptr,
G4int  n_select = -1 
)
virtual

Altered BeamOn function to account for Placet synchronisation.

Definition at line 66 of file BDSRunManager.cc.

Referenced by BDSIM::BeamOn().

Here is the caller graph for this function:

◆ DoEventLoop()

void BDSRunManager::DoEventLoop ( G4int  n_event,
const char *  macroFile = nullptr,
G4int  n_select = -1 
)
virtual

For additional output.

Definition at line 71 of file BDSRunManager.cc.

◆ Initialize()

void BDSRunManager::Initialize ( )
virtual

Run G4RunManager::Initialise() and update BDSPrimaryGeneratorAction with knowledge of the world extent for coordinate checking.

Check for any 3D field queries of the model and carry them out

Definition at line 42 of file BDSRunManager.cc.

References BDSFieldQuery::QueryFields().

Referenced by BDSIM::Initialise().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessOneEvent()

void BDSRunManager::ProcessOneEvent ( G4int  i_event)
virtual

For additional output.

Definition at line 86 of file BDSRunManager.cc.

Field Documentation

◆ exceptionHandler

BDSExceptionHandler* BDSRunManager::exceptionHandler
protected

Definition at line 55 of file BDSRunManager.hh.


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