3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
10 theALFA_DetectorTool = CompFactory.ALFA_DetectorTool(name=
"ALFA_DetectorTool")
11 theALFA_DetectorTool.MetrologyType=3
12 theALFA_DetectorTool.B7L1U_MDGeometryType = 2
13 theALFA_DetectorTool.B7L1U_ODGeometryType = 2
14 theALFA_DetectorTool.B7L1L_MDGeometryType = 2
15 theALFA_DetectorTool.B7L1L_ODGeometryType = 2
16 theALFA_DetectorTool.A7L1U_MDGeometryType = 2
17 theALFA_DetectorTool.A7L1U_ODGeometryType = 2
18 theALFA_DetectorTool.A7L1L_MDGeometryType = 2
19 theALFA_DetectorTool.A7L1L_ODGeometryType = 2
20 theALFA_DetectorTool.A7R1U_MDGeometryType = 2
21 theALFA_DetectorTool.A7R1U_ODGeometryType = 2
22 theALFA_DetectorTool.A7R1L_MDGeometryType = 2
23 theALFA_DetectorTool.A7R1L_ODGeometryType = 2
24 theALFA_DetectorTool.B7R1U_MDGeometryType = 2
25 theALFA_DetectorTool.B7R1U_ODGeometryType = 2
26 theALFA_DetectorTool.B7R1L_MDGeometryType = 2
27 theALFA_DetectorTool.B7R1L_ODGeometryType = 2
28 result.merge(
addFoldersSplitOnline(flags,
'FWD',
'/FWD/Onl/ALFA/position_calibration',
'/FWD/ALFA/position_calibration'))
29 result.setPrivateTools(theALFA_DetectorTool)
34 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
36 geoModelSvc=result.getPrimary()
37 geoModelSvc.DetectorTools += [ CompFactory.ForDetEnvelopeTool() ]
39 if flags.Detector.GeometryLucid:
40 geoModelSvc.DetectorTools += [ CompFactory.LUCID_DetectorTool() ]
42 if flags.Detector.GeometryALFA:
45 if flags.Detector.GeometryFwdRegion:
50 from AthenaConfiguration.Enums
import ProductionStep
51 if flags.Common.ProductionStep
in [ProductionStep.Simulation, ProductionStep.FastChain]:
52 from ForwardRegionProperties.ForwardRegionPropertiesConfig
import ForwardRegionPropertiesCfg
54 result.addPublicTool(tool)
55 geoModelSvc.DetectorTools += [ CompFactory.ForwardRegionGeoModelTool() ]
57 if flags.Detector.GeometryZDC:
58 geoModelSvc.DetectorTools += [ CompFactory.ZDC_DetTool() ]
60 if flags.Detector.GeometryAFP:
61 geoModelSvc.DetectorTools += [ CompFactory.AFP_GeoModelTool() ]