ATLAS Offline Software
Loading...
Searching...
No Matches
ITkServiceExtensionGeoModelConfig Namespace Reference

Functions

 ITkServiceExtensionGeoModelCfg (flags)

Function Documentation

◆ ITkServiceExtensionGeoModelCfg()

ITkServiceExtensionGeoModelConfig.ITkServiceExtensionGeoModelCfg ( flags)

Definition at line 3 of file ITkServiceExtensionGeoModelConfig.py.

3def 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