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

Classes

class  triggerPhotonPIDmenu

Functions

 TriggerPhotonIsEMMap (quality, menu)

Variables

dict TriggerPhotonIsEMMapCurrent

Function Documentation

◆ TriggerPhotonIsEMMap()

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:
40 return TriggerPhotonIsEMMapCurrent[quality]
41 else:
42 raise ValueError("Requested menu is undefined: %d" % menu)
43

Variable Documentation

◆ TriggerPhotonIsEMMapCurrent

dict TriggerPhotonIsEMSelectorMapping.TriggerPhotonIsEMMapCurrent
Initial value:
= {
egammaPID.PhotonIDLoose: (
egammaPID.PhotonLoose,
TriggerPhotonIsEMMenuDefs.PhotonIsEMLooseSelectorConfig),
egammaPID.PhotonIDMedium: (
egammaPID.PhotonMedium,
TriggerPhotonIsEMMenuDefs.PhotonIsEMMediumSelectorConfig),
egammaPID.PhotonIDTight: (
egammaPID.PhotonTight,
TriggerPhotonIsEMMenuDefs.PhotonIsEMTightSelectorConfig),
}

Definition at line 25 of file TriggerPhotonIsEMSelectorMapping.py.