ATLAS Offline Software
Functions
MuonTrackPerformanceConfig Namespace Reference

Functions

def TrajectoryBuilderCfg (flags, name="MuonDecayTruthTrajectoryBuilder", **kwargs)
 
def MuonTrackTruthToolCfg (flags, name="MuonTrackTruthTool", **kwargs)
 
def MuonTrackPerformanceAlgCfg (flags, name="MuonTrackPerformanceAlg", **kwargs)
 
def MuonPerformanceAlgCfg (flags, name="MuonPerformanceAlg", **kwargs)
 
def MuonSegmentPerformanceAlgCfg (flags, name="MuonSegmentPerformanceAlg", **kwargs)
 
def MuonTrackStatisticsToolCfg (flags, name="MuonTrackStatisticsTool", **kwargs)
 
def MuonTrackStatisticsAlgCfg (flags, name="MuonTrackStatisticsAlg", **kwargs)
 

Function Documentation

◆ MuonPerformanceAlgCfg()

def MuonTrackPerformanceConfig.MuonPerformanceAlgCfg (   flags,
  name = "MuonPerformanceAlg",
**  kwargs 
)

Definition at line 30 of file MuonTrackPerformanceConfig.py.

30 def MuonPerformanceAlgCfg(flags, name = "MuonPerformanceAlg", **kwargs):
31  result = ComponentAccumulator()
32  the_alg = CompFactory.MuonPerformanceAlg(name, **kwargs)
33  result.addEventAlgo(the_alg, primary = True)
34  return result
35 

◆ MuonSegmentPerformanceAlgCfg()

def MuonTrackPerformanceConfig.MuonSegmentPerformanceAlgCfg (   flags,
  name = "MuonSegmentPerformanceAlg",
**  kwargs 
)

Definition at line 36 of file MuonTrackPerformanceConfig.py.

36 def MuonSegmentPerformanceAlgCfg(flags, name = "MuonSegmentPerformanceAlg", **kwargs):
37  result = ComponentAccumulator()
38  the_alg = CompFactory.MuonSegmentPerformanceAlg(name, **kwargs)
39  result.addEventAlgo(the_alg, primary = True)
40  return result
41 

◆ MuonTrackPerformanceAlgCfg()

def MuonTrackPerformanceConfig.MuonTrackPerformanceAlgCfg (   flags,
  name = "MuonTrackPerformanceAlg",
**  kwargs 
)

Definition at line 19 of file MuonTrackPerformanceConfig.py.

19 def MuonTrackPerformanceAlgCfg(flags, name = "MuonTrackPerformanceAlg", **kwargs):
20  result = ComponentAccumulator()
21  from MuonConfig.MuonRecToolsConfig import MuonEDMPrinterToolCfg, MuonTrackSummaryHelperToolCfg
22  kwargs.setdefault("Printer", result.getPrimaryAndMerge(MuonEDMPrinterToolCfg(flags)))
23  kwargs.setdefault("TrackTruthTool", result.popToolsAndMerge(MuonTrackTruthToolCfg(flags)))
24  kwargs.setdefault("SummaryHelperTool", result.popToolsAndMerge(MuonTrackSummaryHelperToolCfg(flags)))
25  kwargs.setdefault("DoTruth", flags.Input.isMC)
26  the_alg = CompFactory. MuonTrackPerformanceAlg(name, **kwargs)
27  result.addEventAlgo(the_alg, primary = True)
28  return result
29 

◆ MuonTrackStatisticsAlgCfg()

def MuonTrackPerformanceConfig.MuonTrackStatisticsAlgCfg (   flags,
  name = "MuonTrackStatisticsAlg",
**  kwargs 
)

Definition at line 46 of file MuonTrackPerformanceConfig.py.

46 def MuonTrackStatisticsAlgCfg(flags, name = "MuonTrackStatisticsAlg", **kwargs):
47  result = ComponentAccumulator()
48  kwargs.setdefault("StatTool", result.popToolsAndMerge(MuonTrackStatisticsToolCfg(flags)))
49  return result

◆ MuonTrackStatisticsToolCfg()

def MuonTrackPerformanceConfig.MuonTrackStatisticsToolCfg (   flags,
  name = "MuonTrackStatisticsTool",
**  kwargs 
)

