ATLAS Offline Software
Functions
python.MuonsToolsConfig Namespace Reference

Functions

def MuonJetDrToolCfg (ConfigFlags, name)
 
def MuonTPExtrapolationAlgCfg (ConfigFlags, name="MuonTPExtrapolationAlg", **kwargs)
 Configuration for the MuonTPExtrapolation tool. More...
 
def MuonCaloDepositAlgCfg (ConfigFlags, name="MuonCaloDepositAlg", **kwargs)
 Algorithm that decorates the calorimeter deposits in form of 3 vectors to the muon. More...
 
def AnalysisMuonThinningAlgCfg (ConfigFlags, name="AnalysisMuonThinningAlg", **kwargs)
 Algorithm used to thin bad muons from the analysis stream. More...
 
def DiMuonTaggingAlgCfg (ConfigFlags, name="DiMuonTaggingTool", **kwargs)
 Di-muon tagging tool, for T&P studies. More...
 

Function Documentation

◆ AnalysisMuonThinningAlgCfg()

def python.MuonsToolsConfig.AnalysisMuonThinningAlgCfg (   ConfigFlags,
  name = "AnalysisMuonThinningAlg",
**  kwargs 
)

Algorithm used to thin bad muons from the analysis stream.

Definition at line 31 of file MuonsToolsConfig.py.

31 def AnalysisMuonThinningAlgCfg(ConfigFlags, name="AnalysisMuonThinningAlg", **kwargs):
32  acc = ComponentAccumulator()
33  from MuonSelectorTools.MuonSelectorToolsConfig import MuonSelectionToolCfg
34  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(MuonSelectionToolCfg(ConfigFlags,
35  name="MuonSelThinningTool")))
36  the_alg = CompFactory.DerivationFramework.AnalysisMuonThinningAlg(name, **kwargs)
37  acc.addEventAlgo(the_alg, primary = True)
38  return acc
39 
40 

◆ DiMuonTaggingAlgCfg()

def python.MuonsToolsConfig.DiMuonTaggingAlgCfg (   ConfigFlags,
  name = "DiMuonTaggingTool",
**  kwargs 
)

Di-muon tagging tool, for T&P studies.

Definition at line 42 of file MuonsToolsConfig.py.

42 def DiMuonTaggingAlgCfg(ConfigFlags, name="DiMuonTaggingTool", **kwargs):
43  acc = ComponentAccumulator()
44 
45  kwargs.setdefault("applyTrigger",True)
46  if kwargs["applyTrigger"]:
47  from TriggerMatchingTool.TriggerMatchingToolConfig import TriggerMatchingToolCfg
48  kwargs.setdefault("TrigMatchingTool", acc.popToolsAndMerge(
49  TriggerMatchingToolCfg(ConfigFlags)))
50 
51  from MuonSelectorTools.MuonSelectorToolsConfig import MuonSelectionToolCfg
52  kwargs.setdefault("SelectionTool", acc.popToolsAndMerge(MuonSelectionToolCfg(ConfigFlags)))
53  kwargs.setdefault("isMC", ConfigFlags.Input.isMC)
54  the_alg = CompFactory.DerivationFramework.DiMuonTaggingAlg(name, **kwargs)
55  acc.addEventAlgo(the_alg, primary = True)
56  return acc
57 

◆ MuonCaloDepositAlgCfg()

def python.MuonsToolsConfig.MuonCaloDepositAlgCfg (   ConfigFlags,
  name = "MuonCaloDepositAlg",
**  kwargs 
)

Algorithm that decorates the calorimeter deposits in form of 3 vectors to the muon.

The deposits are used to identify the track as CT muon

Definition at line 22 of file MuonsToolsConfig.py.

22 def MuonCaloDepositAlgCfg(ConfigFlags, name= "MuonCaloDepositAlg", **kwargs):
23  acc = ComponentAccumulator()
24  from MuonCombinedConfig.MuonCombinedRecToolsConfig import TrackDepositInCaloToolCfg
25  kwargs.setdefault("TrackDepositInCaloTool", acc.popToolsAndMerge(TrackDepositInCaloToolCfg(ConfigFlags)))
26  the_alg = CompFactory.DerivationFramework.IDTrackCaloDepositsDecoratorAlg(name, **kwargs)
27  acc.addEventAlgo(the_alg, primary = True)
28  return acc
29 

