ATLAS Offline Software
|
ATLAS subclass of the G4 run action. More...
#include <G4AtlasRunAction.h>
Public Member Functions | |
G4AtlasRunAction () | |
Constructor. More... | |
void | BeginOfRunAction (const G4Run *run) override final |
Geant4 method for pre-run action. More... | |
void | EndOfRunAction (const G4Run *run) override final |
Geant4 method for post-run action. More... | |
void | addRunAction (G4UserRunAction *action) |
Add one action to the list. More... | |
Private Attributes | |
std::vector< G4UserRunAction * > | m_runActions |
List of ATLAS run actions. More... | |
ATLAS subclass of the G4 run action.
Maintains a list of custom actions for the beginning and end of an run and when invoked by Geant4 will forward the call to each of them in turn.
Definition at line 28 of file G4AtlasRunAction.h.
G4UA::G4AtlasRunAction::G4AtlasRunAction | ( | ) |
void G4UA::G4AtlasRunAction::addRunAction | ( | G4UserRunAction * | action | ) |
Add one action to the list.
Definition at line 43 of file G4AtlasRunAction.cxx.
|
finaloverride |
Geant4 method for pre-run action.
This method forwards the G4 call onto each of its pre-run ATLAS actions.
Definition at line 21 of file G4AtlasRunAction.cxx.
|
finaloverride |
Geant4 method for post-run action.
This method forwards the G4 call onto each of its post-run ATLAS actions.
Definition at line 32 of file G4AtlasRunAction.cxx.
|
private |
List of ATLAS run actions.
Definition at line 52 of file G4AtlasRunAction.h.