ATLAS Offline Software
Classes | Functions | Variables
python.ElectronIsEMSelectorMapping Namespace Reference

Classes

class  electronPIDmenu
 

Functions

def ElectronIsEMMap (quality, menu)
 

Variables

dictionary ElectronIsEMMapDC14
 
dictionary TrigElectronIsEMMapDC14
 

Function Documentation

◆ ElectronIsEMMap()

def python.ElectronIsEMSelectorMapping.ElectronIsEMMap (   quality,
  menu 
)

Definition at line 51 of file ElectronIsEMSelectorMapping.py.

51 def ElectronIsEMMap(quality, menu):
52  if menu == electronPIDmenu.menuDC14:
53  return ElectronIsEMMapDC14[quality]
54  elif menu == electronPIDmenu.menuTrigDC14:
55  return TrigElectronIsEMMapDC14[quality]
56  else:
57  raise ValueError("Requested menu is undefined: %d" % menu)

Variable Documentation

◆ ElectronIsEMMapDC14

dictionary python.ElectronIsEMSelectorMapping.ElectronIsEMMapDC14
Initial value:
1 = {
2  egammaPID.ElectronIDLoosePP: (
3  egammaPID.ElectronLoosePP,
4  ElectronIsEMSelectorCutDefs.ElectronIsEMLooseSelectorConfigDC14),
5  egammaPID.ElectronIDMediumPP: (
6  egammaPID.ElectronMediumPP,
7  ElectronIsEMSelectorCutDefs.ElectronIsEMMediumSelectorConfigDC14),
8  egammaPID.ElectronIDTightPP: (
9  egammaPID.ElectronTightPP,
10  ElectronIsEMSelectorCutDefs.ElectronIsEMTightSelectorConfigDC14),
11  egammaPID.NoIDCut: (
12  0,
13  ElectronIsEMSelectorCutDefs.ElectronIsEMLooseSelectorConfigDC14)
14 }

Definition at line 22 of file ElectronIsEMSelectorMapping.py.

◆ TrigElectronIsEMMapDC14

dictionary python.ElectronIsEMSelectorMapping.TrigElectronIsEMMapDC14
Initial value:
1 = {
2  egammaPID.ElectronIDLooseHLT:
3  (egammaPID.ElectronLooseHLT,
4  ElectronIsEMSelectorCutDefs.TrigElectronIsEMLooseSelectorConfigDC14),
5  egammaPID.ElectronIDMediumHLT:
6  (egammaPID.ElectronMediumHLT,
7  ElectronIsEMSelectorCutDefs.TrigElectronIsEMMediumSelectorConfigDC14),
8  egammaPID.ElectronIDTightHLT:
9  (egammaPID.ElectronTightHLT,
10  ElectronIsEMSelectorCutDefs.TrigElectronIsEMTightSelectorConfigDC14),
11 }

Definition at line 38 of file ElectronIsEMSelectorMapping.py.

python.ElectronIsEMSelectorMapping.ElectronIsEMMap
def ElectronIsEMMap(quality, menu)
Definition: ElectronIsEMSelectorMapping.py:51