1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
4 topDiLeptonHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
15 directory = cms.string(
"HLT/TOP/DiLeptonic/"),
19 muons = cms.InputTag(
"muons"),
20 elecs = cms.InputTag(
"gedGsfElectrons"),
21 jets = cms.InputTag(
"ak4PFJetsCHS"),
22 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
26 elecExtras = cms.PSet(
31 select = cms.string(
"pt>20 & abs(eta)<2.5"),
34 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
38 muonExtras = cms.PSet(
41 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
44 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
55 select = cms.string(
"pt>30. & abs(eta)<2.5"),
59 massExtras = cms.PSet(
60 lowerEdge = cms.double( 70.0),
61 upperEdge = cms.double(110.0)
65 triggerExtras = cms.PSet(
66 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
68 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
69 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
70 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
71 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
72 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
73 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
74 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
85 preselection = cms.PSet(
88 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
90 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
91 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
92 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
93 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
94 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v',
95 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
96 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
100 src = cms.InputTag(
"offlinePrimaryVertices"),
101 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
114 selection = cms.VPSet(
122 label = cms.string(
"Hlt:step0"),
123 src = cms.InputTag(
""),
124 select = cms.string(
""),
129 label = cms.string(
"jets/pf:step1"),
130 src = cms.InputTag(
"ak4PFJetsCHS"),
132 select = cms.string(
"pt>30. & abs(eta)<2.5"),
140 DiMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
151 directory = cms.string(
"HLT/TOP/DiMuon/"),
155 muons = cms.InputTag(
"muons"),
156 elecs = cms.InputTag(
"gedGsfElectrons"),
157 jets = cms.InputTag(
"ak4PFJetsCHS"),
158 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
162 elecExtras = cms.PSet(
167 select = cms.string(
"pt>20 & abs(eta)<2.5"),
170 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
174 muonExtras = cms.PSet(
177 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
180 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
184 jetExtras = cms.PSet(
191 select = cms.string(
"pt>30. & abs(eta)<2.5"),
195 massExtras = cms.PSet(
196 lowerEdge = cms.double( 70.0),
197 upperEdge = cms.double(110.0)
201 triggerExtras = cms.PSet(
202 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
204 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
205 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
206 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
207 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
208 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
209 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
210 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
220 preselection = cms.PSet(
223 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
224 select = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
225 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
229 src = cms.InputTag(
"offlinePrimaryVertices"),
230 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
243 selection = cms.VPSet(
251 label = cms.string(
"Hlt:step0"),
252 src = cms.InputTag(
""),
253 select = cms.string(
""),
259 label = cms.string(
"muons:step1"),
260 src = cms.InputTag(
"muons"),
261 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
266 label = cms.string(
"jets/pf:step2"),
267 src = cms.InputTag(
"ak4PFJetsCHS"),
269 select = cms.string(
"pt>30. & abs(eta)<2.5"),
275 DiElectronHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
286 directory = cms.string(
"HLT/TOP/DiElectron/"),
290 muons = cms.InputTag(
"muons"),
291 elecs = cms.InputTag(
"gedGsfElectrons"),
292 jets = cms.InputTag(
"ak4PFJetsCHS"),
293 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
297 elecExtras = cms.PSet(
302 select = cms.string(
"pt>20 & abs(eta)<2.5"),
305 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
309 muonExtras = cms.PSet(
312 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
315 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
319 jetExtras = cms.PSet(
326 select = cms.string(
"pt>30. & abs(eta)<2.5"),
330 massExtras = cms.PSet(
331 lowerEdge = cms.double( 70.0),
332 upperEdge = cms.double(110.0)
336 triggerExtras = cms.PSet(
337 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
340 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
341 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
342 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
343 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
344 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
345 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
346 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
357 preselection = cms.PSet(
360 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
361 select = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
362 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
366 src = cms.InputTag(
"offlinePrimaryVertices"),
367 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
380 selection = cms.VPSet(
388 label = cms.string(
"Hlt:step0"),
389 src = cms.InputTag(
""),
390 select = cms.string(
""),
396 label = cms.string(
"elecs:step1"),
397 src = cms.InputTag(
"gedGsfElectrons"),
399 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
404 label = cms.string(
"jets/pf:step2"),
405 src = cms.InputTag(
"ak4PFJetsCHS"),
407 select = cms.string(
"pt>30. & abs(eta)<2.5"),
413 ElecMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
424 directory = cms.string(
"HLT/TOP/ElecMuon/"),
428 muons = cms.InputTag(
"muons"),
429 elecs = cms.InputTag(
"gedGsfElectrons"),
430 jets = cms.InputTag(
"ak4PFJetsCHS"),
431 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
435 elecExtras = cms.PSet(
440 select = cms.string(
"pt>20 & abs(eta)<2.5"),
443 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
447 muonExtras = cms.PSet(
450 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
453 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
457 jetExtras = cms.PSet(
464 select = cms.string(
"pt>30. & abs(eta)<2.5"),
468 massExtras = cms.PSet(
469 lowerEdge = cms.double( 70.0),
470 upperEdge = cms.double(110.0)
474 triggerExtras = cms.PSet(
475 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
477 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
478 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
479 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
480 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
481 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
482 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
483 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
494 preselection = cms.PSet(
497 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
499 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
500 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
501 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
505 src = cms.InputTag(
"offlinePrimaryVertices"),
506 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
519 selection = cms.VPSet(
527 label = cms.string(
"Hlt:step0"),
528 src = cms.InputTag(
""),
529 select = cms.string(
""),
535 label = cms.string(
"muons:step1"),
536 src = cms.InputTag(
"muons"),
537 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
542 label = cms.string(
"elecs:step2"),
543 src = cms.InputTag(
"gedGsfElectrons"),
545 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
550 label = cms.string(
"jets/pf:step3"),
551 src = cms.InputTag(
"ak4PFJetsCHS"),
553 select = cms.string(
"pt>30. & abs(eta)<2.5"),