Definition at line 42 of file MuonTrackPerformanceConfig.py.

42 def MuonTrackStatisticsToolCfg(flags, name = "MuonTrackStatisticsTool", **kwargs):
43  result = ComponentAccumulator()
44  result.setPrivateTools(CompFactory.MuonTrackStatisticsTool(name, **kwargs))
45  return result

◆ MuonTrackTruthToolCfg()

def MuonTrackPerformanceConfig.MuonTrackTruthToolCfg (   flags,
  name = "MuonTrackTruthTool",
**  kwargs 
)

Definition at line 10 of file MuonTrackPerformanceConfig.py.

10 def MuonTrackTruthToolCfg(flags, name = "MuonTrackTruthTool", **kwargs):
11  result = ComponentAccumulator()
12  from MuonConfig.MuonRecToolsConfig import MuonEDMPrinterToolCfg
13  kwargs.setdefault("Printer", result.getPrimaryAndMerge(MuonEDMPrinterToolCfg(flags)))
14  kwargs.setdefault("TruthTrajectoryBuilder", result.popToolsAndMerge(TrajectoryBuilderCfg(flags)))
15  the_tool = CompFactory.Muon.MuonTrackTruthTool(name, **kwargs)
16  result.setPrivateTools(the_tool)
17  return result
18 

◆ TrajectoryBuilderCfg()

def MuonTrackPerformanceConfig.TrajectoryBuilderCfg (   flags,
  name = "MuonDecayTruthTrajectoryBuilder",
**  kwargs 
)

Definition at line 5 of file MuonTrackPerformanceConfig.py.

5 def TrajectoryBuilderCfg(flags, name = "MuonDecayTruthTrajectoryBuilder", **kwargs):
6  result = ComponentAccumulator()
7  the_tool = CompFactory.Muon.MuonDecayTruthTrajectoryBuilder(name, **kwargs)
8  result.setPrivateTools(the_tool)
9  return result
python.MuonRecToolsConfig.MuonTrackSummaryHelperToolCfg
def MuonTrackSummaryHelperToolCfg(flags, name="MuonTrackSummaryHelperTool", **kwargs)
Definition: MuonRecToolsConfig.py:123
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
MuonTrackPerformanceConfig.MuonTrackStatisticsToolCfg
def MuonTrackStatisticsToolCfg(flags, name="MuonTrackStatisticsTool", **kwargs)
Definition: MuonTrackPerformanceConfig.py:42
python.MuonRecToolsConfig.MuonEDMPrinterToolCfg
def MuonEDMPrinterToolCfg(flags, name="MuonEDMPrinterTool", **kwargs)
Definition: MuonRecToolsConfig.py:10
MuonTrackPerformanceConfig.MuonTrackStatisticsAlgCfg
def MuonTrackStatisticsAlgCfg(flags, name="MuonTrackStatisticsAlg", **kwargs)
Definition: MuonTrackPerformanceConfig.py:46
MuonTrackPerformanceConfig.TrajectoryBuilderCfg
def TrajectoryBuilderCfg(flags, name="MuonDecayTruthTrajectoryBuilder", **kwargs)
Definition: MuonTrackPerformanceConfig.py:5
MuonTrackPerformanceConfig.MuonTrackTruthToolCfg
def MuonTrackTruthToolCfg(flags, name="MuonTrackTruthTool", **kwargs)
Definition: MuonTrackPerformanceConfig.py:10
MuonTrackPerformanceConfig.MuonSegmentPerformanceAlgCfg
def MuonSegmentPerformanceAlgCfg(flags, name="MuonSegmentPerformanceAlg", **kwargs)
Definition: MuonTrackPerformanceConfig.py:36
MuonTrackPerformanceConfig.MuonPerformanceAlgCfg
def MuonPerformanceAlgCfg(flags, name="MuonPerformanceAlg", **kwargs)
Definition: MuonTrackPerformanceConfig.py:30
MuonTrackPerformanceAlg
Definition: MuonTrackPerformanceAlg.h:50
MuonTrackPerformanceConfig.MuonTrackPerformanceAlgCfg
def MuonTrackPerformanceAlgCfg(flags, name="MuonTrackPerformanceAlg", **kwargs)
Definition: MuonTrackPerformanceConfig.py:19