ATLAS Offline Software
G4ExtraProcessesConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 
6 def 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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
G4ExtraProcessesConfig.G4EMProcessesPhysicsToolCfg
def G4EMProcessesPhysicsToolCfg(flags, name="G4EMProcessesPhysicsTool", **kwargs)
Definition: G4ExtraProcessesConfig.py:6