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