ATLAS Offline Software
Loading...
Searching...
No Matches
SyncEventActionTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <memory>
8
9namespace G4UA {
10
11std::unique_ptr<SyncEventAction>
13 auto action = std::make_unique<SyncEventAction>();
14 userActions.eventActions.push_back(action.get());
15 return action;
16}
17
18} // namespace G4UA
virtual std::unique_ptr< SyncEventAction > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Struct for passing around user actions.
std::vector< G4UserEventAction * > eventActions