6 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
7 acc = GeoModelCfg(flags)
8 geoModelSvc = acc.getPrimary()
10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 pixelDetectorTool = CompFactory.PixelDetectorTool(
"PixelDetectorTool")
12 pixelDetectorTool.BCM_Tool = CompFactory.InDetDD.BCM_Builder()
13 pixelDetectorTool.BLM_Tool = CompFactory.InDetDD.BLM_Builder()
14 pixelDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
15 geoModelSvc.DetectorTools += [ pixelDetectorTool ]
20 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
21 acc = ComponentAccumulator()
22 if flags.GeoModel.Align.LegacyConditionsAccess:
23 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
24 if flags.GeoModel.Align.Dynamic:
25 acc.merge(addFoldersSplitOnline(flags,
"INDET",
26 [
"/Indet/Onl/AlignL1/ID",
"/Indet/Onl/AlignL2/PIX"],
27 [
"/Indet/AlignL1/ID",
"/Indet/AlignL2/PIX"]))
28 acc.merge(addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/AlignL3",
"/Indet/AlignL3"))
30 acc.merge(addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/Align",
"/Indet/Align"))
31 acc.merge(addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/IBLDist",
"/Indet/IBLDist"))
33 from PixelConditionsAlgorithms.PixelConditionsConfig
import PixelAlignCondAlgCfg
34 acc.merge(PixelAlignCondAlgCfg(flags))