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

Functions

 FastRecoVisualizationToolCfg (flags, name="FastRecoVisualizationTool", **kwargs)
 MuonFastRecoTesterCfg (flags, name="MuonFastRecoTester", **kwargs)

Variables

 parser = SetupArgParser()
 nEvents
 help
 default
 False
 action
 outRootFile
 inputFile
 eventPrintoutLevel
 args = parser.parse_args()
 flags = initConfigFlags()
 doFullMonMT
 OutputJSON
 ProfiledAlgs
 cfg
 VisualizationTool

Function Documentation

◆ FastRecoVisualizationToolCfg()

MuonFastReconstructionTesterConfig.FastRecoVisualizationToolCfg ( flags,
name = "FastRecoVisualizationTool",
** kwargs )

Definition at line 6 of file MuonFastReconstructionTesterConfig.py.

6def FastRecoVisualizationToolCfg(flags, name="FastRecoVisualizationTool", **kwargs):
7 result = ComponentAccumulator()
8 from MuonConfig.MuonDataPrepConfig import PrimaryMeasContNamesCfg
9 kwargs.setdefault("PrdContainer", PrimaryMeasContNamesCfg(flags))
10 if flags.Input.isMC:
11 from MuonObjectMarker.ObjectMarkerConfig import TruthMeasMarkerAlgCfg
12 markerAlg = result.getPrimaryAndMerge(TruthMeasMarkerAlgCfg(flags))
13 kwargs.setdefault("TruthSegDecors", [markerAlg.SegmentLinkKey])
14 kwargs["TruthSegDecors"] += [markerAlg.SegmentLinkKey]
15 the_tool = CompFactory.MuonValR4.FastRecoVisualizationTool(name, **kwargs)
16 result.setPrivateTools(the_tool)
17 return result
18

◆ MuonFastRecoTesterCfg()

MuonFastReconstructionTesterConfig.MuonFastRecoTesterCfg ( flags,
name = "MuonFastRecoTester",
** kwargs )

Definition at line 19 of file MuonFastReconstructionTesterConfig.py.

19def MuonFastRecoTesterCfg(flags, name = "MuonFastRecoTester", **kwargs):
20 result = ComponentAccumulator()
21 kwargs.setdefault("isMC", flags.Input.isMC)
22
23 if flags.Detector.GeometryMDT or flags.Detector.GeometryRPC or flags.Detector.GeometryTGC:
24 kwargs.setdefault("SpacePointKey", "MuonSpacePoints")
25 else:
26 kwargs.setdefault("SpacePointKey", "")
27 if flags.Detector.GeometryMM or flags.Detector.GeometrysTGC:
28 kwargs.setdefault("NswSpacePointKey", "NswSpacePoints")
29 else:
30 kwargs.setdefault("NswSpacePointKey", "")
31
32 theAlg = CompFactory.MuonValR4.MuonFastRecoTester(name, **kwargs)
33 result.addEventAlgo(theAlg, primary=True)
34 return result
35

Variable Documentation

◆ action

MuonFastReconstructionTesterConfig.action

Definition at line 42 of file MuonFastReconstructionTesterConfig.py.

◆ args

MuonFastReconstructionTesterConfig.args = parser.parse_args()

Definition at line 60 of file MuonFastReconstructionTesterConfig.py.

◆ cfg

MuonFastReconstructionTesterConfig.cfg

Definition at line 67 of file MuonFastReconstructionTesterConfig.py.

◆ default

MuonFastReconstructionTesterConfig.default

Definition at line 42 of file MuonFastReconstructionTesterConfig.py.

◆ doFullMonMT

MuonFastReconstructionTesterConfig.doFullMonMT

Definition at line 63 of file MuonFastReconstructionTesterConfig.py.

◆ eventPrintoutLevel

MuonFastReconstructionTesterConfig.eventPrintoutLevel

Definition at line 58 of file MuonFastReconstructionTesterConfig.py.

◆ False

MuonFastReconstructionTesterConfig.False

Definition at line 42 of file MuonFastReconstructionTesterConfig.py.

◆ flags

MuonFastReconstructionTesterConfig.flags = initConfigFlags()

Definition at line 62 of file MuonFastReconstructionTesterConfig.py.

◆ help

MuonFastReconstructionTesterConfig.help

Definition at line 41 of file MuonFastReconstructionTesterConfig.py.

◆ inputFile

MuonFastReconstructionTesterConfig.inputFile

Definition at line 57 of file MuonFastReconstructionTesterConfig.py.

◆ nEvents

MuonFastReconstructionTesterConfig.nEvents

Definition at line 40 of file MuonFastReconstructionTesterConfig.py.

◆ OutputJSON

MuonFastReconstructionTesterConfig.OutputJSON

Definition at line 64 of file MuonFastReconstructionTesterConfig.py.

◆ outRootFile

MuonFastReconstructionTesterConfig.outRootFile

Definition at line 55 of file MuonFastReconstructionTesterConfig.py.

◆ parser

MuonFastReconstructionTesterConfig.parser = SetupArgParser()

Definition at line 39 of file MuonFastReconstructionTesterConfig.py.

◆ ProfiledAlgs

MuonFastReconstructionTesterConfig.ProfiledAlgs

Definition at line 65 of file MuonFastReconstructionTesterConfig.py.

◆ VisualizationTool

MuonFastReconstructionTesterConfig.VisualizationTool

Definition at line 125 of file MuonFastReconstructionTesterConfig.py.