ATLAS Offline Software
Loading...
Searching...
No Matches
GeneratorInfoSvcConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6def GeneratorInfoSvcCfg(flags, name="GeneratorInfoSvc", **kwargs):
7 acc = ComponentAccumulator()
8 acc.addService(CompFactory.GeneratorInfoSvc(name, **kwargs), primary=True, create=True)
9 return acc
GeneratorInfoSvcCfg(flags, name="GeneratorInfoSvc", **kwargs)