#include <SyncEventAction.h>
Definition at line 13 of file SyncEventAction.h.
◆ BeginOfEventAction()
| void G4UA::SyncEventAction::BeginOfEventAction |
( |
const G4Event * | event | ) |
|
|
overridevirtual |
Definition at line 16 of file SyncEventAction.cxx.
17{
18 if(!
event->GetUserInformation()) {
19 G4RunManager::GetRunManager()->AbortRun();
20 }
21}
◆ EndOfEventAction()
| void G4UA::SyncEventAction::EndOfEventAction |
( |
const G4Event * | event | ) |
|
|
overridevirtual |
Definition at line 23 of file SyncEventAction.cxx.
24{
25
26 if(
auto* atlasG4EvtUserInfo =
dynamic_cast< AtlasG4SyncEventUserInfo*
>(
event->GetUserInformation() )) {
27 atlasG4EvtUserInfo->SyncInterface()->EventAborted(
event->IsAborted());
28 atlasG4EvtUserInfo->SyncInterface()->SetStatusDone();
29 }
30}
The documentation for this class was generated from the following files: