4 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
5 acc = GeoModelCfg(flags)
6 geoModelSvc = acc.getPrimary()
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 ITkStripDetectorTool = CompFactory.ITk.StripDetectorTool()
11 ITkStripDetectorTool.Alignable = flags.ITk.Geometry.stripAlignable
12 ITkStripDetectorTool.AlignmentFolderName = flags.ITk.Geometry.alignmentFolder
13 ITkStripDetectorTool.DetectorName =
"ITkStrip"
14 if flags.ITk.Geometry.StripLocal:
16 ITkStripDetectorTool.GmxFilename = flags.ITk.Geometry.StripFilename
17 if flags.ITk.Geometry.StripClobOutputName:
18 ITkStripDetectorTool.ClobOutputName = flags.ITk.Geometry.StripClobOutputName
19 geoModelSvc.DetectorTools += [ ITkStripDetectorTool ]
22 ITkStripDetectorTool.doEndcapEtaNeighbour = flags.ITk.doEndcapEtaNeighbour
28 if flags.GeoModel.Align.LegacyConditionsAccess
and not flags.ITk.Align.useLocalDatabase:
29 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
30 return addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/Align", flags.ITk.Geometry.alignmentFolder)
32 from SCT_ConditionsAlgorithms.ITkStripConditionsAlgorithmsConfig
import ITkStripAlignCondAlgCfg
33 return ITkStripAlignCondAlgCfg(flags)