CMS 3D CMS Logo

HILowLumiHLTOfflineSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4  ret=cms.VPSet()
5  partialPathName = "HLT_AK4CaloJet30_v"
6  hltHICaloJet30 = cms.PSet(
7  triggerSelection = cms.string(partialPathName+"*"),
8  handlerType = cms.string("FromHLT"),
9  partialPathName = cms.string(partialPathName),
10  partialFilterName = cms.string("hltSingleAK4CaloJet"),
11  dqmhistolabel = cms.string("hltHICaloJet30"),
12  mainDQMDirname = cms.untracked.string(dirname),
13  singleObjectsPreselection = cms.string("1==1"),
14  singleObjectDrawables = cms.VPSet(
15  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
16  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
17  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
18  ),
19  combinedObjectSelection = cms.string("1==1"),
20  combinedObjectSortCriteria = cms.string("at(0).pt"),
21  combinedObjectDimension = cms.int32(1),
22  combinedObjectDrawables = cms.VPSet()
23  )
24  ret.append(hltHICaloJet30)
25 
26  hltHICaloJet40 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet40_v"),
27  triggerSelection = cms.string("HLT_AK4CaloJet40_v*"),
28  dqmhistolabel = cms.string("hltHICaloJet40")
29  )
30  ret.append(hltHICaloJet40)
31 
32  hltHICaloJet50 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet50_v"),
33  triggerSelection = cms.string("HLT_AK4CaloJet50_v*"),
34  dqmhistolabel = cms.string("hltHICaloJet50")
35  )
36  ret.append(hltHICaloJet50)
37 
38  hltHICaloJet80 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet80_v"),
39  triggerSelection = cms.string("HLT_AK4CaloJet80_v*"),
40  dqmhistolabel = cms.string("hltHICaloJet80")
41  )
42  ret.append(hltHICaloJet80)
43 
44  hltHICaloJet100 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet100_v"),
45  triggerSelection = cms.string("HLT_AK4CaloJet100_v*"),
46  dqmhistolabel = cms.string("hltHICaloJet100")
47  )
48  ret.append(hltHICaloJet100)
49 
50  hltHICaloJet30ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet30ForEndOfFill_v"),
51  triggerSelection = cms.string("HLT_AK4CaloJet30ForEndOfFill_v*"),
52  dqmhistolabel = cms.string("hltHICaloJet30ForEndOfFill")
53  )
54  ret.append(hltHICaloJet30ForEndOfFill)
55 
56  hltHICaloJet40ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet40ForEndOfFill_v"),
57  triggerSelection = cms.string("HLT_AK4CaloJet40ForEndOfFill_v*"),
58  dqmhistolabel = cms.string("hltHICaloJet40ForEndOfFill")
59  )
60  ret.append(hltHICaloJet40ForEndOfFill)
61 
62  hltHICaloJet50ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet50ForEndOfFill_v"),
63  triggerSelection = cms.string("HLT_AK4CaloJet50ForEndOfFill_v*"),
64  dqmhistolabel = cms.string("hltHICaloJet50ForEndOfFill")
65  )
66  ret.append(hltHICaloJet50ForEndOfFill)
67 
68 
69  hltHIPFJet30 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4PFJet30_v"),
70  triggerSelection = cms.string("HLT_AK4PFJet30_v*"),
71  dqmhistolabel = cms.string("hltHIPFJet30"),
72  partialFilterName = cms.string("hltSingleAK4PFJet")
73  )
74  ret.append(hltHIPFJet30)
75 
76  hltHIPFJet50 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet50_v"),
77  triggerSelection = cms.string("HLT_AK4PFJet50_v*"),
78  dqmhistolabel = cms.string("hltHIPFJet50")
79  )
80  ret.append(hltHIPFJet50)
81 
82  hltHIPFJet80 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet80_v"),
83  triggerSelection = cms.string("HLT_AK4PFJet80_v*"),
84  dqmhistolabel = cms.string("hltHIPFJet80")
85  )
86  ret.append(hltHIPFJet80)
87 
88  hltHIPFJet100 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet100_v"),
89  triggerSelection = cms.string("HLT_AK4PFJet100_v*"),
90  dqmhistolabel = cms.string("hltHIPFJet100")
91  )
92  ret.append(hltHIPFJet100)
93 
94  hltHIPFJet30ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet30ForEndOfFill_v"),
95  triggerSelection = cms.string("HLT_AK4PFJet30ForEndOfFill_v*"),
96  dqmhistolabel = cms.string("hltHIPFJet30ForEndOfFill")
97  )
98  ret.append(hltHIPFJet30ForEndOfFill)
99 
100  hltHIPFJet50ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet50ForEndOfFill_v"),
101  triggerSelection = cms.string("HLT_AK4PFJet50ForEndOfFill_v*"),
102  dqmhistolabel = cms.string("hltHIPFJet50ForEndOfFill")
103  )
104  ret.append(hltHIPFJet50ForEndOfFill)
105 
106  hltHISinglePhoton10 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_HISinglePhoton10_v"),
107  triggerSelection = cms.string("HLT_HISinglePhoton10_v*"),
108  dqmhistolabel = cms.string("hltHISinglePhoton10"),
109  partialFilterName = cms.string("hltHIPhoton")
110  )
111  ret.append(hltHISinglePhoton10)
112 
113  hltHISinglePhoton15 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton15_v"),
114  triggerSelection = cms.string("HLT_HISinglePhoton15_v*"),
115  dqmhistolabel = cms.string("hltHISinglePhoton15")
116  )
117  ret.append(hltHISinglePhoton15)
118 
119 
120  hltHISinglePhoton20 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton20_v"),
121  triggerSelection = cms.string("HLT_HISinglePhoton20_v*"),
122  dqmhistolabel = cms.string("hltHISinglePhoton20")
123  )
124  ret.append(hltHISinglePhoton20)
125 
126  hltHISinglePhoton40 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton40_v"),
127  triggerSelection = cms.string("HLT_HISinglePhoton40_v*"),
128  dqmhistolabel = cms.string("hltHISinglePhoton40")
129  )
130  ret.append(hltHISinglePhoton40)
131 
132  hltHISinglePhoton60 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton60_v"),
133  triggerSelection = cms.string("HLT_HISinglePhoton60_v*"),
134  dqmhistolabel = cms.string("hltHISinglePhoton60")
135  )
136  ret.append(hltHISinglePhoton60)
137 
138  hltHISinglePhoton10ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton10ForEndOfFill_v"),
139  triggerSelection = cms.string("HLT_HISinglePhoton10ForEndOfFill_v*"),
140  dqmhistolabel = cms.string("hltHISinglePhoton10ForEndOfFill")
141  )
142  ret.append(hltHISinglePhoton10ForEndOfFill)
143 
144  hltHISinglePhoton15ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton15ForEndOfFill_v"),
145  triggerSelection = cms.string("HLT_HISinglePhoton15ForEndOfFill_v*"),
146  dqmhistolabel = cms.string("hltHISinglePhoton15ForEndOfFill")
147  )
148  ret.append(hltHISinglePhoton15ForEndOfFill)
149 
150  hltHISinglePhoton20ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton20ForEndOfFill_v"),
151  triggerSelection = cms.string("HLT_HISinglePhoton20ForEndOfFill_v*"),
152  dqmhistolabel = cms.string("hltHISinglePhoton20ForEndOfFill")
153  )
154  ret.append(hltHISinglePhoton20ForEndOfFill)
155 
156  return ret
157 
159  ret=cms.VPSet()
160  thresholds = [12, 20, 30, 50]
161  for t in thresholds:
162  partialPathName = "HLT_FullTrack"+str(t)+"_v"
163  hltFullTrack = cms.PSet(
164  triggerSelection = cms.string(partialPathName+"*"),
165  handlerType = cms.string("FromHLT"),
166  partialPathName = cms.string(partialPathName),
167  partialFilterName = cms.string("hltHighPtFullTrack"),
168  dqmhistolabel = cms.string("hltHighPtFullTrack"),
169  mainDQMDirname = cms.untracked.string(dirname),
170  singleObjectsPreselection = cms.string("1==1"),
171  singleObjectDrawables = cms.VPSet(
172  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
173  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
174  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
175  ),
176  combinedObjectSelection = cms.string("1==1"),
177  combinedObjectSortCriteria = cms.string("at(0).pt"),
178  combinedObjectDimension = cms.int32(1),
179  combinedObjectDrawables = cms.VPSet()
180  )
181  ret.append(hltFullTrack)
182 
183  thresholds2 = [12]
184  for t in thresholds2:
185  partialPathName = "HLT_FullTrack"+str(t)+"ForEndOfFill_v"
186  hltFullTrack = cms.PSet(
187  triggerSelection = cms.string(partialPathName+"*"),
188  handlerType = cms.string("FromHLT"),
189  partialPathName = cms.string(partialPathName),
190  partialFilterName = cms.string("hltHighPtFullTrack"),
191  dqmhistolabel = cms.string("hltHighPtFullTrack"),
192  mainDQMDirname = cms.untracked.string(dirname),
193  singleObjectsPreselection = cms.string("1==1"),
194  singleObjectDrawables = cms.VPSet(
195  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
196  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
197  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
198  ),
199  combinedObjectSelection = cms.string("1==1"),
200  combinedObjectSortCriteria = cms.string("at(0).pt"),
201  combinedObjectDimension = cms.int32(1),
202  combinedObjectDrawables = cms.VPSet()
203  )
204  ret.append(hltFullTrack)
205 
206  thresholds3 = [85,105,135,155]
207  for t in thresholds3:
208  partialPathName = "HLT_FullTracks_Multiplicity"+str(t)+"_v"
209  hltFullTrackMult = cms.PSet(
210  triggerSelection = cms.string(partialPathName+"*"),
211  handlerType = cms.string("FromHLT"),
212  partialPathName = cms.string(partialPathName),
213  partialFilterName = cms.string("hltFullTrackHighMult"),
214  dqmhistolabel = cms.string("hltFullTrackHighMult"),
215  mainDQMDirname = cms.untracked.string(dirname),
216  singleObjectsPreselection = cms.string("1==1"),
217  singleObjectDrawables = cms.VPSet(
218  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
219  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
220  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
221  ),
222  combinedObjectSelection = cms.string("1==1"),
223  combinedObjectSortCriteria = cms.string("at(0).pt"),
224  combinedObjectDimension = cms.int32(1),
225  combinedObjectDrawables = cms.VPSet()
226  )
227  ret.append(hltFullTrackMult)
228 
229  thresholds4 = [20, 30, 40]
230  for t in thresholds4:
231  partialPathName = "HLT_PAFullTracks_HighPt"+str(t)+"_v"
232  hltPAFullTrack = cms.PSet(
233  triggerSelection = cms.string(partialPathName+"*"),
234  handlerType = cms.string("FromHLT"),
235  partialPathName = cms.string(partialPathName),
236  partialFilterName = cms.string("hltPAFullTrack"),
237  dqmhistolabel = cms.string("hltPAFullTrack"),
238  mainDQMDirname = cms.untracked.string(dirname),
239  singleObjectsPreselection = cms.string("1==1"),
240  singleObjectDrawables = cms.VPSet(
241  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
242  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
243  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
244  ),
245  combinedObjectSelection = cms.string("1==1"),
246  combinedObjectSortCriteria = cms.string("at(0).pt"),
247  combinedObjectDimension = cms.int32(1),
248  combinedObjectDrawables = cms.VPSet()
249  )
250  ret.append(hltPAFullTrack)
251 
252  return ret
253 
255  ret=cms.VPSet()
256  thresholds = [120, 150, 185, 220, 250, 280]
257  for t in thresholds:
258  partialPathName = "HLT_PAFullTracks_Multiplicity"+str(t)+"_v"
259 
260  hltPAFullTracks = cms.PSet(
261  triggerSelection = cms.string(partialPathName+"*"),
262  handlerType = cms.string("FromHLT"),
263  partialPathName = cms.string(partialPathName),
264  partialFilterName = cms.string("hltPAFullTrackHighMult"),
265  dqmhistolabel = cms.string("hltPAFullTracks"),
266  mainDQMDirname = cms.untracked.string(dirname),
267  singleObjectsPreselection = cms.string("1==1"),
268  singleObjectDrawables = cms.VPSet(
269  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
270  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
271  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
272  ),
273  combinedObjectSelection = cms.string("1==1"),
274  combinedObjectSortCriteria = cms.string("at(0).pt"),
275  combinedObjectDimension = cms.int32(1),
276  combinedObjectDrawables = cms.VPSet()
277  )
278  ret.append(hltPAFullTracks)
279 
280  return ret
281 
283  ret=cms.VPSet()
284  thresholds = [8, 16]
285  for t in thresholds:
286  partialPathName = "HLT_PAFullTracks_Multiplicity110_HighPt"+str(t)+"_v"
287 
288  hltPAFullTracks = cms.PSet(
289  triggerSelection = cms.string(partialPathName+"*"),
290  handlerType = cms.string("FromHLT"),
291  partialPathName = cms.string(partialPathName),
292  partialFilterName = cms.string("hltPAFullTrackHighPt"),
293  dqmhistolabel = cms.string("hltPAFullTracks"),
294  mainDQMDirname = cms.untracked.string(dirname),
295  singleObjectsPreselection = cms.string("1==1"),
296  singleObjectDrawables = cms.VPSet(
297  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
298  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
299  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
300  ),
301  combinedObjectSelection = cms.string("1==1"),
302  combinedObjectSortCriteria = cms.string("at(0).pt"),
303  combinedObjectDimension = cms.int32(1),
304  combinedObjectDrawables = cms.VPSet()
305  )
306  ret.append(hltPAFullTracks)
307 
308  thresholds = [8, 16]
309  for t in thresholds:
310  partialPathName = "HLT_PAFullTracks_HFSumEt005_HighPt"+str(t)+"_v"
311 
312  hltPAFullTracks = cms.PSet(
313  triggerSelection = cms.string(partialPathName+"*"),
314  handlerType = cms.string("FromHLT"),
315  partialPathName = cms.string(partialPathName),
316  partialFilterName = cms.string("hltPAFullTrackHighPt"),
317  dqmhistolabel = cms.string("hltPAFullTracks"),
318  mainDQMDirname = cms.untracked.string(dirname),
319  singleObjectsPreselection = cms.string("1==1"),
320  singleObjectDrawables = cms.VPSet(
321  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
322  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
323  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
324  ),
325  combinedObjectSelection = cms.string("1==1"),
326  combinedObjectSortCriteria = cms.string("at(0).pt"),
327  combinedObjectDimension = cms.int32(1),
328  combinedObjectDrawables = cms.VPSet()
329  )
330  ret.append(hltPAFullTracks)
331 
332  return ret
333 
335  ret=cms.VPSet()
336  jetTypes = ["Calo", "PF"]
337  jetThresholds = [40, 60, 80, 100, 120]
338  jetThresholdsFor1 = [40, 60]
339  jetThresholdsFor2 = [40]
340  jetThresholdsForMB = [40]
341  bjetThresholds = [40, 60, 80]
342  dijetAveThresholds = [40, 60, 80]
343  gammaThresholds = [10, 15, 20, 30, 40]
344  gammaMBThresholds = [15, 20]
345  gammaThresholdsEGJet = [30, 40]
346  isogammaThresholds = [20]
347  eleThresholds = [20]
348 
349  jetThresholdsMu = [30, 40, 60]
350  gammaThresholdsMu = [10, 15, 20]
351  muThresholds = [3, 5]
352 
353  for jType in jetTypes:
354  for t in jetThresholds:
355  if jType == "Calo" and t == 120:
356  continue
357  partialPathName = "HLT_PAAK4" + jType + "Jet" + str(t) + "_Eta5p1_v"
358  hltSingleJet = cms.PSet(
359  triggerSelection = cms.string(partialPathName+"*"),
360  handlerType = cms.string("FromHLT"),
361  partialPathName = cms.string(partialPathName),
362  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet"),
363  dqmhistolabel = cms.string("hltSingleAK4" + jType + "Jet" + str(t)),
364  mainDQMDirname = cms.untracked.string(dirname),
365  singleObjectsPreselection = cms.string("1==1"),
366  singleObjectDrawables = cms.VPSet(
367  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
368  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
369  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
370  ),
371  combinedObjectSelection = cms.string("1==1"),
372  combinedObjectSortCriteria = cms.string("at(0).pt"),
373  combinedObjectDimension = cms.int32(1),
374  combinedObjectDrawables = cms.VPSet()
375  )
376  ret.append(hltSingleJet)
377 
378  for t in jetThresholdsForMB:
379  partialPathName = "HLT_PAAK4" + jType + "Jet" + str(t) + "_Eta5p1_SeededWithMB_v"
380  hltSingleJet = cms.PSet(
381  triggerSelection = cms.string(partialPathName+"*"),
382  handlerType = cms.string("FromHLT"),
383  partialPathName = cms.string(partialPathName),
384  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet"),
385  dqmhistolabel = cms.string("hltSingleAK4" + jType + "Jet" + str(t)),
386  mainDQMDirname = cms.untracked.string(dirname),
387  singleObjectsPreselection = cms.string("1==1"),
388  singleObjectDrawables = cms.VPSet(
389  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
390  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
391  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
392  ),
393  combinedObjectSelection = cms.string("1==1"),
394  combinedObjectSortCriteria = cms.string("at(0).pt"),
395  combinedObjectDimension = cms.int32(1),
396  combinedObjectDrawables = cms.VPSet()
397  )
398  ret.append(hltSingleJet)
399 
400  for t in jetThresholdsFor1:
401  partialPathName = "HLT_PAAK4" + jType + "Jet" + str(t) + "_Eta1p9toEta5p1_v"
402  hltSingleJet = cms.PSet(
403  triggerSelection = cms.string(partialPathName+"*"),
404  handlerType = cms.string("FromHLT"),
405  partialPathName = cms.string(partialPathName),
406  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet" + str(t) + "MinEta1p9"),
407  dqmhistolabel = cms.string("hltSingleAK4" + jType + "Jet" + str(t) + "MinEta1p9"),
408  mainDQMDirname = cms.untracked.string(dirname),
409  singleObjectsPreselection = cms.string("1==1"),
410  singleObjectDrawables = cms.VPSet(
411  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
412  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
413  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
414  ),
415  combinedObjectSelection = cms.string("1==1"),
416  combinedObjectSortCriteria = cms.string("at(0).pt"),
417  combinedObjectDimension = cms.int32(1),
418  combinedObjectDrawables = cms.VPSet()
419  )
420  ret.append(hltSingleJet)
421 
422  for t in jetThresholdsFor2:
423  partialPathName = "HLT_PAAK4" + jType + "Jet" + str(t) + "_Eta2p9toEta5p1_v"
424  hltSingleJet = cms.PSet(
425  triggerSelection = cms.string(partialPathName+"*"),
426  handlerType = cms.string("FromHLT"),
427  partialPathName = cms.string(partialPathName),
428  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet" + str(t) + "MinEta2p9"),
429  dqmhistolabel = cms.string("hltSingleAK4" + jType + "Jet" + str(t) + "MinEta2p9"),
430  mainDQMDirname = cms.untracked.string(dirname),
431  singleObjectsPreselection = cms.string("1==1"),
432  singleObjectDrawables = cms.VPSet(
433  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
434  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
435  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
436  ),
437  combinedObjectSelection = cms.string("1==1"),
438  combinedObjectSortCriteria = cms.string("at(0).pt"),
439  combinedObjectDimension = cms.int32(1),
440  combinedObjectDrawables = cms.VPSet()
441  )
442  ret.append(hltSingleJet)
443 
444  for t in dijetAveThresholds:
445  partialPathName = "HLT_PADiAK4" + jType + "JetAve" + str(t) + "_Eta5p1_v"
446  hltSingleJet = cms.PSet(
447  triggerSelection = cms.string(partialPathName+"*"),
448  handlerType = cms.string("FromHLT"),
449  partialPathName = cms.string(partialPathName),
450  partialFilterName = cms.string("hltDiAk4" + jType + "JetAve"),
451  dqmhistolabel = cms.string("hltDiAk4" + jType + "JetAve" + str(t)),
452  mainDQMDirname = cms.untracked.string(dirname),
453  singleObjectsPreselection = cms.string("1==1"),
454  singleObjectDrawables = cms.VPSet(
455  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
456  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
457  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
458  ),
459  combinedObjectSelection = cms.string("1==1"),
460  combinedObjectSortCriteria = cms.string("at(0).pt"),
461  combinedObjectDimension = cms.int32(1),
462  combinedObjectDrawables = cms.VPSet()
463  )
464  ret.append(hltSingleJet)
465 
466  for t in bjetThresholds:
467  partialPathName = "HLT_PAAK4" + jType + "BJetCSV" + str(t) + "_Eta2p1_v"
468  hltSingleJet = cms.PSet(
469  triggerSelection = cms.string(partialPathName+"*"),
470  handlerType = cms.string("FromHLT"),
471  partialPathName = cms.string(partialPathName),
472  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet"),
473  dqmhistolabel = cms.string("hltSinglePAAK4" + jType + "BJetCSV" + str(t)),
474  mainDQMDirname = cms.untracked.string(dirname),
475  singleObjectsPreselection = cms.string("1==1"),
476  singleObjectDrawables = cms.VPSet(
477  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
478  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
479  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
480  ),
481  combinedObjectSelection = cms.string("1==1"),
482  combinedObjectSortCriteria = cms.string("at(0).pt"),
483  combinedObjectDimension = cms.int32(1),
484  combinedObjectDrawables = cms.VPSet()
485  )
486  ret.append(hltSingleJet)
487 
488  for t in bjetThresholds:
489  partialPathName = "HLT_PAAK4" + "PF" + "BJetCSV" + str(t) + "_CommonTracking_Eta2p1_v"
490  hltSingleJet = cms.PSet(
491  triggerSelection = cms.string(partialPathName+"*"),
492  handlerType = cms.string("FromHLT"),
493  partialPathName = cms.string(partialPathName),
494  partialFilterName = cms.string("hltSinglePAAK4" + jType + "Jet"),
495  dqmhistolabel = cms.string("hltSinglePAAK4" + jType + "BJetCSV" + str(t) + "CommonTracking"),
496  mainDQMDirname = cms.untracked.string(dirname),
497  singleObjectsPreselection = cms.string("1==1"),
498  singleObjectDrawables = cms.VPSet(
499  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
500  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
501  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
502  ),
503  combinedObjectSelection = cms.string("1==1"),
504  combinedObjectSortCriteria = cms.string("at(0).pt"),
505  combinedObjectDimension = cms.int32(1),
506  combinedObjectDrawables = cms.VPSet()
507  )
508  ret.append(hltSingleJet)
509 
510  for t in gammaThresholds:
511  partialPathName = "HLT_PASinglePhoton" + str(t) + "_Eta3p1_v"
512  hltSingleGamma = cms.PSet(
513  triggerSelection = cms.string(partialPathName+"*"),
514  handlerType = cms.string("FromHLT"),
515  partialPathName = cms.string(partialPathName),
516  partialFilterName = cms.string("hltHIPhoton"),
517  dqmhistolabel = cms.string("hltHIPhoton" + str(t)),
518  mainDQMDirname = cms.untracked.string(dirname),
519  singleObjectsPreselection = cms.string("1==1"),
520  singleObjectDrawables = cms.VPSet(
521  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
522  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
523  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
524  ),
525  combinedObjectSelection = cms.string("1==1"),
526  combinedObjectSortCriteria = cms.string("at(0).pt"),
527  combinedObjectDimension = cms.int32(1),
528  combinedObjectDrawables = cms.VPSet()
529  )
530  ret.append(hltSingleGamma)
531 
532  for t in gammaMBThresholds:
533  partialPathName = "HLT_PASinglePhoton" + str(t) + "_Eta3p1_SeededWithMB_v"
534  hltSingleGamma = cms.PSet(
535  triggerSelection = cms.string(partialPathName+"*"),
536  handlerType = cms.string("FromHLT"),
537  partialPathName = cms.string(partialPathName),
538  partialFilterName = cms.string("hltHIPhoton"),
539  dqmhistolabel = cms.string("hltHIPhoton" + str(t)),
540  mainDQMDirname = cms.untracked.string(dirname),
541  singleObjectsPreselection = cms.string("1==1"),
542  singleObjectDrawables = cms.VPSet(
543  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
544  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
545  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
546  ),
547  combinedObjectSelection = cms.string("1==1"),
548  combinedObjectSortCriteria = cms.string("at(0).pt"),
549  combinedObjectDimension = cms.int32(1),
550  combinedObjectDrawables = cms.VPSet()
551  )
552  ret.append(hltSingleGamma)
553 
554  for t in gammaThresholdsEGJet:
555  partialPathName = "HLT_PASinglePhoton" + str(t) + "_L1EGJet_Eta3p1_v"
556  hltSingleGamma = cms.PSet(
557  triggerSelection = cms.string(partialPathName+"*"),
558  handlerType = cms.string("FromHLT"),
559  partialPathName = cms.string(partialPathName),
560  partialFilterName = cms.string("hltHIPhoton"),
561  dqmhistolabel = cms.string("hltHIPhoton" + str(t)),
562  mainDQMDirname = cms.untracked.string(dirname),
563  singleObjectsPreselection = cms.string("1==1"),
564  singleObjectDrawables = cms.VPSet(
565  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
566  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
567  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
568  ),
569  combinedObjectSelection = cms.string("1==1"),
570  combinedObjectSortCriteria = cms.string("at(0).pt"),
571  combinedObjectDimension = cms.int32(1),
572  combinedObjectDrawables = cms.VPSet()
573  )
574  ret.append(hltSingleGamma)
575 
576  for t in gammaThresholds:
577  partialPathName = "HLT_PAPhoton" + str(t) + "_Eta3p1_PPStyle_v"
578  hltSingleGamma = cms.PSet(
579  triggerSelection = cms.string(partialPathName+"*"),
580  handlerType = cms.string("FromHLT"),
581  partialPathName = cms.string(partialPathName),
582  partialFilterName = cms.string("hltEGBptxAND" + str(t) + "EtFilter"),
583  dqmhistolabel = cms.string("hltHIPhoton" + str(t) + "PPStyle"),
584  mainDQMDirname = cms.untracked.string(dirname),
585  singleObjectsPreselection = cms.string("1==1"),
586  singleObjectDrawables = cms.VPSet(
587  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
588  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
589  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
590  ),
591  combinedObjectSelection = cms.string("1==1"),
592  combinedObjectSortCriteria = cms.string("at(0).pt"),
593  combinedObjectDimension = cms.int32(1),
594  combinedObjectDrawables = cms.VPSet()
595  )
596  ret.append(hltSingleGamma)
597 
598  for t in isogammaThresholds:
599  partialPathName = "HLT_PASingleIsoPhoton" + str(t) + "_Eta3p1_v"
600  hltSingleGamma = cms.PSet(
601  triggerSelection = cms.string(partialPathName+"*"),
602  handlerType = cms.string("FromHLT"),
603  partialPathName = cms.string(partialPathName),
604  partialFilterName = cms.string("hltHIPhoton"),
605  dqmhistolabel = cms.string("hltHIIsoPhoton" + str(t)),
606  mainDQMDirname = cms.untracked.string(dirname),
607  singleObjectsPreselection = cms.string("1==1"),
608  singleObjectDrawables = cms.VPSet(
609  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
610  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
611  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
612  ),
613  combinedObjectSelection = cms.string("1==1"),
614  combinedObjectSortCriteria = cms.string("at(0).pt"),
615  combinedObjectDimension = cms.int32(1),
616  combinedObjectDrawables = cms.VPSet()
617  )
618  ret.append(hltSingleGamma)
619 
620  for t in isogammaThresholds:
621  partialPathName = "HLT_PAIsoPhoton" + str(t) + "_Eta3p1_PPStyle_v"
622  hltSingleGamma = cms.PSet(
623  triggerSelection = cms.string(partialPathName+"*"),
624  handlerType = cms.string("FromHLT"),
625  partialPathName = cms.string(partialPathName),
626  partialFilterName = cms.string("hltIsoEGBptxAND" + str(t) + "EtFilter"),
627  dqmhistolabel = cms.string("hltHIIsoPhoton" + str(t) + "PPStyle"),
628  mainDQMDirname = cms.untracked.string(dirname),
629  singleObjectsPreselection = cms.string("1==1"),
630  singleObjectDrawables = cms.VPSet(
631  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
632  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
633  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
634  ),
635  combinedObjectSelection = cms.string("1==1"),
636  combinedObjectSortCriteria = cms.string("at(0).pt"),
637  combinedObjectDimension = cms.int32(1),
638  combinedObjectDrawables = cms.VPSet()
639  )
640  ret.append(hltSingleGamma)
641 
642  for t in eleThresholds:
643  partialPathName = "HLT_PAEle" + str(t) + "_WPLoose_Gsf_v"
644  hltSingleElectron = cms.PSet(
645  triggerSelection = cms.string(partialPathName+"*"),
646  handlerType = cms.string("FromHLT"),
647  partialPathName = cms.string(partialPathName),
648  partialFilterName = cms.string("hltPAEle" + str(t) + "WPLooseGsfTrackIsoFilter"),
649  dqmhistolabel = cms.string("hltHIPAElectron" + str(t)),
650  mainDQMDirname = cms.untracked.string(dirname),
651  singleObjectsPreselection = cms.string("1==1"),
652  singleObjectDrawables = cms.VPSet(
653  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
654  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
655  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
656  ),
657  combinedObjectSelection = cms.string("1==1"),
658  combinedObjectSortCriteria = cms.string("at(0).pt"),
659  combinedObjectDimension = cms.int32(1),
660  combinedObjectDrawables = cms.VPSet()
661  )
662  ret.append(hltSingleElectron)
663 
664  for t in jetThresholdsMu:
665  for tMu in muThresholds:
666  partialPathName = "HLT_PAAK4CaloJet" + str(t) + "_Eta5p1_PAL3Mu" + str(tMu) + "_v"
667  hltJetMu = cms.PSet(
668  triggerSelection = cms.string(partialPathName+"*"),
669  handlerType = cms.string("FromHLT"),
670  partialPathName = cms.string(partialPathName),
671  partialFilterName = cms.string("hltSinglePAAK4CaloJet"),
672  dqmhistolabel = cms.string("hltSingleAK4CaloJet" + str(t)),
673  mainDQMDirname = cms.untracked.string(dirname),
674  singleObjectsPreselection = cms.string("1==1"),
675  singleObjectDrawables = cms.VPSet(
676  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
677  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
678  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
679  ),
680  combinedObjectSelection = cms.string("1==1"),
681  combinedObjectSortCriteria = cms.string("at(0).pt"),
682  combinedObjectDimension = cms.int32(1),
683  combinedObjectDrawables = cms.VPSet()
684  )
685  ret.append(hltJetMu)
686 
687  for t in gammaThresholdsMu:
688  for tMu in muThresholds:
689  partialPathName = "HLT_PASinglePhoton" + str(t) + "_Eta3p1_PAL3Mu" + str(tMu) + "_v"
690  hltGammaMu = cms.PSet(
691  triggerSelection = cms.string(partialPathName+"*"),
692  handlerType = cms.string("FromHLT"),
693  partialPathName = cms.string(partialPathName),
694  partialFilterName = cms.string("hltHIPhoton"),
695  dqmhistolabel = cms.string("hltHIPhoton" + str(t)),
696  mainDQMDirname = cms.untracked.string(dirname),
697  singleObjectsPreselection = cms.string("1==1"),
698  singleObjectDrawables = cms.VPSet(
699  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
700  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
701  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
702  ),
703  combinedObjectSelection = cms.string("1==1"),
704  combinedObjectSortCriteria = cms.string("at(0).pt"),
705  combinedObjectDimension = cms.int32(1),
706  combinedObjectDrawables = cms.VPSet()
707  )
708  ret.append(hltGammaMu)
709 
710  partialPathName = "HLT_PADoublePhoton15_Eta3p1_Mass50_1000_v"
711  hltDoubleGamma = cms.PSet(
712  triggerSelection = cms.string(partialPathName+"*"),
713  handlerType = cms.string("FromHLT"),
714  partialPathName = cms.string(partialPathName),
715  partialFilterName = cms.string("hltHIDoublePhotonCut"),
716  dqmhistolabel = cms.string("hltHIDoublePhotonCut15"),
717  mainDQMDirname = cms.untracked.string(dirname),
718  singleObjectsPreselection = cms.string("1==1"),
719  singleObjectDrawables = cms.VPSet(
720  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
721  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
722  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
723  ),
724  combinedObjectSelection = cms.string("1==1"),
725  combinedObjectSortCriteria = cms.string("at(0).pt"),
726  combinedObjectDimension = cms.int32(1),
727  combinedObjectDrawables = cms.VPSet()
728  )
729 
730  ret.append(hltDoubleGamma)
731 
732  return ret
733 
734 
735 
736 
738  ret=cms.VPSet()
739  partialPathName = "HLT_PAL1MinimumBiasHF_OR_SinglePixelTrack_v"
740  hltPAMBPixelTracks = cms.PSet(
741  triggerSelection = cms.string(partialPathName+"*"),
742  handlerType = cms.string("FromHLT"),
743  partialPathName = cms.string(partialPathName),
744  partialFilterName = cms.string("hltPAPixelFilter"),
745  dqmhistolabel = cms.string("hltPAMBPixelTracks"),
746  mainDQMDirname = cms.untracked.string(dirname),
747  singleObjectsPreselection = cms.string("1==1"),
748  singleObjectDrawables = cms.VPSet(
749  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
750  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
751  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
752  ),
753  combinedObjectSelection = cms.string("1==1"),
754  combinedObjectSortCriteria = cms.string("at(0).pt"),
755  combinedObjectDimension = cms.int32(1),
756  combinedObjectDrawables = cms.VPSet()
757  )
758  ret.append(hltPAMBPixelTracks)
759 
760  partialPathName = "HLT_PAL1MinimumBiasHF_AND_SinglePixelTrack_v"
761  hltPAMBPixelTracks = cms.PSet(
762  triggerSelection = cms.string(partialPathName+"*"),
763  handlerType = cms.string("FromHLT"),
764  partialPathName = cms.string(partialPathName),
765  partialFilterName = cms.string("hltPAPixelFilter"),
766  dqmhistolabel = cms.string("hltPAMBPixelTracks"),
767  mainDQMDirname = cms.untracked.string(dirname),
768  singleObjectsPreselection = cms.string("1==1"),
769  singleObjectDrawables = cms.VPSet(
770  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
771  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
772  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
773  ),
774  combinedObjectSelection = cms.string("1==1"),
775  combinedObjectSortCriteria = cms.string("at(0).pt"),
776  combinedObjectDimension = cms.int32(1),
777  combinedObjectDrawables = cms.VPSet()
778  )
779  ret.append(hltPAMBPixelTracks)
780 
781  partialPathName = "HLT_PAZeroBias_SinglePixelTrack_v"
782  hltPAMBPixelTracks = cms.PSet(
783  triggerSelection = cms.string(partialPathName+"*"),
784  handlerType = cms.string("FromHLT"),
785  partialPathName = cms.string(partialPathName),
786  partialFilterName = cms.string("hltPAPixelFilter"),
787  dqmhistolabel = cms.string("hltPAMBPixelTracks"),
788  mainDQMDirname = cms.untracked.string(dirname),
789  singleObjectsPreselection = cms.string("1==1"),
790  singleObjectDrawables = cms.VPSet(
791  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
792  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
793  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
794  ),
795  combinedObjectSelection = cms.string("1==1"),
796  combinedObjectSortCriteria = cms.string("at(0).pt"),
797  combinedObjectDimension = cms.int32(1),
798  combinedObjectDrawables = cms.VPSet()
799  )
800  ret.append(hltPAMBPixelTracks)
801 
802  partialPathName = "HLT_PAZeroBias_DoublePixelTrack_v"
803  hltPAMBPixelTracks = cms.PSet(
804  triggerSelection = cms.string(partialPathName+"*"),
805  handlerType = cms.string("FromHLT"),
806  partialPathName = cms.string(partialPathName),
807  partialFilterName = cms.string("hltPAPixelFilter"),
808  dqmhistolabel = cms.string("hltPAMBPixelTracks"),
809  mainDQMDirname = cms.untracked.string(dirname),
810  singleObjectsPreselection = cms.string("1==1"),
811  singleObjectDrawables = cms.VPSet(
812  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
813  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
814  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
815  ),
816  combinedObjectSelection = cms.string("1==1"),
817  combinedObjectSortCriteria = cms.string("at(0).pt"),
818  combinedObjectDimension = cms.int32(1),
819  combinedObjectDrawables = cms.VPSet()
820  )
821  ret.append(hltPAMBPixelTracks)
822 
823  partialPathName = "HLT_PASingleEG5_HFTwoTowerVeto_SingleTrack_v"
824  hltPAMBPixelTracks = cms.PSet(
825  triggerSelection = cms.string(partialPathName+"*"),
826  handlerType = cms.string("FromHLT"),
827  partialPathName = cms.string(partialPathName),
828  partialFilterName = cms.string("hltPAPixelFilter"),
829  dqmhistolabel = cms.string("hlt_PASingleEG5_HFTTV_ST"),
830  mainDQMDirname = cms.untracked.string(dirname),
831  singleObjectsPreselection = cms.string("1==1"),
832  singleObjectDrawables = cms.VPSet(
833  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
834  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
835  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
836  ),
837  combinedObjectSelection = cms.string("1==1"),
838  combinedObjectSortCriteria = cms.string("at(0).pt"),
839  combinedObjectDimension = cms.int32(1),
840  combinedObjectDrawables = cms.VPSet()
841  )
842  ret.append(hltPAMBPixelTracks)
843 
844  partialPathName = "HLT_PASingleEG5_HFOneTowerVeto_SingleTrack_v"
845  hltPAMBPixelTracks = cms.PSet(
846  triggerSelection = cms.string(partialPathName+"*"),
847  handlerType = cms.string("FromHLT"),
848  partialPathName = cms.string(partialPathName),
849  partialFilterName = cms.string("hltPAPixelFilter"),
850  dqmhistolabel = cms.string("hlt_PASingleEG5_HFOTV_ST"),
851  mainDQMDirname = cms.untracked.string(dirname),
852  singleObjectsPreselection = cms.string("1==1"),
853  singleObjectDrawables = cms.VPSet(
854  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
855  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
856  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
857  ),
858  combinedObjectSelection = cms.string("1==1"),
859  combinedObjectSortCriteria = cms.string("at(0).pt"),
860  combinedObjectDimension = cms.int32(1),
861  combinedObjectDrawables = cms.VPSet()
862  )
863  ret.append(hltPAMBPixelTracks)
864 
865  partialPathName = "HLT_PADoubleEG2_HFTwoTowerVeto_SingleTrack_v"
866  hltPAMBPixelTracks = cms.PSet(
867  triggerSelection = cms.string(partialPathName+"*"),
868  handlerType = cms.string("FromHLT"),
869  partialPathName = cms.string(partialPathName),
870  partialFilterName = cms.string("hltPAPixelFilter"),
871  dqmhistolabel = cms.string("hlt_PADoubleEG2_HFTTV_ST"),
872  mainDQMDirname = cms.untracked.string(dirname),
873  singleObjectsPreselection = cms.string("1==1"),
874  singleObjectDrawables = cms.VPSet(
875  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
876  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
877  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
878  ),
879  combinedObjectSelection = cms.string("1==1"),
880  combinedObjectSortCriteria = cms.string("at(0).pt"),
881  combinedObjectDimension = cms.int32(1),
882  combinedObjectDrawables = cms.VPSet()
883  )
884  ret.append(hltPAMBPixelTracks)
885 
886  partialPathName = "HLT_PADoubleEG2_HFOneTowerVeto_SingleTrack_v"
887  hltPAMBPixelTracks = cms.PSet(
888  triggerSelection = cms.string(partialPathName+"*"),
889  handlerType = cms.string("FromHLT"),
890  partialPathName = cms.string(partialPathName),
891  partialFilterName = cms.string("hltPAPixelFilter"),
892  dqmhistolabel = cms.string("hlt_PADoubleEG2_HFOTV_ST"),
893  mainDQMDirname = cms.untracked.string(dirname),
894  singleObjectsPreselection = cms.string("1==1"),
895  singleObjectDrawables = cms.VPSet(
896  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(100)),
897  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
898  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
899  ),
900  combinedObjectSelection = cms.string("1==1"),
901  combinedObjectSortCriteria = cms.string("at(0).pt"),
902  combinedObjectDimension = cms.int32(1),
903  combinedObjectDrawables = cms.VPSet()
904  )
905  ret.append(hltPAMBPixelTracks)
906 
907  return ret
908 
909 #Note that jet triggers up to Jet100 are pre-covered; need to handle Jets120 and photon
911  ret=cms.VPSet()
912  partialPathName = "HLT_AK4CaloJet120_v"
913  hltHICaloJet120 = cms.PSet(
914  triggerSelection = cms.string(partialPathName+"*"),
915  handlerType = cms.string("FromHLT"),
916  partialPathName = cms.string(partialPathName),
917  partialFilterName = cms.string("hltSingleAK4CaloJet"),
918  dqmhistolabel = cms.string("hltHICaloJet120"),
919  mainDQMDirname = cms.untracked.string(dirname),
920  singleObjectsPreselection = cms.string("1==1"),
921  singleObjectDrawables = cms.VPSet(
922  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
923  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
924  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
925  ),
926  combinedObjectSelection = cms.string("1==1"),
927  combinedObjectSortCriteria = cms.string("at(0).pt"),
928  combinedObjectDimension = cms.int32(1),
929  combinedObjectDrawables = cms.VPSet()
930  )
931  ret.append(hltHICaloJet120)
932 
933  hltHIPFJet120 = hltHICaloJet120.clone(partialPathName = cms.string("HLT_AK4PFJet120_v"),
934  triggerSelection = cms.string("HLT_AK4PFJet120_v*"),
935  dqmhistolabel = cms.string("hltHIPFJet120"),
936  partialFilterName = cms.string("hltSingleAK4PFJet"),
937  )
938  ret.append(hltHIPFJet120)
939 
940  photonThresh = ['10', '15', '20', '30', '40', '50', '60']
941  photonThresh2 = ['20', '30', '40', '50', '60']
942 
943  for thresh in photonThresh:
944  inString = 'HLT_HISinglePhoton' + thresh + '_Eta3p1ForPPRef_v'
945  inStringAsterisk = 'HLT_HISinglePhoton' + thresh + '_Eta3p1ForPPRef_v*'
946  inStringHistoLabel = 'hltHIPhoton' + thresh
947 
948  temp = hltHICaloJet120.clone(partialPathName = cms.string(inString),
949  triggerSelection = cms.string(inStringAsterisk),
950  dqmhistolabel = cms.string(inStringHistoLabel),
951  partialFilterName = cms.string("hltHIPhoton"),
952  singleObjectDrawables = cms.VPSet(cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
953  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3), max = cms.double(3)),
954  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
955  )
956  )
957  ret.append(temp)
958 
959  for thresh in photonThresh2:
960  inString = 'HLT_Photon' + thresh + '_HoverELoose_v'
961  inStringAsterisk = 'HLT_Photon' + thresh + '_HoverELoose_v*'
962  inStringHistoLabel = 'hltPhoton' + thresh
963  filterName = "hltEG" + thresh + "EtFilterLoose"
964 
965  temp = hltHICaloJet120.clone(partialPathName = cms.string(inString),
966  triggerSelection = cms.string(inStringAsterisk),
967  dqmhistolabel = cms.string(inStringHistoLabel),
968  partialFilterName = cms.string(filterName),
969  singleObjectDrawables = cms.VPSet(cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
970  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3), max = cms.double(3)),
971  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
972  )
973  )
974  ret.append(temp)
975 
976  return ret
977 
979  ret=cms.VPSet()
980 
981  # Calo Jets: 60
982  partialPathName = "HLT_AK4CaloJet60_v"
983  hltHICaloJet60 = cms.PSet(
984  triggerSelection = cms.string(partialPathName+"*"),
985  handlerType = cms.string("FromHLT"),
986  partialPathName = cms.string(partialPathName),
987  partialFilterName = cms.string("hltSingleAK4CaloJet"),
988  dqmhistolabel = cms.string("hltHICaloJet60"),
989  mainDQMDirname = cms.untracked.string(dirname),
990  singleObjectsPreselection = cms.string("1==1"),
991  singleObjectDrawables = cms.VPSet(
992  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
993  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
994  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
995  ),
996  combinedObjectSelection = cms.string("1==1"),
997  combinedObjectSortCriteria = cms.string("at(0).pt"),
998  combinedObjectDimension = cms.int32(1),
999  combinedObjectDrawables = cms.VPSet()
1000  )
1001  ret.append(hltHICaloJet60)
1002 
1003  # PF Jets: 40, 60
1004  hltHIPFJet40 = hltHICaloJet60.clone(partialPathName = cms.string("HLT_AK4PFJet40_v"),
1005  triggerSelection = cms.string("HLT_AK4PFJet40_v*"),
1006  dqmhistolabel = cms.string("hltHIPFJet40"),
1007  partialFilterName = cms.string("hltSingleAK4PFJet")
1008  )
1009  ret.append(hltHIPFJet40)
1010 
1011  hltHIPFJet60 = hltHICaloJet60.clone(partialPathName = cms.string("HLT_AK4PFJet60_v"),
1012  triggerSelection = cms.string("HLT_AK4PFJet60_v*"),
1013  dqmhistolabel = cms.string("hltHIPFJet60"),
1014  partialFilterName = cms.string("hltSingleAK4PFJet")
1015  )
1016  ret.append(hltHIPFJet60)
1017 
1018  # BJets: 30, 40, 60, 80
1019  BJetThresholds = ['30', '40', '60', '80']
1020  for thresh in BJetThresholds:
1021  hltHIBJet = hltHICaloJet60.clone(partialPathName = cms.string("HLT_AK4PFJet" + thresh + "_bTag_v"),
1022  triggerSelection = cms.string("HLT_AK4PFJet" + thresh + "_bTag_v*"),
1023  dqmhistolabel = cms.string("hltHIPFBJet" + thresh + ""),
1024  partialFilterName = cms.string("hltSingleAK4PFJet" + thresh)
1025  )
1026  ret.append(hltHIBJet)
1027 
1028  # Calo FWD: 30, 40, 60, 80
1029  CaloFWDThresholds = ['30', '40', '60', '80']
1030  for thresh in CaloFWDThresholds:
1031  hltHICaloJetFWD = hltHICaloJet60.clone(partialPathName = cms.string("HLT_AK4CaloJet" + thresh + "FWD_v"),
1032  triggerSelection = cms.string("HLT_AK4CaloJet" + thresh + "FWD_v*"),
1033  dqmhistolabel = cms.string("hltHICaloJet" + thresh + "FWD"),
1034  partialFilterName = cms.string("hltSingleAK4CaloJet" + thresh + "FWD")
1035  )
1036  ret.append(hltHICaloJetFWD)
1037 
1038  # PF Jet FWD: 30, 40, 60, 80
1039  PFFWDThresholds = ['30', '40', '60', '80']
1040  for thresh in PFFWDThresholds:
1041  hltHIPFJetFWD = hltHIPFJet60.clone(partialPathName = cms.string("HLT_AK4PFJet" + thresh + "FWD_v"),
1042  triggerSelection = cms.string("HLT_AK4PFJet" + thresh + "FWD_v*"),
1043  dqmhistolabel = cms.string("hltHIPFJet" + thresh + "FWD"),
1044  partialFilterName = cms.string("hltSingleAK4PFJet" + thresh + "FWD")
1045  )
1046  ret.append(hltHIPFJetFWD)
1047 
1048  # Single Photon Eta 1p5
1049  photonThresh = ['10', '15', '20', '30', '40', '50', '60']
1050  for thresh in photonThresh:
1051  inString = 'HLT_HISinglePhoton' + thresh + '_Eta1p5ForPPRef_v'
1052  inStringAsterisk = inString + '*'
1053  inStringHistoLabel = 'hltHIPhoton' + thresh + '1p5'
1054 
1055  temp = hltHICaloJet60.clone(partialPathName = cms.string(inString),
1056  triggerSelection = cms.string(inStringAsterisk),
1057  dqmhistolabel = cms.string(inStringHistoLabel),
1058  partialFilterName = cms.string("hltHIPhoton" + thresh + "Eta1p5"),
1059  singleObjectDrawables = cms.VPSet(cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
1060  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3), max = cms.double(3)),
1061  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
1062  )
1063  )
1064  ret.append(temp)
1065 
1066  # Electrons: 10, 15, 20, 30, 40
1067  ElectronThreshold = ['10', '15', '20', '30', '40']
1068 
1069  for thresh in ElectronThreshold:
1070  inString = 'HLT_Ele' + thresh + '_WPLoose_Gsf_v'
1071  inStringAsterisk = inString + '*'
1072  inStringHistoLabel = 'hltHIEle' + thresh
1073 
1074  temp = hltHICaloJet60.clone(partialPathName = cms.string(inString),
1075  triggerSelection = cms.string(inStringAsterisk),
1076  dqmhistolabel = cms.string(inStringHistoLabel),
1077  partialFilterName = cms.string("hltEle" + thresh + 'WPLoose1GsfTrackIsoFilter'),
1078  singleObjectDrawables = cms.VPSet(cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
1079  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3), max = cms.double(3)),
1080  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
1081  )
1082  )
1083  ret.append(temp)
1084 
1085  # EG+Jet
1086  hltHIEGJet = hltHIPFJet60.clone(partialPathName = cms.string("HLT_Ele20_eta2p1_WPTight_Gsf_CentralPFJet15_EleCleaned_v"),
1087  triggerSelection = cms.string("HLT_Ele20_eta2p1_WPTight_Gsf_CentralPFJet15_EleCleaned_v*"),
1088  dqmhistolabel = cms.string("hltHIEle20WPLooseAK4PFJet15"),
1089  partialFilterName = cms.string("hltEle20PFJet15EleCleaned")
1090  )
1091  ret.append(hltHIEGJet)
1092 
1093  # Ele+Ele
1094  hltHIEGEG = hltHIPFJet60.clone(partialPathName = cms.string("HLT_Ele20_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v"),
1095  triggerSelection = cms.string("HLT_Ele20_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*"),
1096  dqmhistolabel = cms.string("hltHIEle20Ele12CaloIdLTrackIdLIsoVLDZ"),
1097  partialFilterName = cms.string("hltEle20Ele12CaloIdLTrackIdLIsoVLDZFilter")
1098  )
1099  ret.append(hltHIEGEG)
1100 
1101  # Double photon with mass
1102  DoublePhotonThreshold = ['15', '20And15', '20']
1103  for threshold in DoublePhotonThreshold:
1104  partialPathName = "HLT_HIDoublePhoton" + threshold + "_Eta3p1ForPPRef_Mass50to1000_v"
1105  hltDoubleGamma = cms.PSet(
1106  triggerSelection = cms.string(partialPathName+"*"),
1107  handlerType = cms.string("FromHLT"),
1108  partialPathName = cms.string(partialPathName),
1109  partialFilterName = cms.string("hltHIDoublePhoton" + threshold[-2:] + "Eta3p1"),
1110  dqmhistolabel = cms.string("hltHIDoublePhoton" + threshold + '_Eta3p1ForPPRef'),
1111  mainDQMDirname = cms.untracked.string(dirname),
1112  singleObjectsPreselection = cms.string("1==1"),
1113  singleObjectDrawables = cms.VPSet(
1114  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
1115  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
1116  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
1117  ),
1118  combinedObjectSelection = cms.string("1==1"),
1119  combinedObjectSortCriteria = cms.string("at(0).pt"),
1120  combinedObjectDimension = cms.int32(1),
1121  combinedObjectDrawables = cms.VPSet()
1122  )
1123 
1124  ret.append(hltDoubleGamma)
1125 
1126  return ret
1127 
1129  ret = cms.VPSet()
1130  ret.extend(getHILowLumiTriggers())
1131  ret.extend(getFullTrackVPSet())
1132  ret.extend(getPAHighMultVPSet())
1133  ret.extend(getPAHighMultHighPtVPSet())
1134  ret.extend(getPAMBVPSet())
1135  ret.extend(getPAHighPtVPSet())
1136  ret.extend(getHILowPU2017Triggers())
1137  ret.extend(getPPRefHighPtVPSet())
1138  return ret
1139 
1140 dirname = "HLT/HI/"
1141 
1142 processName = "HLT"
1143 
1144 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
1145 HILowLumiHLTOfflineSource = DQMEDAnalyzer('FSQDiJetAve',
1146  triggerConfiguration = cms.PSet(
1147  hltResults = cms.InputTag('TriggerResults','',processName),
1148  l1tResults = cms.InputTag(''),
1149  l1tIgnoreMaskAndPrescale = cms.bool( False ),
1150  throw = cms.bool( False )
1151  ),
1152 
1153 # hltProcessName = cms.string("HLT"),
1154  # HLT paths passing any one of these regular expressions will be included
1155 
1156 # hltPathsToCheck = cms.vstring(
1157 # "HLT_HISinglePhoton10_v1",
1158 # ),
1159 
1160 # requiredTriggers = cms.untracked.vstring(
1161 # "HLT_HISinglePhoton10_v1",
1162 # ),
1163 
1164 
1165  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","", processName),
1166  triggerResultsLabel = cms.InputTag("TriggerResults","", processName),
1167  useGenWeight = cms.bool(False),
1168  #useGenWeight = cms.bool(True),
1169  todo = cms.VPSet(getHILowLumi())
1170 )
1171 
1172 #from JetMETCorrections.Configuration.CorrectedJetProducers_cff import *
1173 HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)