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

Classes

class  photonPIDmenu
 

Functions

def PhotonIsEMMap (quality, menu)
 

Variables

dictionary PhotonIsEMMapCurrent
 
dictionary PhotonIsEMMapPtInclJan2018
 
dictionary PhotonIsEMMapMuDependent2022
 

Function Documentation

◆ PhotonIsEMMap()

def python.PhotonIsEMSelectorMapping.PhotonIsEMMap (   quality,
  menu 
)

Definition at line 74 of file PhotonIsEMSelectorMapping.py.

74 def PhotonIsEMMap(quality, menu):
75  # These are the "current menus" (non-legacy)
76  if menu == photonPIDmenu.menuCurrentCuts and quality in PhotonIsEMMapCurrent.keys():
77  return PhotonIsEMMapCurrent[quality]
78  elif menu == photonPIDmenu.menuPtInclJan2018 and quality in PhotonIsEMMapPtInclJan2018.keys():
79  return PhotonIsEMMapPtInclJan2018[quality]
80  elif menu == photonPIDmenu.menuMuDependent2022 and quality in PhotonIsEMMapMuDependent2022.keys():
81  return PhotonIsEMMapMuDependent2022[quality]
82  else:
83  raise ValueError("Requested menu is undefined: %d" % menu)

Variable Documentation

◆ PhotonIsEMMapCurrent

dictionary python.PhotonIsEMSelectorMapping.PhotonIsEMMapCurrent
Initial value:
1 = {
2  egammaPID.PhotonIDLoose: (
3  egammaPID.PhotonLoose,
4  PhotonIsEMMenuDefs.PhotonIsEMLooseSelectorConfig),
5  egammaPID.PhotonIDMedium: (
6  egammaPID.PhotonMedium,
7  PhotonIsEMMenuDefs.PhotonIsEMMediumSelectorConfig),
8  egammaPID.PhotonIDTight: (
9  egammaPID.PhotonTight,
10  PhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfig),
11 
12  egammaPID.PhotonIDLooseAR: (
13  egammaPID.PhotonLooseAR,
14  PhotonIsEMMenuDefs.PhotonIsEMLooseSelectorConfig),
15  egammaPID.PhotonIDMediumAR: (
16  egammaPID.PhotonMediumAR,
17  PhotonIsEMMenuDefs.PhotonIsEMMediumSelectorConfig),
18  egammaPID.PhotonIDTightAR: (
19  egammaPID.PhotonTightAR,
20  PhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfig),
21  egammaPID.NoIDCut: (
22  0,
23  PhotonIsEMMenuDefs.PhotonIsEMLooseSelectorConfig)
24 }

Definition at line 36 of file PhotonIsEMSelectorMapping.py.

◆ PhotonIsEMMapMuDependent2022

dictionary python.PhotonIsEMSelectorMapping.PhotonIsEMMapMuDependent2022
Initial value:
1 = {
2  egammaPID.PhotonIDTight: (
3  egammaPID.PhotonTight,
4  PhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfigMuDependent2022),
5 }

Definition at line 67 of file PhotonIsEMSelectorMapping.py.

◆ PhotonIsEMMapPtInclJan2018

dictionary python.PhotonIsEMSelectorMapping.PhotonIsEMMapPtInclJan2018
Initial value:
1 = {
2  egammaPID.PhotonIDTight: (
3  egammaPID.PhotonTight,
4  PhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfigPtInclJan2018),
5 }

Definition at line 61 of file PhotonIsEMSelectorMapping.py.

python.PhotonIsEMSelectorMapping.PhotonIsEMMap
def PhotonIsEMMap(quality, menu)
Definition: PhotonIsEMSelectorMapping.py:74