ATLAS Offline Software
MuonSelectorCutDefs.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 
12 
13 # Import a needed helper
14 from PATCore.HelperUtils import GetTool
15 
16 # Define GeV
17 GeV = 1000.0
18 
19 
20 
21 def MuonSelectorConfig(theTool) :
22  """
23  This defines the cut values for the muon
24  """
25  theTool = GetTool(theTool)
26  theTool.nPixMin = 1
27  theTool.nSCTMin = 5
28  theTool.nIDHolesMax = 2
29  theTool.etaMax = 1.9
30  theTool.etaMin = 0.1
31  theTool.nTRTMin = 6
32  pass
33 
34 def MuonSelectorConfig2011(theTool) :
35  """
36  This defines the cut values for the muons in 2011
37  """
38  theTool = GetTool(theTool)
39  theTool.nBLMin = 1
40  theTool.nPixMin = 2
41  theTool.nSCTMin = 6
42  theTool.nIDHolesMax = 2
43  theTool.etaMax = 1.9
44  theTool.etaMin = 0.
45  theTool.nTRTMin = 6
46  pass
47 
48 def CaloMuonSelectorConfig(theTool) :
49  """
50  This defines the cut values for the muon
51  """
52  theTool = GetTool(theTool)
53  theTool.nPixMin = 1
54  theTool.nSCTMin = 5
55  theTool.nIDHolesMax = 2
56  theTool.etaMax = 1.9
57  theTool.etaMin = 0.1
58  theTool.caloEtaMax = 0.1
59  theTool.caloMuonIDTagMin = 11
60  theTool.caloLRLikelihoodMin = 0.9
61  pass
62 
64  """
65  This defines the cut values for the muon
66  """
67  theTool = GetTool(theTool)
68  theTool.nCSCHitsMin = 1
69  theTool.nMDTEMHitsMin = 1
70  theTool.nMDTEOHitsMin = 1
71  pass
72 
python.MuonSelectorCutDefs.StandAloneMuonSelectorConfig
def StandAloneMuonSelectorConfig(theTool)
Definition: MuonSelectorCutDefs.py:63
python.MuonSelectorCutDefs.MuonSelectorConfig
def MuonSelectorConfig(theTool)
Definition: MuonSelectorCutDefs.py:21
python.MuonSelectorCutDefs.CaloMuonSelectorConfig
def CaloMuonSelectorConfig(theTool)
Definition: MuonSelectorCutDefs.py:48
python.MuonSelectorCutDefs.MuonSelectorConfig2011
def MuonSelectorConfig2011(theTool)
Definition: MuonSelectorCutDefs.py:34
python.HelperUtils.GetTool
def GetTool(theTool)
Definition: HelperUtils.py:15