3def HGTDServiceGeoModelCfg(flags):
4 from AtlasGeoModel.GeoModelConfig import GeoModelCfg
5 acc = GeoModelCfg(flags)
6 geoModelSvc = acc.getPrimary()
7
8 from AthenaConfiguration.ComponentFactory import CompFactory
9 HGTDServiceTool = CompFactory.ITk.ServiceExtensionTool('HGTDservices')
10 HGTDServiceTool.GmxFilename = "HGTDservices.gmx"
11 HGTDServiceTool.ContainingDetector = "LArBarrel"
12 HGTDServiceTool.EnvelopeVolume = ""
13 HGTDServiceTool.DataBaseTable = "HGTDSERVICESXDD"
14 HGTDServiceTool.ServiceExtensionManagerName = "HGTDServices"
15 geoModelSvc.DetectorTools += [ HGTDServiceTool ]
16 return acc