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

Classes

class  forwardelectronPIDmenu
 

Functions

def ForwardElectronIsEMMap (quality, menu)
 

Variables

dictionary ForwardElectronIsEMMapMC15
 

Function Documentation

◆ ForwardElectronIsEMMap()

def python.ForwardElectronIsEMSelectorMapping.ForwardElectronIsEMMap (   quality,
  menu 
)

Definition at line 39 of file ForwardElectronIsEMSelectorMapping.py.

39 def ForwardElectronIsEMMap(quality, menu):
40  if menu == forwardelectronPIDmenu.menuMC15:
41  return ForwardElectronIsEMMapMC15[quality]
42  else:
43  raise ValueError("Requested menu is undefined: %d" % menu)

Variable Documentation

◆ ForwardElectronIsEMMapMC15

dictionary python.ForwardElectronIsEMSelectorMapping.ForwardElectronIsEMMapMC15
Initial value:
1 = {
2  egammaPID.ForwardElectronIDLoose: (
3  egammaPID.ID_ForwardElectron,
4  ForwardElectronIsEMSelectorCutDefs.ForwardElectronIsEMLooseSelectorConfigMC15),
5  egammaPID.ForwardElectronIDMedium: (
6  egammaPID.ID_ForwardElectron,
7  ForwardElectronIsEMSelectorCutDefs.ForwardElectronIsEMMediumSelectorConfigMC15),
8  egammaPID.ForwardElectronIDTight: (
9  egammaPID.ID_ForwardElectron,
10  ForwardElectronIsEMSelectorCutDefs.ForwardElectronIsEMTightSelectorConfigMC15),
11  egammaPID.NoIDCut: (
12  0,
13  ForwardElectronIsEMSelectorCutDefs.ForwardElectronIsEMLooseSelectorConfigMC15)
14 }

Definition at line 23 of file ForwardElectronIsEMSelectorMapping.py.

python.ForwardElectronIsEMSelectorMapping.ForwardElectronIsEMMap
def ForwardElectronIsEMMap(quality, menu)
Definition: ForwardElectronIsEMSelectorMapping.py:39