4 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
6 geoModelSvc = acc.getPrimary()
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 ITkPixelDetectorTool = CompFactory.ITk.PixelDetectorTool()
11 ITkPixelDetectorTool.Alignable = setGeometryAlignable
12 ITkPixelDetectorTool.AlignmentFolderName = setAlignmentFolderName
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
34 acc =
ITkPixelGeoModelCfg(flags,setGeometryAlignable=setGeometryAlignable,setAlignmentFolderName=setAlignmentFolderName)
35 acc.merge(
ITkPixelAlignmentCfg(flags,setGeometryAlignable=setGeometryAlignable,setAlignmentFolderName=setAlignmentFolderName))
41 acc =
ITkPixelGeoModelCfg(flags,setGeometryAlignable=setGeometryAlignable,setAlignmentFolderName=setAlignmentFolderName)
42 acc.merge(
ITkPixelAlignmentCfg(flags,setGeometryAlignable=setGeometryAlignable,setAlignmentFolderName=setAlignmentFolderName))
43 from PixelConditionsAlgorithms.ITkPixelConditionsConfig
import ITkPixelDetectorElementCondAlgCfg