1 import FWCore.ParameterSet.Config
as cms
22 partialPathName =
"HLT_ZeroBias_SinglePixelTrack_v" 23 hltPixelTracksZB = cms.PSet(
24 triggerSelection = cms.string(partialPathName+
"*"),
25 handlerType = cms.string(
"FromHLT"),
26 partialPathName = cms.string(partialPathName),
27 partialFilterName = cms.string(
"hltMinBiasPixelFilt"),
28 dqmhistolabel = cms.string(
"hltPixelTracks"),
29 mainDQMDirname = cms.untracked.string(fsqdirname),
30 singleObjectsPreselection = cms.string(
"1==1"),
31 singleObjectDrawables = cms.VPSet(
32 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(50), min = cms.double(0.4), max = cms.double(10)),
33 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
34 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
36 combinedObjectSelection = cms.string(
"1==1"),
37 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
38 combinedObjectDimension = cms.int32(1),
39 combinedObjectDrawables = cms.VPSet()
41 ret.append(hltPixelTracksZB)
52 tracksCountZB = cms.PSet(
53 triggerSelection = cms.string(partialPathName+
"*"),
54 handlerType = cms.string(
"RecoTrack"),
55 inputCol = cms.InputTag(
"generalTracks"),
57 partialPathName = cms.string(partialPathName),
58 partialFilterName = cms.string(
"hltL1sETT"),
59 dqmhistolabel = cms.string(
"zb"),
60 mainDQMDirname = cms.untracked.string(fsqdirname),
61 singleObjectsPreselection = cms.string(
"pt > 0.4 && abs(eta) < 2.4"),
62 singleObjectDrawables = cms.VPSet(),
63 combinedObjectSelection = cms.string(
"1==1"),
64 combinedObjectSortCriteria = cms.string(
'at(0).pt()'),
65 combinedObjectDimension = cms.int32(1),
66 combinedObjectDrawables = cms.VPSet(
67 cms.PSet (name = cms.string(
"Eff_nominator"), expression = cms.string(
'0*at(0).pt()'),
68 bins = cms.int32(1), min = cms.double(-0.5), max = cms.double(0.5))
71 ret.append(tracksCountZB)
72 tracksCountDenomZB = tracksCountZB.clone(
73 triggerSelection =
"HLT_ZeroBias_v*" 75 tracksCountDenomZB.combinedObjectDrawables = cms.VPSet(
76 cms.PSet (name = cms.string(
"Eff_denominator"), expression = cms.string(
"0*at(0).pt()"),
77 bins = cms.int32(1), min = cms.double(-0.5), max = cms.double(0.5))
79 ret.append(tracksCountDenomZB)
85 thresholds = [60, 85, 110, 135, 160]
87 partialPathName =
"HLT_PixelTracks_Multiplicity"+
str(t)+
"_v" 90 tracksBins = (tracksH-tracksL)//5
91 tracksCount = cms.PSet(
92 triggerSelection = cms.string(partialPathName+
"*"),
93 handlerType = cms.string(
"RecoTrackCounterWithVertexConstraint"),
94 inputCol = cms.InputTag(
"generalTracks"),
96 vtxCollection = cms.InputTag(
"offlinePrimaryVertices"),
97 minNDOF = cms.int32(7),
98 maxZ = cms.double(15),
99 maxDZ = cms.double(0.12),
100 maxDZ2dzsigma = cms.double(3),
101 maxDXY = cms.double(0.12),
102 maxDXY2dxysigma = cms.double(3),
103 partialPathName = cms.string(partialPathName),
104 partialFilterName = cms.string(
"hltL1sETT"),
106 dqmhistolabel = cms.string(
"recoTracks"),
107 mainDQMDirname = cms.untracked.string(fsqdirname),
108 singleObjectsPreselection = cms.string(
"pt > 0.4 && abs(eta) < 2.4"),
109 singleObjectDrawables = cms.VPSet(),
110 combinedObjectSelection = cms.string(
"1==1"),
111 combinedObjectSortCriteria = cms.string(
'size()'),
112 combinedObjectDimension = cms.int32(1),
113 combinedObjectDrawables = cms.VPSet(
114 cms.PSet (name = cms.string(
"count_nominator"), expression = cms.string(
'at(0)'),
115 bins = cms.int32(tracksBins), min = cms.double(tracksL), max = cms.double(tracksH))
118 ret.append(tracksCount)
120 tracksCountDenom = tracksCount.clone(
121 triggerSelection =
"TRUE" 123 tracksCountDenom.combinedObjectDrawables = cms.VPSet(
124 cms.PSet (name = cms.string(
"count_denominator"), expression = cms.string(
"at(0)"),
125 bins = cms.int32(tracksBins), min = cms.double(tracksL), max = cms.double(tracksH))
127 ret.append(tracksCountDenom)
130 hltPixelTracks = cms.PSet(
131 triggerSelection = cms.string(partialPathName+
"*"),
132 handlerType = cms.string(
"FromHLT"),
133 partialPathName = cms.string(partialPathName),
134 partialFilterName = cms.string(
"hlt1HighMult"),
135 dqmhistolabel = cms.string(
"hltPixelTracks"),
136 mainDQMDirname = cms.untracked.string(fsqdirname),
137 singleObjectsPreselection = cms.string(
"1==1"),
138 singleObjectDrawables = cms.VPSet(
139 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(200), min = cms.double(0.0), max = cms.double(10)),
140 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
141 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
143 combinedObjectSelection = cms.string(
"1==1"),
144 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
145 combinedObjectDimension = cms.int32(1),
146 combinedObjectDrawables = cms.VPSet()
148 ret.append(hltPixelTracks)
150 hltPixelTracksEta16to18 = hltPixelTracks.clone(
151 singleObjectsPreselection=
'abs(eta) > 1.6 && abs(eta) < 1.8',
152 dqmhistolabel =
"hltPixelTracksEta16to18" 154 for i
in hltPixelTracksEta16to18.singleObjectDrawables:
156 hltPixelTracksEta16to18.singleObjectDrawables.remove(i)
158 ret.append(hltPixelTracksEta16to18)
162 triggerSelection = cms.string(partialPathName+
"*"),
163 handlerType = cms.string(
"FromHLT"),
164 partialPathName = cms.string(partialPathName),
165 partialFilterName = cms.string(
"hltL1sETT"),
166 dqmhistolabel = cms.string(
"l1"),
167 mainDQMDirname = cms.untracked.string(fsqdirname),
168 singleObjectsPreselection = cms.string(
"1==1"),
169 singleObjectDrawables = cms.VPSet(),
170 combinedObjectSelection = cms.string(
"1==1"),
171 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
172 combinedObjectDimension = cms.int32(1),
173 combinedObjectDrawables = cms.VPSet(
174 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"at(0).pt"), bins = cms.int32(256//4), min = cms.double(0), max = cms.double(256)),
185 def getPTAveVPSet(thresholds = [30, 60, 80, 100, 160, 220, 300], flavour="HFJEC", disableCalo = False):
188 if flavour ==
"HFJEC":
189 probeEtaSelection =
"abs(eta) > 2.7" 190 probeEtaSelectionCombined =
"abs(at(1).eta) > 2.7" 191 elif flavour ==
"Central":
192 probeEtaSelection =
"abs(eta) < 2.7" 193 probeEtaSelectionCombined =
"abs(at(1).eta) < 2.7" 195 raise Exception(
"Flavour not known "+ flavour)
199 partialPathName =
"HLT_DiPFJetAve"+
str(t)+
"_" + flavour +
"_v" 202 ptBinHigh =
max(100, t*2)
203 ptBins =
min(100, ptBinHigh-ptBinLow)
208 triggerSelection = cms.string(partialPathName+
"*"),
209 handlerType = cms.string(
"FromHLT"),
210 partialPathName = cms.string(partialPathName),
211 partialFilterName = cms.string(
"ForHFJECBase"),
212 dqmhistolabel = cms.string(
"hltCaloJets"),
213 mainDQMDirname = cms.untracked.string(fsqdirname),
214 singleObjectsPreselection = cms.string(
"abs(eta)<1.4 || " + probeEtaSelection),
215 singleObjectDrawables = cms.VPSet(),
216 combinedObjectSelection = cms.string(
"1==1"),
217 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
218 combinedObjectDimension = cms.int32(1),
219 combinedObjectDrawables = cms.VPSet(
220 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"at(0).pt"), bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
221 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"at(0).eta"), bins = cms.int32(104), min = cms.double(-5.2), max = cms.double(5.2))
227 triggerSelection = cms.string(partialPathName+
"*"),
228 handlerType = cms.string(
"FromHLT"),
229 partialPathName = cms.string(partialPathName),
230 partialFilterName = cms.string(
"hltL1"),
231 dqmhistolabel = cms.string(
"l1"),
232 mainDQMDirname = cms.untracked.string(fsqdirname),
233 singleObjectsPreselection = cms.string(
"1==1"),
234 singleObjectDrawables = cms.VPSet(),
235 combinedObjectSelection = cms.string(
"1==1"),
236 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
237 combinedObjectDimension = cms.int32(1),
238 combinedObjectDrawables = cms.VPSet(
239 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"at(0).pt"), bins = cms.int32(256//4), min = cms.double(0), max = cms.double(256)),
240 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"at(0).eta"), bins = cms.int32(104//4), min = cms.double(-5.2), max = cms.double(5.2))
246 hltPFSingle = cms.PSet( 247 triggerSelection = cms.string(partialPathName+"*"), 248 handlerType = cms.string("FromHLT"), 249 partialPathName = cms.string(partialPathName), 250 partialFilterName = cms.string("hltDiPFJetAve"), 251 dqmhistolabel = cms.string("hltpfsingle"), 252 mainDQMDirname = cms.untracked.string(fsqdirname), 253 singleObjectsPreselection = cms.string("abs(eta)<1.4 || abs(eta) > 2.7 "), 254 singleObjectDrawables = cms.VPSet(), 255 combinedObjectSelection = cms.string("1==1"), 256 combinedObjectSortCriteria = cms.string("at(0).pt"), 257 combinedObjectDimension = cms.int32(1), 258 combinedObjectDrawables = cms.VPSet( 259 cms.PSet (name = cms.string("pt"), expression = cms.string("at(0).pt"), bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)), 260 cms.PSet (name = cms.string("eta"), expression = cms.string("at(0).eta"), bins = cms.int32(104), min = cms.double(-5.2), max = cms.double(5.2)) 263 ret.append(hltPFSingle) 267 hltPFtopology = cms.PSet(
268 triggerSelection = cms.string(partialPathName+
"*"),
269 handlerType = cms.string(
"FromHLT"),
270 partialPathName = cms.string(partialPathName),
271 partialFilterName = cms.string(
"hltDiPFJetAve"),
272 dqmhistolabel = cms.string(
"hltPFJetsTopology"),
273 mainDQMDirname = cms.untracked.string(fsqdirname),
274 singleObjectsPreselection = cms.string(
"abs(eta)<1.4 || " + probeEtaSelection),
275 singleObjectDrawables = cms.VPSet(),
276 combinedObjectSelection = cms.string(
"abs(at(0).eta())< 1.4 && "+ probeEtaSelectionCombined +
277 " && abs(deltaPhi(at(0).phi, at(1).phi)) > 2.5"),
278 combinedObjectSortCriteria = cms.string(
"(at(0).pt+at(1).pt)/2"),
279 combinedObjectDimension = cms.int32(2),
280 combinedObjectDrawables = cms.VPSet(
281 cms.PSet (name = cms.string(
"deltaEta"), expression = cms.string(
"abs(at(0).eta-at(1).eta)"),
282 bins = cms.int32(70), min = cms.double(0), max = cms.double(7)),
283 cms.PSet (name = cms.string(
"deltaPhi"), expression = cms.string(
"abs(deltaPhi(at(0).phi, at(1).phi))"),
284 bins = cms.int32(100), min = cms.double(0), max = cms.double(3.2)),
285 cms.PSet (name = cms.string(
"ptAve"), expression = cms.string(
"(at(0).pt+at(1).pt)/2"),
286 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
287 cms.PSet (name = cms.string(
"ptTag"), expression =
288 cms.string(
"? abs(at(0).eta) < abs(at(1).eta) ? at(0).pt : at(1).pt "),
289 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) ),
290 cms.PSet (name = cms.string(
"ptProbe"), expression =
291 cms.string(
"? abs(at(0).eta) < abs(at(1).eta) ? at(1).pt : at(0).pt "),
292 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) )
295 ret.append(hltPFtopology)
304 triggerSelection = cms.string(partialPathName+"*"), 305 handlerType = cms.string("FromRecoCandidate"), 306 inputCol = cms.InputTag("ak4PFJetsCHS"), 307 partialPathName = cms.string(partialPathName), 308 partialFilterName = cms.string("hltDiPFJetAve"), 309 dqmhistolabel = cms.string("recoJet"), 310 mainDQMDirname = cms.untracked.string(fsqdirname), 311 singleObjectsPreselection = cms.string("pt > + "+str(recoThr) +" && (abs(eta)<1.3 || abs(eta) > 2.8) "), 312 singleObjectDrawables = cms.VPSet(), 313 combinedObjectSelection = cms.string("1==1"), 314 combinedObjectSortCriteria = cms.string("at(0).pt"), 315 combinedObjectDimension = cms.int32(1), 316 combinedObjectDrawables = cms.VPSet( 317 cms.PSet (name = cms.string("pt"), expression = cms.string("at(0).pt"), bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)), 318 cms.PSet (name = cms.string("eta"), expression = cms.string("at(0).eta"), bins = cms.int32(52), min = cms.double(-5.2), max = cms.double(5.2)) 324 recoPFtopology = cms.PSet(
325 triggerSelection = cms.string(partialPathName+
"*"),
326 handlerType = cms.string(
"RecoPFJetWithJEC"),
327 PFJetCorLabel = cms.InputTag(
"ak4PFL1FastL2L3Corrector"),
328 inputCol = cms.InputTag(
"ak4PFJetsCHS"),
329 partialPathName = cms.string(partialPathName),
330 partialFilterName = cms.string(
"hltDiPFJetAve"),
331 dqmhistolabel = cms.string(
"recoPFJetsTopology"),
332 mainDQMDirname = cms.untracked.string(fsqdirname),
333 singleObjectsPreselection = cms.string(
"pt > "+
str(recoThr) +
" && (abs(eta)<1.4 ||"+probeEtaSelection +
")" ),
334 singleObjectDrawables = cms.VPSet(),
335 combinedObjectSelection = cms.string(
"abs(at(0).eta())< 1.3 && " + probeEtaSelectionCombined +
336 " && abs(deltaPhi(at(0).phi, at(1).phi)) > 2.5"),
337 combinedObjectSortCriteria = cms.string(
"(at(0).pt+at(1).pt)/2"),
338 combinedObjectDimension = cms.int32(2),
339 combinedObjectDrawables = cms.VPSet(
340 cms.PSet (name = cms.string(
"deltaEta"), expression = cms.string(
"abs(at(0).eta-at(1).eta)"),
341 bins = cms.int32(70), min = cms.double(0), max = cms.double(7)),
342 cms.PSet (name = cms.string(
"deltaPhi"), expression = cms.string(
"abs(deltaPhi(at(0).phi, at(1).phi))"),
343 bins = cms.int32(100), min = cms.double(0), max = cms.double(3.2)),
344 cms.PSet (name = cms.string(
"ptAve"), expression = cms.string(
"(at(0).pt+at(1).pt)/2"),
345 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
346 cms.PSet (name = cms.string(
"ptTag"), expression =
347 cms.string(
"? abs(at(0).eta) < abs(at(1).eta) ? at(0).pt : at(1).pt "),
348 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) ),
349 cms.PSet (name = cms.string(
"ptProbe"), expression =
350 cms.string(
"? abs(at(0).eta) < abs(at(1).eta) ? at(1).pt : at(0).pt "),
351 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) ),
352 cms.PSet (name = cms.string(
"ptAve_nominator"), expression = cms.string(
"(at(0).pt+at(1).pt)/2"),
353 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) ),
356 ret.append(recoPFtopology)
357 recoPFtopologyDenom = recoPFtopology.clone(
360 triggerSelection =
"TRUE" 362 recoPFtopologyDenom.combinedObjectDrawables = cms.VPSet(
363 cms.PSet (name = cms.string(
"ptAve_denominator"), expression = cms.string(
"(at(0).pt+at(1).pt)/2"),
364 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) )
366 ret.append(recoPFtopologyDenom)
369 ''' example on how to count objects 371 recoPFJetCnt = cms.PSet( 372 triggerSelection = cms.string(partialPathName+"*"), 373 handlerType = cms.string("RecoCandidateCounter"), 374 inputCol = cms.InputTag("ak4PFJetsCHS"), 375 partialPathName = cms.string(partialPathName), 376 partialFilterName = cms.string("hltDiPFJetAve"), 377 dqmhistolabel = cms.string("recoPFJetsCnt"), 378 mainDQMDirname = cms.untracked.string(fsqdirname), 379 singleObjectsPreselection = cms.string("pt > "+str(recoThr) +" && abs(eta)<1.4 || abs(eta) > 2.7 "), 380 singleObjectDrawables = cms.VPSet(), 381 combinedObjectSelection = cms.string("1==1"), 382 combinedObjectSortCriteria = cms.string('size()'), 383 combinedObjectDimension = cms.int32(1), 384 combinedObjectDrawables = cms.VPSet( 385 cms.PSet (name = cms.string("count"), expression = cms.string('at(0)'), 386 bins = cms.int32(30), min = cms.double(0), max = cms.double(30)) 389 ret.append(recoPFJetCnt) 395 def getSinglePFJet(thresholds, flavour=None, etaMin=-1, srcType="genJets", partialPathName = "HLT_PFJet", disableEff = False):
396 if srcType ==
"genJets":
397 inputCol = cms.InputTag(
"ak4GenJets")
398 handlerType =
"FromRecoCandidate" 400 elif srcType ==
"ak4PFJetsCHS":
401 inputCol = cms.InputTag(
"ak4PFJetsCHS")
402 handlerType =
"RecoPFJetWithJEC" 404 elif srcType ==
"hlt":
405 inputCol = cms.InputTag(
"S")
406 handlerType =
"FromHLT" 416 partialPathNameLoc = partialPathName
417 partialPathNameLoc +=
str(t)+
"_" 419 partialPathNameLoc += flavour+
"_" 420 partialPathNameLoc +=
"v" 422 marginLow =
max(t-t//2, 15)
423 ptBinLow =
max(t-marginLow,0)
424 marginHigh =
min(
max(t//2, 20), 50)
425 ptBinHigh = t+marginHigh
426 ptBins =
min(100, ptBinHigh-ptBinLow)
428 triggerSelection = cms.string(partialPathNameLoc+
"*"),
429 handlerType = cms.string(handlerType),
430 PFJetCorLabel = cms.InputTag(
"ak4PFL1FastL2L3Corrector"),
433 partialPathName = cms.string(partialPathNameLoc),
434 partialFilterName = cms.string(
"hltSinglePFJet"),
435 dqmhistolabel = cms.string(label),
436 mainDQMDirname = cms.untracked.string(fsqdirname),
437 singleObjectsPreselection = cms.string(
"abs(eta) < 5.5 && abs(eta) > " +
str(etaMin) ),
438 singleObjectDrawables = cms.VPSet(),
439 combinedObjectSelection = cms.string(
"1==1"),
440 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
441 combinedObjectDimension = cms.int32(1),
442 combinedObjectDrawables = cms.VPSet(
443 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"at(0).pt"),
444 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
445 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"at(0).eta"),
446 bins = cms.int32(52), min = cms.double(-5.2), max = cms.double(5.2)),
447 cms.PSet (name = cms.string(
"pt_nominator"), expression = cms.string(
"at(0).pt"),
448 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) )
452 for p
in fromJets.combinedObjectDrawables:
453 if p.name == cms.string(
"pt_nominator"):
454 fromJets.combinedObjectDrawables.remove(p)
457 fromJetsDenom = fromJets.clone(
458 triggerSelection =
"HLT_ZeroBias_v*" 460 fromJetsDenom.singleObjectDrawables = cms.VPSet()
461 fromJetsDenom.combinedObjectDrawables = cms.VPSet(
462 cms.PSet (name = cms.string(
"pt_denominator"), expression = cms.string(
"at(0).pt"),
463 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) )
465 ret.append(fromJetsDenom)
472 if srcType ==
"genJets":
473 inputCol = cms.InputTag(
"ak4GenJets")
474 handlerType =
"FromRecoCandidate" 476 elif srcType ==
"ak4PFJetsCHS":
477 inputCol = cms.InputTag(
"ak4PFJetsCHS")
478 handlerType =
"RecoPFJetWithJEC" 480 elif srcType ==
"hlt":
481 inputCol = cms.InputTag(
"S")
482 handlerType =
"FromHLT" 487 combinedObjectSortCriteria =
"at(0).pt + at(1).pt" 488 combinedObjectSelection =
"1 == 1" 489 if flavour !=
None and "FB" in flavour :
490 combinedObjectSortCriteria =
"("+combinedObjectSortCriteria+
")*( ? at(0).eta*at(1).eta < 0 ? 1 : 0 )" 491 combinedObjectSelection =
"at(0).eta*at(1).eta < 0" 498 partialPathName =
"HLT_DiPFJet"+
str(t)+
"_" 500 partialPathName += flavour+
"_" 501 partialPathName +=
"v" 503 marginLow =
max(t-t//2, 15)
504 ptBinLow =
max(t-marginLow,0)
505 marginHigh =
min(
max(t//3, 15), 50)
506 ptBinHigh = t+marginHigh
507 ptBins =
min(100, ptBinHigh-ptBinLow)
509 triggerSelection = cms.string(partialPathName+
"*"),
510 handlerType = cms.string(handlerType),
511 PFJetCorLabel = cms.InputTag(
"ak4PFL1FastL2L3Corrector"),
513 partialPathName = cms.string(partialPathName),
514 partialFilterName = cms.string(
"hltDoublePFJet"),
515 dqmhistolabel = cms.string(label),
516 mainDQMDirname = cms.untracked.string(fsqdirname),
517 singleObjectsPreselection = cms.string(
"abs(eta) < 5.5 && abs(eta) > " +
str(etaMin) ),
519 singleObjectDrawables = cms.VPSet(),
520 combinedObjectSelection = cms.string(combinedObjectSelection),
521 combinedObjectSortCriteria = cms.string(combinedObjectSortCriteria),
522 combinedObjectDimension = cms.int32(2),
523 combinedObjectDrawables = cms.VPSet(
528 cms.PSet (name = cms.string(
"ptMostFwd"),
529 expression = cms.string(
"? at(0).eta > at(1).eta ? at(0).pt : at(1).pt"),
530 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
531 cms.PSet (name = cms.string(
"ptMostBkw"),
532 expression = cms.string(
"? at(0).eta > at(1).eta ? at(1).pt : at(0).pt"),
533 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh)),
535 cms.PSet (name = cms.string(
"etaMostFwd"),
536 expression = cms.string(
"? at(0).eta > at(1).eta ? at(0).eta : at(1).eta"),
537 bins = cms.int32(52), min = cms.double(-5.2), max = cms.double(5.2)),
538 cms.PSet (name = cms.string(
"etaMostBkw"),
539 expression = cms.string(
"? at(0).eta > at(1).eta ? at(1).eta : at(0).eta"),
540 bins = cms.int32(52), min = cms.double(-5.2), max = cms.double(5.2)),
548 fromJets.combinedObjectDrawables.append( cms.PSet(name = cms.string(
"ptm_nominator"),
549 expression = cms.string(
"min(at(0).pt, at(1).pt)"),
550 bins = cms.int32(ptBins),
551 min = cms.double(ptBinLow),
552 max = cms.double(ptBinHigh) ))
554 fromJetsDenom = fromJets.clone(
555 triggerSelection =
"HLT_ZeroBias_v*" 557 fromJetsDenom.singleObjectDrawables = cms.VPSet()
558 fromJetsDenom.combinedObjectDrawables = cms.VPSet(
559 cms.PSet (name = cms.string(
"ptm_denominator"), expression = cms.string(
"min(at(0).pt, at(1).pt)"),
560 bins = cms.int32(ptBins), min = cms.double(ptBinLow), max = cms.double(ptBinHigh) )
562 ret.append(fromJetsDenom)
573 ret.extend(
getPTAveVPSet(thresholds = [15,25,35], disableCalo=
True, flavour=
"HFJEC" ))
574 ret.extend(
getPTAveVPSet(thresholds = [15,25,35], disableCalo=
True, flavour=
"Central" ))
576 todo = [
"ak4PFJetsCHS",
"hlt"]
578 ret.extend(
getSinglePFJet([20], flavour=
"NoCaloMatched", etaMin=
None, srcType=t))
579 ret.extend(
getSinglePFJet([15, 25,40], flavour=
"NoCaloMatched", etaMin=
None, srcType=t))
580 ret.extend(
getSinglePFJet([15, 25,40], flavour=
"FwdEta2_NoCaloMatched", etaMin=2, srcType=t))
581 ret.extend(
getSinglePFJet([15, 25,40], flavour=
"FwdEta3_NoCaloMatched", etaMin=3, srcType=t))
583 ret.extend(
getDoublePFJet([15], flavour=
"NoCaloMatched", etaMin=
None, srcType=t))
584 ret.extend(
getDoublePFJet([15], flavour=
"FBEta2_NoCaloMatched", etaMin=2, srcType=t))
585 ret.extend(
getDoublePFJet([15], flavour=
"FBEta3_NoCaloMatched", etaMin=3, srcType=t))
587 ret.extend(
getSinglePFJet([15], partialPathName=
"HLT_L1Tech62_CASTORJet_SinglePFJet", srcType=t, disableEff=
True))
598 fsqdirname =
"HLT/FSQ/" 603 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
605 triggerConfiguration = cms.PSet(
606 hltResults = cms.InputTag(
'TriggerResults',
'',processName),
607 l1tResults = cms.InputTag(
''),
608 l1tIgnoreMaskAndPrescale = cms.bool(
False ),
609 throw = cms.bool(
False )
613 triggerSummaryLabel = cms.InputTag(
"hltTriggerSummaryAOD",
"", processName),
614 triggerResultsLabel = cms.InputTag(
"TriggerResults",
"", processName),
615 useGenWeight = cms.bool(
False),
def getZeroBias_SinglePixelTrackVPSet()
def getPTAveVPSet(thresholds=[30, flavour="HFJEC", disableCalo=False)
def getSinglePFJet(thresholds, flavour=None, etaMin=-1, srcType="genJets", partialPathName="HLT_PFJet", disableEff=False)
def getDoublePFJet(thresholds, flavour=None, etaMin=-1, srcType="genJets")