test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
hltExoticaPostProcessors_cff Namespace Reference

Functions

def add_reco_strings
 
def efficiency_string
 

Variables

list efficiency_strings = []
 
tuple hltExoticaDisplacedDimuonDijet = hltExoticaPostProcessor.clone()
 
tuple hltExoticaDSTJets = hltExoticaPostProcessor.clone()
 
tuple hltExoticaDSTMuons = hltExoticaPostProcessor.clone()
 
tuple hltExoticaEleMu = hltExoticaPostProcessor.clone()
 
tuple hltExoticaHTDisplacedJets = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPhotonMET = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostCaloHT = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostDiPhoton = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostDisplacedDimuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostDisplacedL2Dimuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostDisplacedMuEG = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostHighPtDielectron = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostHighPtDimuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostHighPtElectron = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostHighPtPhoton = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostJetNoBptx = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostLowPtDielectron = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostLowPtDimuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostLowPtElectron = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostLowPtTrimuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostMETplusTrack = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostMonojet = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostMonojetBackup = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostMuonNoBptx = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostPFHT = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostProcessors
 
tuple hltExoticaPostPureMET = hltExoticaPostProcessor.clone()
 
tuple hltExoticaPostSingleMuon = hltExoticaPostProcessor.clone()
 
tuple hltExoticaTracklessJets = hltExoticaPostProcessor.clone()
 
list obj_types
 
list plot_types = ["TurnOn1", "TurnOn2", "TurnOn3", "TurnOn4", "EffEta", "EffPhi", "EffDxy"]
 
tuple s = _config.__getattribute__(an)
 
list triggers = [ ]
 
tuple vstr = s.__getattribute__("hltPathsToCheck")
 

Function Documentation

def hltExoticaPostProcessors_cff.add_reco_strings (   strings)

Definition at line 60 of file hltExoticaPostProcessors_cff.py.

References python.rootplot.root2matplotlib.replace().

60 
61 def add_reco_strings(strings):
62  reco_strings = []
63  for entry in strings:
64  reco_strings.append(entry
65  .replace("Generated", "Reconstructed")
66  .replace("Gen", "Reco")
67  .replace("gen", "rec"))
68  strings.extend(reco_strings)
69 
def hltExoticaPostProcessors_cff.efficiency_string (   objtype,
  plot_type,
  triggerpath 
)

Definition at line 6 of file hltExoticaPostProcessors_cff.py.

6 
7 def efficiency_string(objtype,plot_type,triggerpath):
8  # --- IMPORTANT: Add here a elif if you are introduce a new collection
9  # (see EVTColContainer::getTypeString)
10  if objtype == "Mu" :
11  objtypeLatex="#mu"
12  elif objtype == "refittedStandAloneMuons":
13  objtypeLatex="refittedStandAlone #mu"
14  elif objtype == "Ele":
15  objtypeLatex="e"
16  elif objtype == "Photon":
17  objtypeLatex="#gamma"
18  elif objtype == "PFTau":
19  objtypeLatex="#tau"
20  else:
21  objtypeLatex=objtype
22  numer_description = "# gen %s passed the %s" % (objtypeLatex,triggerpath)
23  denom_description = "# gen %s " % (objtypeLatex)
24 
25  if plot_type == "TurnOn1":
26  title = "pT Turn-On"
27  xAxis = "p_{T} of Leading Generated %s (GeV/c)" % (objtype)
28  input_type = "gen%sMaxPt1" % (objtype)
29  if plot_type == "TurnOn2":
30  title = "Next-to-Leading pT Turn-On"
31  xAxis = "p_{T} of Next-to-Leading Generated %s (GeV/c)" % (objtype)
32  input_type = "gen%sMaxPt2" % (objtype)
33  if plot_type == "TurnOn3":
34  title = "Next-to-next-to-Leading pT Turn-On"
35  xAxis = "p_{T} of Next-to-next-to-Leading Generated %s (GeV/c)" % (objtype)
36  input_type = "gen%sMaxPt3" % (objtype)
37  if plot_type == "TurnOn4":
38  title = "SumEt Turn-On"
39  xAxis = "SumEt of Leading Generated %s (GeV/c)" % (objtype)
40  input_type = "gen%sSumEt" % (objtype)
41  if plot_type == "EffEta":
42  title = "#eta Efficiency"
43  xAxis = "#eta of Generated %s " % (objtype)
44  input_type = "gen%sEta" % (objtype)
45  if plot_type == "EffPhi":
46  title = "#phi Efficiency"
47  xAxis = "#phi of Generated %s " % (objtype)
48  input_type = "gen%sPhi" % (objtype)
49  if plot_type == "EffDxy":
50  title = "Dxy Efficiency"
51  xAxis = "Dxy of Generated %s " % (objtype)
52  input_type = "gen%sDxy" % (objtype)
53 
54  yAxis = "%s / %s" % (numer_description, denom_description)
55  all_titles = "%s for trigger %s; %s; %s" % (title, triggerpath,
56  xAxis, yAxis)
57  return "Eff_%s_%s '%s' %s_%s %s" % (input_type,triggerpath,
58  all_titles,input_type,triggerpath,input_type)
59 
# Adding the reco objects

