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