ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4RunManagement
src
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
5
#include "
SyncEventActionTool.h
"
6
7
#include <memory>
8
9
namespace
G4UA
{
10
11
std::unique_ptr<SyncEventAction>
12
SyncEventActionTool::makeAndFillAction
(
G4AtlasUserActions
& userActions) {
13
auto
action = std::make_unique<SyncEventAction>();
14
userActions.
eventActions
.push_back(action.get());
15
return
action;
16
}
17
18
}
// namespace G4UA
SyncEventActionTool.h
G4UA::SyncEventActionTool::makeAndFillAction
virtual std::unique_ptr< SyncEventAction > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Definition
SyncEventActionTool.cxx:12
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition
IUserActionTool.h:35
G4UA::G4AtlasUserActions::eventActions
std::vector< G4UserEventAction * > eventActions
Definition
IUserActionTool.h:39
Generated on
for ATLAS Offline Software by
1.14.0