Variable Documentation

list hltExoticaPostProcessors_cff.efficiency_strings = []

Definition at line 77 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaDisplacedDimuonDijet = hltExoticaPostProcessor.clone()

Definition at line 185 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaDSTJets = hltExoticaPostProcessor.clone()

Definition at line 201 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaDSTMuons = hltExoticaPostProcessor.clone()

Definition at line 205 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaEleMu = hltExoticaPostProcessor.clone()

Definition at line 189 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaHTDisplacedJets = hltExoticaPostProcessor.clone()

Definition at line 197 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPhotonMET = hltExoticaPostProcessor.clone()

Definition at line 193 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostCaloHT = hltExoticaPostProcessor.clone()

Definition at line 145 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostDiPhoton = hltExoticaPostProcessor.clone()

Definition at line 133 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostDisplacedDimuon = hltExoticaPostProcessor.clone()

Definition at line 161 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostDisplacedL2Dimuon = hltExoticaPostProcessor.clone()

Definition at line 165 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostDisplacedMuEG = hltExoticaPostProcessor.clone()

Definition at line 157 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostHighPtDielectron = hltExoticaPostProcessor.clone()

Definition at line 109 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostHighPtDimuon = hltExoticaPostProcessor.clone()

Definition at line 105 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostHighPtElectron = hltExoticaPostProcessor.clone()

Definition at line 113 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostHighPtPhoton = hltExoticaPostProcessor.clone()

Definition at line 129 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostJetNoBptx = hltExoticaPostProcessor.clone()

Definition at line 149 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostLowPtDielectron = hltExoticaPostProcessor.clone()

Definition at line 125 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostLowPtDimuon = hltExoticaPostProcessor.clone()

Definition at line 121 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostLowPtElectron = hltExoticaPostProcessor.clone()

Definition at line 117 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostLowPtTrimuon = hltExoticaPostProcessor.clone()

Definition at line 101 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostMETplusTrack = hltExoticaPostProcessor.clone()

Definition at line 181 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostMonojet = hltExoticaPostProcessor.clone()

Definition at line 169 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostMonojetBackup = hltExoticaPostProcessor.clone()

Definition at line 173 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostMuonNoBptx = hltExoticaPostProcessor.clone()

Definition at line 153 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostPFHT = hltExoticaPostProcessor.clone()

Definition at line 141 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostProcessors

Definition at line 213 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostPureMET = hltExoticaPostProcessor.clone()

Definition at line 177 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaPostSingleMuon = hltExoticaPostProcessor.clone()

Definition at line 137 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.hltExoticaTracklessJets = hltExoticaPostProcessor.clone()

Definition at line 209 of file hltExoticaPostProcessors_cff.py.

list hltExoticaPostProcessors_cff.obj_types
Initial value:
1 = ["Mu","refittedStandAloneMuons","Track","Ele","Photon","PFTau","PFJet","MET","PFMET","PFMHT","GenMET","CaloJet"
2  ,"CaloMET","CaloMHT","l1MET"]

Definition at line 73 of file hltExoticaPostProcessors_cff.py.

list hltExoticaPostProcessors_cff.plot_types = ["TurnOn1", "TurnOn2", "TurnOn3", "TurnOn4", "EffEta", "EffPhi", "EffDxy"]

Definition at line 70 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.s = _config.__getattribute__(an)

Definition at line 83 of file hltExoticaPostProcessors_cff.py.

tuple hltExoticaPostProcessors_cff.triggers = [ ]

Definition at line 76 of file hltExoticaPostProcessors_cff.py.

Referenced by ZdcTBAnalyzer.analyze(), and operator<<().

tuple hltExoticaPostProcessors_cff.vstr = s.__getattribute__("hltPathsToCheck")

Definition at line 84 of file hltExoticaPostProcessors_cff.py.