ATLAS Offline Software
Loading...
Searching...
No Matches
G4ExtraProcessesConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6def G4EMProcessesPhysicsToolCfg(flags, name="G4EMProcessesPhysicsTool", **kwargs):
7 result = ComponentAccumulator()
8 kwargs.setdefault("ParticleList", [5132]) # In future this should be made configurable
9 result.setPrivateTools(CompFactory.G4EMProcessesPhysicsTool(name, **kwargs))
10 return result
G4EMProcessesPhysicsToolCfg(flags, name="G4EMProcessesPhysicsTool", **kwargs)