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.Muon.setupTruthAlgorithms:
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 kwargs.setdefault("isSeededReco", flags.Trigger.doHLT)
23
24 if flags.Detector.GeometryMDT or flags.Detector.GeometryRPC or flags.Detector.GeometryTGC:
25 kwargs.setdefault("SpacePointKey", "MuonSpacePoints")
26 else:
27 kwargs.setdefault("SpacePointKey", "")
28 if flags.Detector.GeometryMM or flags.Detector.GeometrysTGC:
29 kwargs.setdefault("NswSpacePointKey", "NswSpacePoints")
30 else:
31 kwargs.setdefault("NswSpacePointKey", "")
32
33 theAlg = CompFactory.MuonValR4.MuonFastRecoTester(name, **kwargs)
34 result.addEventAlgo(theAlg, primary=True)
35 return result
36

Variable Documentation

◆ action

MuonFastReconstructionTesterConfig.action

Definition at line 43 of file MuonFastReconstructionTesterConfig.py.

◆ args

MuonFastReconstructionTesterConfig.args = parser.parse_args()

Definition at line 62 of file MuonFastReconstructionTesterConfig.py.

◆ cfg

MuonFastReconstructionTesterConfig.cfg

Definition at line 69 of file MuonFastReconstructionTesterConfig.py.

◆ default

MuonFastReconstructionTesterConfig.default

Definition at line 43 of file MuonFastReconstructionTesterConfig.py.

◆ doFullMonMT

MuonFastReconstructionTesterConfig.doFullMonMT

Definition at line 65 of file MuonFastReconstructionTesterConfig.py.

◆ eventPrintoutLevel

MuonFastReconstructionTesterConfig.eventPrintoutLevel

Definition at line 60 of file MuonFastReconstructionTesterConfig.py.

◆ False

MuonFastReconstructionTesterConfig.False

Definition at line 43 of file MuonFastReconstructionTesterConfig.py.

◆ flags

MuonFastReconstructionTesterConfig.flags = initConfigFlags()

Definition at line 64 of file MuonFastReconstructionTesterConfig.py.

◆ help

MuonFastReconstructionTesterConfig.help

Definition at line 42 of file MuonFastReconstructionTesterConfig.py.

◆ inputFile

MuonFastReconstructionTesterConfig.inputFile

Definition at line 59 of file MuonFastReconstructionTesterConfig.py.

◆ nEvents

MuonFastReconstructionTesterConfig.nEvents

Definition at line 41 of file MuonFastReconstructionTesterConfig.py.

◆ OutputJSON

MuonFastReconstructionTesterConfig.OutputJSON

Definition at line 66 of file MuonFastReconstructionTesterConfig.py.

◆ outRootFile

MuonFastReconstructionTesterConfig.outRootFile

Definition at line 57 of file MuonFastReconstructionTesterConfig.py.

◆ parser

MuonFastReconstructionTesterConfig.parser = SetupArgParser()

Definition at line 40 of file MuonFastReconstructionTesterConfig.py.

◆ ProfiledAlgs

MuonFastReconstructionTesterConfig.ProfiledAlgs

Definition at line 67 of file MuonFastReconstructionTesterConfig.py.

◆ VisualizationTool

MuonFastReconstructionTesterConfig.VisualizationTool

Definition at line 126 of file MuonFastReconstructionTesterConfig.py.