20def MuonSpacePointFormationCfg(flags, suffix = ""):
21 result = ComponentAccumulator()
22 from ActsAlignmentAlgs.AlignmentAlgsConfig import ActsGeometryContextAlgCfg
23 result.merge(ActsGeometryContextAlgCfg(flags))
24
25 from AthenaCommon.SystemOfUnits import m
26 result.merge(MuonSpacePointMakerAlgCfg(flags,
27 name = f"MuonSpacePointMakerAlg{suffix}",
28 MmKey = "", sTgcKey = "",
29 maxBucketLengthPatterns = { "BIL_eta*_phi3": 1.14 * m }
30 ))
31
32
33 if flags.Detector.GeometrysTGC or flags.Detector.GeometryMM:
34 result.merge(MuonSpacePointMakerAlgCfg(flags,
35 name=f"MuonNswSpacePointMakerAlg{suffix}",
36 MdtKey="", RpcKey = "", TgcKey ="",
37 WriteKey = "NswSpacePoints", maxBucketLength = 500., spacePointOverlap = 100.))
38 return result