1"""ComponentAccumulator core ISF_Service configuration
2Provides local configuration to be imported without circular dependencies
3Complements ISF_ServicesConfig
5Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
7from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8from AthenaConfiguration.ComponentFactory
import CompFactory
10from SubDetectorEnvelopes.SubDetectorEnvelopesConfig
import EnvelopeDefSvcCfg
11from ISF_Tools.ISF_ToolsConfig
import ParticleKillerToolCfg
16 result = ComponentAccumulator()
17 kwargs.setdefault(
"ATLASEnvelopeDefSvc", result.getPrimaryAndMerge(EnvelopeDefSvcCfg(flags)))
18 result.addService(CompFactory.ISF.ISFEnvelopeDefSvc(name, **kwargs), primary =
True)
23 result = ComponentAccumulator()
26 result.addService(CompFactory.ISF.GeoIDSvc(name, **kwargs), primary =
True)
31 result = ComponentAccumulator()
34 kwargs.setdefault(
"InDetMaxExtentZ", 3549.5*mm)
35 result.addService(CompFactory.ISF.ATLFAST_EnvelopeDefSvc(name, **kwargs), primary =
True)
40 result = ComponentAccumulator()
42 result.addService(CompFactory.ISF.GeoIDSvc(name, **kwargs), primary =
True)
48 result = ComponentAccumulator()
49 kwargs.setdefault(
"Identifier",
"ParticleKiller")
50 tool = result.popToolsAndMerge(ParticleKillerToolCfg(flags))
51 kwargs.setdefault(
"SimulatorTool", tool)
52 result.addService(CompFactory.ISF.LegacySimSvc(name, **kwargs), primary =
True)
ATLFAST_GeoIDSvcCfg(flags, name="ISF_ATLFAST_GeoIDSvc", **kwargs)
ATLFAST_EnvelopeDefSvcCfg(flags, name="ISF_ATLFAST_EnvelopeDefSvc", **kwargs)
ParticleKillerSvcCfg(flags, name="ISF_ParticleKillerSvc", **kwargs)
ISFEnvelopeDefSvcCfg(flags, name="ISF_ISFEnvelopeDefSvc", **kwargs)
GeoIDSvcCfg(flags, name="ISF_GeoIDSvc", **kwargs)