ATLAS Offline Software
Loading...
Searching...
No Matches
PartPropSvcConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def PartPropSvcCfg(flags, **kwargs):
7 result = ComponentAccumulator()
8 kwargs.setdefault("InputFile", "PDGTABLE.MeV")
9 result.addService(CompFactory.PartPropSvc(name="PartPropSvc", **kwargs), primary=True)
10 return result
PartPropSvcCfg(flags, **kwargs)