27 action->BeginOfEventAction(event);
28 if(event->IsAborted()) {
29 if(event->GetUserInformation()) {
31 G4cout <<
"G4AtlasEventAction: Event was aborted in BeginOfEventAction, skipping further actions" << G4endl;
45 action->EndOfEventAction(event);
46 if(event->IsAborted()) {
47 if(event->GetUserInformation()) {
49 G4cout <<
"G4AtlasEventAction: Event was aborted in EndOfEventAction, skipping further actions" << G4endl;
void BeginOfEventAction(const G4Event *event) override final
Geant4 method for pre-event action.
std::vector< G4UserEventAction * > m_eventActions
List of ATLAS event actions.
void addEventAction(G4UserEventAction *action)
Add one action to the list.
void EndOfEventAction(const G4Event *event) override final
Geant4 method for post-event action.
G4AtlasEventAction()
Constructor.