ATLAS Offline Software
Functions
python.MuonSelectorToolsConfig Namespace Reference

Functions

def MuonSelectionToolCfg (flags, name="MuonSelectionTool", **kwargs)
 Standard configuration of the MuonSelectionTool used in reconstruction & validation jobs The snippet is not meant for analysis jobs as it inherently switches off important cuts ensuring best muon selection quality. More...
 

Function Documentation

◆ MuonSelectionToolCfg()

def python.MuonSelectorToolsConfig.MuonSelectionToolCfg (   flags,
  name = "MuonSelectionTool",
**  kwargs 
)

Standard configuration of the MuonSelectionTool used in reconstruction & validation jobs The snippet is not meant for analysis jobs as it inherently switches off important cuts ensuring best muon selection quality.

Configure the muon selection tool

Definition at line 16 of file MuonSelectorToolsConfig.py.

16 def MuonSelectionToolCfg(flags, name="MuonSelectionTool", **kwargs):
17  """Configure the muon selection tool"""
18  acc = ComponentAccumulator()
19  kwargs.setdefault("IsRun3Geo", flags.GeoModel.Run >= LHCPeriod.Run3 )
20  kwargs.setdefault("DisablePtCuts", True)
21  kwargs.setdefault("TurnOffMomCorr", True)
22  the_tool = CompFactory.CP.MuonSelectionTool(name, **kwargs)
23  acc.setPrivateTools(the_tool)
24  return acc
25 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
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