ATLAS Offline Software
Loading...
Searching...
No Matches
SpacePointFormationConfig Namespace Reference

Functions

 MuonSpacePointMakerAlgCfg (flags, name="MuonSpacePointMakerAlg", **kwargs)
 MuonSpacePointFormationCfg (flags, suffix="")

Function Documentation

◆ MuonSpacePointFormationCfg()

SpacePointFormationConfig.MuonSpacePointFormationCfg ( flags,
suffix = "" )

Definition at line 20 of file SpacePointFormationConfig.py.

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

◆ MuonSpacePointMakerAlgCfg()

SpacePointFormationConfig.MuonSpacePointMakerAlgCfg ( flags,
name = "MuonSpacePointMakerAlg",
** kwargs )

Definition at line 6 of file SpacePointFormationConfig.py.

6def MuonSpacePointMakerAlgCfg(flags, name = "MuonSpacePointMakerAlg", **kwargs):
7 result = ComponentAccumulator()
8 if not flags.Detector.GeometryMDT: kwargs.setdefault("MdtKey" ,"")
9 if not flags.Detector.GeometryRPC: kwargs.setdefault("RpcKey" ,"")
10 if not flags.Detector.GeometryTGC: kwargs.setdefault("TgcKey" ,"")
11 if not flags.Detector.GeometryMM: kwargs.setdefault("MmKey" ,"")
12 if not flags.Detector.GeometrysTGC: kwargs.setdefault("sTgcKey" ,"")
13
14 from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
15 result.merge(MuonGeoModelCfg(flags))
16 the_alg = CompFactory.MuonR4.SpacePointMakerAlg(name, **kwargs)
17 result.addEventAlgo(the_alg, primary = True)
18 return result
19