3 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
9 geoModelSvc = acc.getPrimary()
11 bcmPrimeDetectorTool = CompFactory.BCMPrimeDetectorTool()
12 bcmPrimeDetectorTool.Alignable =
False
13 bcmPrimeDetectorTool.DetectorName =
"BCMPrime"
14 if flags.ITk.Geometry.BCMPrimeLocal:
16 bcmPrimeDetectorTool.GmxFilename = flags.ITk.Geometry.BCMPrimeFilename
17 if flags.ITk.Geometry.BCMPrimeClobOutputName:
18 bcmPrimeDetectorTool.ClobOutputName = flags.ITk.Geometry.BCMPrimeClobOutputName
19 geoModelSvc.DetectorTools += [ bcmPrimeDetectorTool ]