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