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

Classes

class  electronLHmenu
 

Functions

def ElectronLikelihoodMap (quality, menu)
 

Variables

dictionary ElectronLHMapTrigger2015
 
dictionary ElectronLHMapOfflineMC20
 
dictionary ElectronLHMapOfflineMC21
 

Function Documentation

◆ ElectronLikelihoodMap()

def python.ElectronLikelihoodToolMapping.ElectronLikelihoodMap (   quality,
  menu 
)

Definition at line 57 of file ElectronLikelihoodToolMapping.py.

57 def ElectronLikelihoodMap(quality, menu):
58  if menu == electronLHmenu.trigger2015:
59  return ElectronLHMapTrigger2015[quality]
60  elif menu == electronLHmenu.offlineMC20:
61  return ElectronLHMapOfflineMC20[quality]
62  elif menu == electronLHmenu.offlineMC21:
63  return ElectronLHMapOfflineMC21[quality]
64  else:
65  raise ValueError("Requested menu is undefined: %d" % menu)

Variable Documentation

◆ ElectronLHMapOfflineMC20

dictionary python.ElectronLikelihoodToolMapping.ElectronLHMapOfflineMC20
Initial value:
1 = {
2  LikeEnum.VeryLoose: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodVeryLooseOfflineConfigMC20),
3  LikeEnum.Loose: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseOfflineConfigMC20),
4  LikeEnum.LooseBL: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseBLOfflineConfigMC20),
5  LikeEnum.Medium: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodMediumOfflineConfigMC20),
6  LikeEnum.Tight: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodTightOfflineConfigMC20),
7 
8  LikeEnum.VeryLooseLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodVeryLooseLLPOfflineConfigMC20),
9  LikeEnum.LooseLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseLLPOfflineConfigMC20),
10  LikeEnum.MediumLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodMediumLLPOfflineConfigMC20),
11  LikeEnum.TightLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodTightLLPOfflineConfigMC20),
12 }

Definition at line 31 of file ElectronLikelihoodToolMapping.py.

◆ ElectronLHMapOfflineMC21

dictionary python.ElectronLikelihoodToolMapping.ElectronLHMapOfflineMC21
Initial value:
1 = {
2  LikeEnum.VeryLoose: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodVeryLooseOfflineConfigMC21),
3  LikeEnum.Loose: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseOfflineConfigMC21),
4  LikeEnum.LooseBL: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseBLOfflineConfigMC21),
5  LikeEnum.Medium: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodMediumOfflineConfigMC21),
6  LikeEnum.Tight: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodTightOfflineConfigMC21),
7 
8  LikeEnum.VeryLooseLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodVeryLooseLLPOfflineConfigMC21),
9  LikeEnum.LooseLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseLLPOfflineConfigMC21),
10  LikeEnum.MediumLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodMediumLLPOfflineConfigMC21),
11  LikeEnum.TightLLP: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodTightLLPOfflineConfigMC21),
12 }

Definition at line 44 of file ElectronLikelihoodToolMapping.py.

◆ ElectronLHMapTrigger2015

dictionary python.ElectronLikelihoodToolMapping.ElectronLHMapTrigger2015
Initial value:
1 = {
2  LikeEnum.Loose: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodLooseTriggerConfig2015),
3  LikeEnum.Medium: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodMediumTriggerConfig2015),
4  LikeEnum.Tight: (LikeEnum.CustomOperatingPoint, ElectronLikelihoodMenuDefs.ElectronLikelihoodTightTriggerConfig2015),
5 }

Definition at line 25 of file ElectronLikelihoodToolMapping.py.

python.ElectronLikelihoodToolMapping.ElectronLikelihoodMap
def ElectronLikelihoodMap(quality, menu)
Definition: ElectronLikelihoodToolMapping.py:57