ATLAS Offline Software
Loading...
Searching...
No Matches
SyncRunActionTool.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 "SyncRunActionTool.h"
6
7#include <memory>
8
9namespace G4UA {
10
11std::unique_ptr<SyncRunAction>
13 auto action = std::make_unique<SyncRunAction>(m_g4RunTool);
14 userActions.runActionsMaster.push_back(action.get());
15 return action;
16}
17
18} // namespace G4UA
virtual std::unique_ptr< SyncRunAction > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Struct for passing around user actions.
std::vector< G4UserRunAction * > runActionsMaster