ATLAS Offline Software
Loading...
Searching...
No Matches
ITkServiceExtensionGeoModelConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
4 from AtlasGeoModel.GeoModelConfig import GeoModelCfg
5 acc = GeoModelCfg(flags)
6 geoModelSvc = acc.getPrimary()
7
8 from AthenaConfiguration.ComponentFactory import CompFactory
9 ITkServiceExtensionTool = CompFactory.ITk.ServiceExtensionTool('ITkservices')
10 ITkServiceExtensionTool.GmxFilename = "ITKLayouts/Common/Type2Services.gmx"
11 ITkServiceExtensionTool.ContainingDetector = "LArBarrel"
12 ITkServiceExtensionTool.EnvelopeVolume = "LAr::Barrel::Cryostat::ITkServices"
13 geoModelSvc.DetectorTools += [ ITkServiceExtensionTool ]
14 return acc