6 from AtlasGeoModel.GeometryDBConfig
import InDetGeometryDBSvcCfg
9 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
11 geoModelSvc = acc.getPrimary()
13 from AthenaConfiguration.ComponentFactory
import CompFactory
14 pixelDetectorTool = CompFactory.PixelDetectorTool(
"PixelDetectorTool")
15 pixelDetectorTool.GeometryDBSvc = db.getPrimary()
16 pixelDetectorTool.BCM_Tool = CompFactory.InDetDD.BCM_Builder()
17 pixelDetectorTool.BLM_Tool = CompFactory.InDetDD.BLM_Builder()
18 pixelDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
19 geoModelSvc.DetectorTools += [ pixelDetectorTool ]