ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
ServiceExtensionGeoModelXml
python
ITkServiceExtensionGeoModelConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
def
ITkServiceExtensionGeoModelCfg
(flags):
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
ITkServiceExtensionGeoModelConfig.ITkServiceExtensionGeoModelCfg
ITkServiceExtensionGeoModelCfg(flags)
Definition
ITkServiceExtensionGeoModelConfig.py:3
Generated on
for ATLAS Offline Software by
1.17.0