4 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
6 geoModelSvc = acc.getPrimary()
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 plrDetectorTool = CompFactory.PLRDetectorTool()
11 plrDetectorTool.Alignable =
False
12 plrDetectorTool.DetectorName =
"PLR"
13 if flags.Detector.GeometryITkPixel:
16 plrDetectorTool.ContainingDetector =
"ITkPixel"
17 if flags.ITk.Geometry.PLRLocal:
19 plrDetectorTool.GmxFilename = flags.ITk.Geometry.PLRFilename
20 if flags.ITk.Geometry.PLRClobOutputName:
21 plrDetectorTool.ClobOutputName = flags.ITk.Geometry.PLRClobOutputName
22 geoModelSvc.DetectorTools += [ plrDetectorTool ]