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(
28 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
32 select = cms.string(
"pt>20 & abs(eta)<2.5"),
39 muonExtras = cms.PSet(
42 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
45 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
56 select = cms.string(
"pt>30. & abs(eta)<2.5"),
60 massExtras = cms.PSet(
61 lowerEdge = cms.double( 70.0),
62 upperEdge = cms.double(110.0)
66 triggerExtras = cms.PSet(
67 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
69 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
70 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
71 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
72 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
73 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
74 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
75 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
86 preselection = cms.PSet(
89 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
91 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
92 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
93 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
94 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
95 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v',
96 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
97 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
101 src = cms.InputTag(
"offlinePrimaryVertices"),
102 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
115 selection = cms.VPSet(
123 label = cms.string(
"Hlt:step0"),
124 src = cms.InputTag(
""),
125 select = cms.string(
""),
130 label = cms.string(
"jets/pf:step1"),
131 src = cms.InputTag(
"ak4PFJetsCHS"),
133 select = cms.string(
"pt>30. & abs(eta)<2.5"),
141 DiMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
152 directory = cms.string(
"HLT/TOP/DiMuon/"),
156 muons = cms.InputTag(
"muons"),
157 elecs = cms.InputTag(
"gedGsfElectrons"),
158 jets = cms.InputTag(
"ak4PFJetsCHS"),
159 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
163 elecExtras = cms.PSet(
165 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
169 select = cms.string(
"pt>20 & abs(eta)<2.5"),
176 muonExtras = cms.PSet(
179 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
182 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
186 jetExtras = cms.PSet(
193 select = cms.string(
"pt>30. & abs(eta)<2.5"),
197 massExtras = cms.PSet(
198 lowerEdge = cms.double( 70.0),
199 upperEdge = cms.double(110.0)
203 triggerExtras = cms.PSet(
204 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
206 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
207 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
208 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
209 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
210 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
211 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
212 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
222 preselection = cms.PSet(
225 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
226 select = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
227 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
231 src = cms.InputTag(
"offlinePrimaryVertices"),
232 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
245 selection = cms.VPSet(
253 label = cms.string(
"Hlt:step0"),
254 src = cms.InputTag(
""),
255 select = cms.string(
""),
261 label = cms.string(
"muons:step1"),
262 src = cms.InputTag(
"muons"),
263 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
268 label = cms.string(
"jets/pf:step2"),
269 src = cms.InputTag(
"ak4PFJetsCHS"),
271 select = cms.string(
"pt>30. & abs(eta)<2.5"),
277 DiElectronHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
288 directory = cms.string(
"HLT/TOP/DiElectron/"),
292 muons = cms.InputTag(
"muons"),
293 elecs = cms.InputTag(
"gedGsfElectrons"),
294 jets = cms.InputTag(
"ak4PFJetsCHS"),
295 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
299 elecExtras = cms.PSet(
301 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
305 select = cms.string(
"pt>20 & abs(eta)<2.5"),
312 muonExtras = cms.PSet(
315 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
318 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
322 jetExtras = cms.PSet(
329 select = cms.string(
"pt>30. & abs(eta)<2.5"),
333 massExtras = cms.PSet(
334 lowerEdge = cms.double( 70.0),
335 upperEdge = cms.double(110.0)
339 triggerExtras = cms.PSet(
340 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
343 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
344 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
345 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
346 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
347 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
348 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
349 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
360 preselection = cms.PSet(
363 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
364 select = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
365 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
369 src = cms.InputTag(
"offlinePrimaryVertices"),
370 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
383 selection = cms.VPSet(
391 label = cms.string(
"Hlt:step0"),
392 src = cms.InputTag(
""),
393 select = cms.string(
""),
399 label = cms.string(
"elecs:step1"),
400 src = cms.InputTag(
"gedGsfElectrons"),
402 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
407 label = cms.string(
"jets/pf:step2"),
408 src = cms.InputTag(
"ak4PFJetsCHS"),
410 select = cms.string(
"pt>30. & abs(eta)<2.5"),
416 ElecMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopDiLeptonHLTOfflineDQM',
427 directory = cms.string(
"HLT/TOP/ElecMuon/"),
431 muons = cms.InputTag(
"muons"),
432 elecs = cms.InputTag(
"gedGsfElectrons"),
433 jets = cms.InputTag(
"ak4PFJetsCHS"),
434 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
438 elecExtras = cms.PSet(
440 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
444 select = cms.string(
"pt>20 & abs(eta)<2.5"),
451 muonExtras = cms.PSet(
454 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
457 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
461 jetExtras = cms.PSet(
468 select = cms.string(
"pt>30. & abs(eta)<2.5"),
472 massExtras = cms.PSet(
473 lowerEdge = cms.double( 70.0),
474 upperEdge = cms.double(110.0)
478 triggerExtras = cms.PSet(
479 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
481 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
482 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
483 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
484 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
485 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
486 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
487 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
498 preselection = cms.PSet(
501 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
503 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
504 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
505 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
509 src = cms.InputTag(
"offlinePrimaryVertices"),
510 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
523 selection = cms.VPSet(
531 label = cms.string(
"Hlt:step0"),
532 src = cms.InputTag(
""),
533 select = cms.string(
""),
539 label = cms.string(
"muons:step1"),
540 src = cms.InputTag(
"muons"),
541 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
546 label = cms.string(
"elecs:step2"),
547 src = cms.InputTag(
"gedGsfElectrons"),
549 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
554 label = cms.string(
"jets/pf:step3"),
555 src = cms.InputTag(
"ak4PFJetsCHS"),
557 select = cms.string(
"pt>30. & abs(eta)<2.5"),