1 import FWCore.ParameterSet.Config
as cms
3 hltTauDQMofflineProcess =
"HLT" 6 TauRefProducer = cms.EDProducer(
"HLTTauRefProducer",
8 PFTaus = cms.untracked.PSet(
9 PFTauDiscriminators = cms.untracked.VInputTag(
10 cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFinding"),
11 cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
12 cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection3")
14 doPFTaus = cms.untracked.bool(
True),
15 ptMin = cms.untracked.double(15.0),
16 etaMin = cms.untracked.double(-2.5),
17 etaMax = cms.untracked.double(2.5),
18 phiMin = cms.untracked.double(-3.15),
19 phiMax = cms.untracked.double(3.15),
20 PFTauProducer = cms.untracked.InputTag(
"hpsPFTauProducer")
22 Electrons = cms.untracked.PSet(
23 ElectronCollection = cms.untracked.InputTag(
"gedGsfElectrons"),
24 doID = cms.untracked.bool(
False),
25 InnerConeDR = cms.untracked.double(0.02),
26 MaxIsoVar = cms.untracked.double(0.02),
27 doElectrons = cms.untracked.bool(
True),
28 TrackCollection = cms.untracked.InputTag(
"generalTracks"),
29 OuterConeDR = cms.untracked.double(0.6),
30 ptMin = cms.untracked.double(15.0),
31 doTrackIso = cms.untracked.bool(
True),
32 ptMinTrack = cms.untracked.double(1.5),
33 lipMinTrack = cms.untracked.double(0.2),
34 IdCollection = cms.untracked.InputTag(
"elecIDext")
36 Jets = cms.untracked.PSet(
37 JetCollection = cms.untracked.InputTag(
"ak4PFJetsCHS"),
38 etMin = cms.untracked.double(15.0),
39 doJets = cms.untracked.bool(
False)
41 Towers = cms.untracked.PSet(
42 TowerCollection = cms.untracked.InputTag(
"towerMaker"),
43 etMin = cms.untracked.double(10.0),
44 doTowers = cms.untracked.bool(
False),
45 towerIsolation = cms.untracked.double(5.0)
48 Muons = cms.untracked.PSet(
49 doMuons = cms.untracked.bool(
True),
50 MuonCollection = cms.untracked.InputTag(
"muons"),
51 ptMin = cms.untracked.double(15.0)
54 Photons = cms.untracked.PSet(
55 doPhotons = cms.untracked.bool(
False),
56 PhotonCollection = cms.untracked.InputTag(
"gedPhotons"),
57 etMin = cms.untracked.double(15.0),
58 ECALIso = cms.untracked.double(3.0)
61 MET = cms.untracked.PSet(
62 doMET = cms.untracked.bool(
True),
63 METCollection = cms.untracked.InputTag(
"caloMet"),
64 ptMin = cms.untracked.double(0.0)
67 EtaMin = cms.untracked.double(-2.3),
68 EtaMax = cms.untracked.double(2.3),
69 PhiMin = cms.untracked.double(-3.15),
70 PhiMax = cms.untracked.double(3-15)
75 hltTauOfflineMonitor_PFTaus = cms.EDAnalyzer(
"HLTTauDQMOfflineSource",
76 HLTProcessName = cms.untracked.string(hltTauDQMofflineProcess),
77 DQMBaseFolder = cms.untracked.string(
"HLT/TauOffline/PFTaus"),
78 TriggerResultsSrc = cms.untracked.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
79 TriggerEventSrc = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"", hltTauDQMofflineProcess),
80 L1Plotter = cms.untracked.PSet(
81 DQMFolder = cms.untracked.string(
'L1'),
82 L1Taus = cms.untracked.InputTag(
"caloStage2Digis",
"Tau"),
83 L1ETM = cms.untracked.InputTag(
"caloStage2Digis",
"EtSum"),
84 L1ETMMin = cms.untracked.double(50),
86 Paths = cms.untracked.string(
"PFTau"),
87 PathSummaryPlotter = cms.untracked.PSet(
88 DQMFolder = cms.untracked.string(
'Summary'),
91 doMatching = cms.untracked.bool(
True),
92 matchFilters = cms.untracked.VPSet(
94 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
95 matchObjectID = cms.untracked.int32(15),
98 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
99 matchObjectID = cms.untracked.int32(11),
102 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
103 matchObjectID = cms.untracked.int32(13),
106 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
107 matchObjectID = cms.untracked.int32(0),
113 hltTauOfflineMonitor_Inclusive = hltTauOfflineMonitor_PFTaus.clone(
114 DQMBaseFolder =
"HLT/TauOffline/Inclusive",
116 doMatching = cms.untracked.bool(
False),
117 matchFilters = cms.untracked.VPSet(),
122 genericTriggerSelectionParameters = cms.PSet(
123 andOr = cms.bool(
False ),
124 dbLabel = cms.string(
"PFTauDQMTrigger"),
125 andOrHlt = cms.bool(
True),
126 hltInputTag = cms.InputTag(
"TriggerResults",
"", hltTauDQMofflineProcess),
128 errorReplyHlt = cms.bool(
False),
129 verbosityLevel = cms.uint32(0)
131 return genericTriggerSelectionParameters
134 hltTauOfflineMonitor_TagAndProbe = hltTauOfflineMonitor_PFTaus.clone(
135 DQMBaseFolder = cms.untracked.string(
"HLT/TauOffline/TagAndProbe"),
137 doMatching = cms.untracked.bool(
True),
138 matchFilters = cms.untracked.VPSet(
140 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"PFTaus"),
141 matchObjectID = cms.untracked.int32(15),
144 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Electrons"),
145 matchObjectID = cms.untracked.int32(11),
148 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"Muons"),
149 matchObjectID = cms.untracked.int32(13),
152 FilterName = cms.untracked.InputTag(
"TauRefProducer",
"MET"),
153 matchObjectID = cms.untracked.int32(0),
157 TagAndProbe = cms.untracked.VPSet(
159 name = cms.string(
'LooseChargedIsoPFTau20_SingleL1'),
160 xvariable = cms.string(
'Tau'),
161 nPtBins = cms.int32(20),
162 ptmin = cms.double(0.),
163 ptmax = cms.double(200.),
164 nEtaBins = cms.int32(20),
165 etamin = cms.double(-2.5),
166 etamax = cms.double(2.5),
167 nPhiBins = cms.int32(20),
168 phimin = cms.double(-3.14),
169 phimax = cms.double(3.14),
174 name = cms.string(
'MediumChargedIsoPFTau20_SingleL1'),
175 xvariable = cms.string(
'Tau'),
176 nPtBins = cms.int32(20),
177 ptmin = cms.double(0.),
178 ptmax = cms.double(200.),
179 nEtaBins = cms.int32(20),
180 etamin = cms.double(-2.5),
181 etamax = cms.double(2.5),
182 nPhiBins = cms.int32(20),
183 phimin = cms.double(-3.14),
184 phimax = cms.double(3.14),
189 name = cms.string(
'TightChargedIsoPFTau20_SingleL1'),
190 xvariable = cms.string(
'Tau'),
191 nPtBins = cms.int32(20),
192 ptmin = cms.double(0.),
193 ptmax = cms.double(200.),
194 nEtaBins = cms.int32(20),
195 etamin = cms.double(-2.5),
196 etamax = cms.double(2.5),
197 nPhiBins = cms.int32(20),
198 phimin = cms.double(-3.14),
199 phimax = cms.double(3.14),
204 name = cms.string(
'LooseChargedIsoPFTau20_TightID_SingleL1'),
205 xvariable = cms.string(
'Tau'),
206 nPtBins = cms.int32(20),
207 ptmin = cms.double(0.),
208 ptmax = cms.double(200.),
209 nEtaBins = cms.int32(20),
210 etamin = cms.double(-2.5),
211 etamax = cms.double(2.5),
212 nPhiBins = cms.int32(20),
213 phimin = cms.double(-3.14),
214 phimax = cms.double(3.14),
219 name = cms.string(
'MediumChargedIsoPFTau20_TightID_SingleL1'),
220 xvariable = cms.string(
'Tau'),
221 nPtBins = cms.int32(20),
222 ptmin = cms.double(0.),
223 ptmax = cms.double(200.),
224 nEtaBins = cms.int32(20),
225 etamin = cms.double(-2.5),
226 etamax = cms.double(2.5),
227 nPhiBins = cms.int32(20),
228 phimin = cms.double(-3.14),
229 phimax = cms.double(3.14),
234 name = cms.string(
'TightChargedIsoPFTau20_TightID_SingleL1'),
235 xvariable = cms.string(
'Tau'),
236 nPtBins = cms.int32(20),
237 ptmin = cms.double(0.),
238 ptmax = cms.double(200.),
239 nEtaBins = cms.int32(20),
240 etamin = cms.double(-2.5),
241 etamax = cms.double(2.5),
242 nPhiBins = cms.int32(20),
243 phimin = cms.double(-3.14),
244 phimax = cms.double(3.14),
249 name = cms.string(
'LooseChargedIsoPFTau27_eta2p1_CrossL1'),
250 xvariable = cms.string(
'Tau'),
251 nPtBins = cms.int32(20),
252 ptmin = cms.double(0.),
253 ptmax = cms.double(200.),
254 nEtaBins = cms.int32(20),
255 etamin = cms.double(-2.5),
256 etamax = cms.double(2.5),
257 nPhiBins = cms.int32(20),
258 phimin = cms.double(-3.14),
259 phimax = cms.double(3.14),
264 name = cms.string(
'MediumChargedIsoPFTau27_eta2p1_CrossL1'),
265 xvariable = cms.string(
'Tau'),
266 nPtBins = cms.int32(20),
267 ptmin = cms.double(0.),
268 ptmax = cms.double(200.),
269 nEtaBins = cms.int32(20),
270 etamin = cms.double(-2.5),
271 etamax = cms.double(2.5),
272 nPhiBins = cms.int32(20),
273 phimin = cms.double(-3.14),
274 phimax = cms.double(3.14),
279 name = cms.string(
'TightChargedIsoPFTau27_eta2p1_CrossL1'),
280 xvariable = cms.string(
'Tau'),
281 nPtBins = cms.int32(20),
282 ptmin = cms.double(0.),
283 ptmax = cms.double(200.),
284 nEtaBins = cms.int32(20),
285 etamin = cms.double(-2.5),
286 etamax = cms.double(2.5),
287 nPhiBins = cms.int32(20),
288 phimin = cms.double(-3.14),
289 phimax = cms.double(3.14),
294 name = cms.string(
'LooseChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
295 xvariable = cms.string(
'Tau'),
296 nPtBins = cms.int32(20),
297 ptmin = cms.double(0.),
298 ptmax = cms.double(200.),
299 nEtaBins = cms.int32(20),
300 etamin = cms.double(-2.5),
301 etamax = cms.double(2.5),
302 nPhiBins = cms.int32(20),
303 phimin = cms.double(-3.14),
304 phimax = cms.double(3.14),
309 name = cms.string(
'MediumChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
310 xvariable = cms.string(
'Tau'),
311 nPtBins = cms.int32(20),
312 ptmin = cms.double(0.),
313 ptmax = cms.double(200.),
314 nEtaBins = cms.int32(20),
315 etamin = cms.double(-2.5),
316 etamax = cms.double(2.5),
317 nPhiBins = cms.int32(20),
318 phimin = cms.double(-3.14),
319 phimax = cms.double(3.14),
324 name = cms.string(
'TightChargedIsoPFTau27_eta2p1_TightID_CrossL1'),
325 xvariable = cms.string(
'Tau'),
326 nPtBins = cms.int32(20),
327 ptmin = cms.double(0.),
328 ptmax = cms.double(200.),
329 nEtaBins = cms.int32(20),
330 etamin = cms.double(-2.5),
331 etamax = cms.double(2.5),
332 nPhiBins = cms.int32(20),
333 phimin = cms.double(-3.14),
334 phimax = cms.double(3.14),
339 name = cms.string(
'MediumChargedIsoPFTau50_Trk30_eta2p1_1pr'),
340 xvariable = cms.string(
'Tau'),
341 nPtBins = cms.int32(20),
342 ptmin = cms.double(0.),
343 ptmax = cms.double(200.),
344 nEtaBins = cms.int32(20),
345 etamin = cms.double(-2.5),
346 etamax = cms.double(2.5),
347 nPhiBins = cms.int32(20),
348 phimin = cms.double(-3.14),
349 phimax = cms.double(3.14),
354 name = cms.string(
'LooseChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
355 xvariable = cms.string(
'Tau'),
356 nPtBins = cms.int32(20),
357 ptmin = cms.double(0.),
358 ptmax = cms.double(200.),
359 nEtaBins = cms.int32(20),
360 etamin = cms.double(-2.5),
361 etamax = cms.double(2.5),
362 nPhiBins = cms.int32(20),
363 phimin = cms.double(-3.14),
364 phimax = cms.double(3.14),
369 name = cms.string(
'MediumChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
370 xvariable = cms.string(
'Tau'),
371 nPtBins = cms.int32(20),
372 ptmin = cms.double(0.),
373 ptmax = cms.double(200.),
374 nEtaBins = cms.int32(20),
375 etamin = cms.double(-2.5),
376 etamax = cms.double(2.5),
377 nPhiBins = cms.int32(20),
378 phimin = cms.double(-3.14),
379 phimax = cms.double(3.14),
384 name = cms.string(
'TightChargedIsoPFTau35_Trk1_eta2p1_Reg_CrossL1'),
385 xvariable = cms.string(
'Tau'),
386 nPtBins = cms.int32(20),
387 ptmin = cms.double(0.),
388 ptmax = cms.double(200.),
389 nEtaBins = cms.int32(20),
390 etamin = cms.double(-2.5),
391 etamax = cms.double(2.5),
392 nPhiBins = cms.int32(20),
393 phimin = cms.double(-3.14),
394 phimax = cms.double(3.14),
399 name = cms.string(
'LooseChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
400 xvariable = cms.string(
'Tau'),
401 nPtBins = cms.int32(20),
402 ptmin = cms.double(0.),
403 ptmax = cms.double(200.),
404 nEtaBins = cms.int32(20),
405 etamin = cms.double(-2.5),
406 etamax = cms.double(2.5),
407 nPhiBins = cms.int32(20),
408 phimin = cms.double(-3.14),
409 phimax = cms.double(3.14),
410 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_IsoMu24_eta2p1_LooseChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
414 name = cms.string(
'MediumChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
415 xvariable = cms.string(
'Tau'),
416 nPtBins = cms.int32(20),
417 ptmin = cms.double(0.),
418 ptmax = cms.double(200.),
419 nEtaBins = cms.int32(20),
420 etamin = cms.double(-2.5),
421 etamax = cms.double(2.5),
422 nPhiBins = cms.int32(20),
423 phimin = cms.double(-3.14),
424 phimax = cms.double(3.14),
425 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_IsoMu24_eta2p1_MediumChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
429 name = cms.string(
'TightChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1'),
430 xvariable = cms.string(
'Tau'),
431 nPtBins = cms.int32(20),
432 ptmin = cms.double(0.),
433 ptmax = cms.double(200.),
434 nEtaBins = cms.int32(20),
435 etamin = cms.double(-2.5),
436 etamax = cms.double(2.5),
437 nPhiBins = cms.int32(20),
438 phimin = cms.double(-3.14),
439 phimax = cms.double(3.14),
440 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_IsoMu24_eta2p1_TightChargedIsoPFTau35_Trk1_TightID_eta2p1_Reg_CrossL1_v*')),
444 name = cms.string(
'MediumChargedIsoPFTau180HighPtRelaxedIso_Trk50_eta2p1'),
445 xvariable = cms.string(
'Tau'),
446 nPtBins = cms.int32(20),
447 ptmin = cms.double(0.),
448 ptmax = cms.double(200.),
449 nEtaBins = cms.int32(20),
450 etamin = cms.double(-2.5),
451 etamax = cms.double(2.5),
452 nPhiBins = cms.int32(20),
453 phimin = cms.double(-3.14),
454 phimax = cms.double(3.14),
459 name = cms.string(
'MediumChargedIsoPFTau100HighPtRelaxedIso_Trk50_eta2p1_1pr'),
460 xvariable = cms.string(
'Tau'),
461 nPtBins = cms.int32(20),
462 ptmin = cms.double(0.),
463 ptmax = cms.double(200.),
464 nEtaBins = cms.int32(20),
465 etamin = cms.double(-2.5),
466 etamax = cms.double(2.5),
467 nPhiBins = cms.int32(20),
468 phimin = cms.double(-3.14),
469 phimax = cms.double(3.14),
474 name = cms.string(
'LooseChargedIsoPFTau30_eta2p1_CrossL1'),
475 xvariable = cms.string(
'Tau'),
476 nPtBins = cms.int32(20),
477 ptmin = cms.double(0.),
478 ptmax = cms.double(200.),
479 nEtaBins = cms.int32(20),
480 etamin = cms.double(-2.5),
481 etamax = cms.double(2.5),
482 nPhiBins = cms.int32(20),
483 phimin = cms.double(-3.14),
484 phimax = cms.double(3.14),
489 name = cms.string(
'MediumChargedIsoPFTau30_eta2p1_CrossL1'),
490 xvariable = cms.string(
'Tau'),
491 nPtBins = cms.int32(20),
492 ptmin = cms.double(0.),
493 ptmax = cms.double(200.),
494 nEtaBins = cms.int32(20),
495 etamin = cms.double(-2.5),
496 etamax = cms.double(2.5),
497 nPhiBins = cms.int32(20),
498 phimin = cms.double(-3.14),
499 phimax = cms.double(3.14),
500 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_Ele24_eta2p1_WPTight_Gsf_MediumChargedIsoPFTau30_eta2p1_CrossL1_v*')),
504 name = cms.string(
'TightChargedIsoPFTau30_eta2p1_CrossL1'),
505 xvariable = cms.string(
'Tau'),
506 nPtBins = cms.int32(20),
507 ptmin = cms.double(0.),
508 ptmax = cms.double(200.),
509 nEtaBins = cms.int32(20),
510 etamin = cms.double(-2.5),
511 etamax = cms.double(2.5),
512 nPhiBins = cms.int32(20),
513 phimin = cms.double(-3.14),
514 phimax = cms.double(3.14),
519 name = cms.string(
'LooseChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
520 xvariable = cms.string(
'Tau'),
521 nPtBins = cms.int32(20),
522 ptmin = cms.double(0.),
523 ptmax = cms.double(200.),
524 nEtaBins = cms.int32(20),
525 etamin = cms.double(-2.5),
526 etamax = cms.double(2.5),
527 nPhiBins = cms.int32(20),
528 phimin = cms.double(-3.14),
529 phimax = cms.double(3.14),
530 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_Ele24_eta2p1_WPTight_Gsf_LooseChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
534 name = cms.string(
'MediumChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
535 xvariable = cms.string(
'Tau'),
536 nPtBins = cms.int32(20),
537 ptmin = cms.double(0.),
538 ptmax = cms.double(200.),
539 nEtaBins = cms.int32(20),
540 etamin = cms.double(-2.5),
541 etamax = cms.double(2.5),
542 nPhiBins = cms.int32(20),
543 phimin = cms.double(-3.14),
544 phimax = cms.double(3.14),
545 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_Ele24_eta2p1_WPTight_Gsf_MediumChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
549 name = cms.string(
'TightChargedIsoPFTau30_eta2p1_TightID_CrossL1'),
550 xvariable = cms.string(
'Tau'),
551 nPtBins = cms.int32(20),
552 ptmin = cms.double(0.),
553 ptmax = cms.double(200.),
554 nEtaBins = cms.int32(20),
555 etamin = cms.double(-2.5),
556 etamax = cms.double(2.5),
557 nPhiBins = cms.int32(20),
558 phimin = cms.double(-3.14),
559 phimax = cms.double(3.14),
560 numerator =
TriggerSelectionParameters(cms.vstring(
'HLT_Ele24_eta2p1_WPTight_Gsf_TightChargedIsoPFTau30_eta2p1_TightID_CrossL1_v*')),
564 name = cms.string(
'MET90'),
565 xvariable = cms.string(
'MET'),
566 nPtBins = cms.int32(20),
567 ptmin = cms.double(0.),
568 ptmax = cms.double(200.),
569 nPhiBins = cms.int32(20),
570 phimin = cms.double(-3.14),
571 phimax = cms.double(3.14),
576 name = cms.string(
'MET100'),
577 xvariable = cms.string(
'MET'),
578 nPtBins = cms.int32(20),
579 ptmin = cms.double(0.),
580 ptmax = cms.double(200.),
581 nPhiBins = cms.int32(20),
582 phimin = cms.double(-3.14),
583 phimax = cms.double(3.14),
def TriggerSelectionParameters(hltpaths)