◆ MuonJetDrToolCfg()

def python.MuonsToolsConfig.MuonJetDrToolCfg (   ConfigFlags,
  name 
)

Definition at line 6 of file MuonsToolsConfig.py.

6 def MuonJetDrToolCfg(ConfigFlags, name):
8  muonJetDrTool = CompFactory.DerivationFramework.MuonJetDrTool(name)
9  acc.addPublicTool(muonJetDrTool, primary=True)
10  return acc
11 

◆ MuonTPExtrapolationAlgCfg()

def python.MuonsToolsConfig.MuonTPExtrapolationAlgCfg (   ConfigFlags,
  name = "MuonTPExtrapolationAlg",
**  kwargs 
)

Configuration for the MuonTPExtrapolation tool.

Definition at line 13 of file MuonsToolsConfig.py.

13 def MuonTPExtrapolationAlgCfg(ConfigFlags, name = "MuonTPExtrapolationAlg", **kwargs):
15  from TrkConfig.AtlasExtrapolatorConfig import MuonExtrapolatorCfg
16  kwargs.setdefault("Extrapolator", acc.popToolsAndMerge(MuonExtrapolatorCfg(ConfigFlags)))
17  the_alg = CompFactory.DerivationFramework.MuonTPExtrapolationAlg(name = name,**kwargs)
18  acc.addEventAlgo(the_alg, primary = True)
19  return acc
python.MuonsToolsConfig.MuonTPExtrapolationAlgCfg
def MuonTPExtrapolationAlgCfg(ConfigFlags, name="MuonTPExtrapolationAlg", **kwargs)
Configuration for the MuonTPExtrapolation tool.
Definition: MuonsToolsConfig.py:13
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonsToolsConfig.MuonJetDrToolCfg
def MuonJetDrToolCfg(ConfigFlags, name)
Definition: MuonsToolsConfig.py:6
python.MuonsToolsConfig.DiMuonTaggingAlgCfg
def DiMuonTaggingAlgCfg(ConfigFlags, name="DiMuonTaggingTool", **kwargs)
Di-muon tagging tool, for T&P studies.
Definition: MuonsToolsConfig.py:42
TriggerMatchingToolConfig.TriggerMatchingToolCfg
def TriggerMatchingToolCfg(ConfigFlags, name, UseTypedScoringTool=False, **kwargs)
Definition: PhysicsAnalysis/DerivationFramework/DerivationFrameworkTrigger/python/TriggerMatchingToolConfig.py:19
python.AtlasExtrapolatorConfig.MuonExtrapolatorCfg
def MuonExtrapolatorCfg(flags, name="MuonExtrapolator", **kwargs)
Definition: AtlasExtrapolatorConfig.py:376
python.MuonSelectorToolsConfig.MuonSelectionToolCfg
def MuonSelectionToolCfg(flags, name="MuonSelectionTool", **kwargs)
Standard configuration of the MuonSelectionTool used in reconstruction & validation jobs The snippet ...
Definition: MuonSelectorToolsConfig.py:16
python.MuonsToolsConfig.MuonCaloDepositAlgCfg
def MuonCaloDepositAlgCfg(ConfigFlags, name="MuonCaloDepositAlg", **kwargs)
Algorithm that decorates the calorimeter deposits in form of 3 vectors to the muon.
Definition: MuonsToolsConfig.py:22
python.MuonCombinedRecToolsConfig.TrackDepositInCaloToolCfg
def TrackDepositInCaloToolCfg(flags, name='TrackDepositInCaloTool', **kwargs)
Definition: MuonCombinedRecToolsConfig.py:899
python.MuonsToolsConfig.AnalysisMuonThinningAlgCfg
def AnalysisMuonThinningAlgCfg(ConfigFlags, name="AnalysisMuonThinningAlg", **kwargs)
Algorithm used to thin bad muons from the analysis stream.
Definition: MuonsToolsConfig.py:31