4 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
6 geoModelSvc = acc.getPrimary()
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 ITkPixelDetectorTool = CompFactory.ITk.PixelDetectorTool()
11 ITkPixelDetectorTool.Alignable = flags.ITk.Geometry.pixelAlignable
12 ITkPixelDetectorTool.AlignmentFolderName = flags.ITk.Geometry.alignmentFolder
13 ITkPixelDetectorTool.DetectorName =
"ITkPixel"
14 if flags.ITk.Geometry.PixelLocal:
16 ITkPixelDetectorTool.GmxFilename = flags.ITk.Geometry.PixelFilename
17 if flags.ITk.Geometry.PixelClobOutputName:
18 ITkPixelDetectorTool.ClobOutputName = flags.ITk.Geometry.PixelClobOutputName
19 geoModelSvc.DetectorTools += [ ITkPixelDetectorTool ]
24 if flags.GeoModel.Align.LegacyConditionsAccess:
25 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
28 from PixelConditionsAlgorithms.ITkPixelConditionsConfig
import ITkPixelAlignCondAlgCfg
43 from PixelConditionsAlgorithms.ITkPixelConditionsConfig
import ITkPixelDetectorElementCondAlgCfg