ATLAS Offline Software
Loading...
Searching...
No Matches
TriggerPhotonIsEMSelectorMapping Namespace Reference

Classes

class  triggerPhotonPIDmenu

Functions

 TriggerPhotonIsEMMap (quality, menu)

Variables

dict TriggerPhotonIsEMMapCurrent

Function Documentation

◆ TriggerPhotonIsEMMap()

TriggerPhotonIsEMSelectorMapping.TriggerPhotonIsEMMap ( quality,
menu )

Definition at line 37 of file TriggerPhotonIsEMSelectorMapping.py.

37def TriggerPhotonIsEMMap(quality, menu):
38 # These are the "current menus" (non-legacy)
39 if menu == triggerPhotonPIDmenu.menuCurrentCuts and quality in TriggerPhotonIsEMMapCurrent.keys():
40 return TriggerPhotonIsEMMapCurrent[quality]
41 else:
42 raise ValueError("Requested menu is undefined: %d" % menu)
43

Variable Documentation

◆ TriggerPhotonIsEMMapCurrent

dict TriggerPhotonIsEMSelectorMapping.TriggerPhotonIsEMMapCurrent
Initial value:
1= {
2 egammaPID.PhotonIDLoose: (
3 egammaPID.PhotonLoose,
4 TriggerPhotonIsEMMenuDefs.PhotonIsEMLooseSelectorConfig),
5 egammaPID.PhotonIDMedium: (
6 egammaPID.PhotonMedium,
7 TriggerPhotonIsEMMenuDefs.PhotonIsEMMediumSelectorConfig),
8 egammaPID.PhotonIDTight: (
9 egammaPID.PhotonTight,
10 TriggerPhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfig),
11}

Definition at line 25 of file TriggerPhotonIsEMSelectorMapping.py.