ATLAS Offline Software
Loading...
Searching...
No Matches
G4RunManagementUAConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory import CompFactory
4
5def SyncPrimaryGeneratorActionToolCfg(flags, name='G4UA::SyncPrimaryGeneratorActionTool', **kwargs):
6 result = ComponentAccumulator()
7 result.setPrivateTools(CompFactory.G4UA.SyncPrimaryGeneratorActionTool(name, **kwargs))
8 return result
9
10def SyncRunActionToolCfg(flags, name='G4UA::SyncRunActionTool', **kwargs):
11 result = ComponentAccumulator()
12 result.setPrivateTools(CompFactory.G4UA.SyncRunActionTool(name, **kwargs))
13 return result
14
15def SyncEventActionToolCfg(flags, name='G4UA::SyncEventActionTool', **kwargs):
16 result = ComponentAccumulator()
17 result.setPrivateTools(CompFactory.G4UA.SyncEventActionTool(name, **kwargs))
18 return result
SyncPrimaryGeneratorActionToolCfg(flags, name='G4UA::SyncPrimaryGeneratorActionTool', **kwargs)
SyncEventActionToolCfg(flags, name='G4UA::SyncEventActionTool', **kwargs)
SyncRunActionToolCfg(flags, name='G4UA::SyncRunActionTool', **kwargs)