1 import FWCore.ParameterSet.Config
as cms
3 topDiLeptonHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
14 directory = cms.string(
"HLT/TopHLTOffline/Top/DiLeptonic/"),
18 muons = cms.InputTag(
"muons"),
19 elecs = cms.InputTag(
"gedGsfElectrons"),
20 jets = cms.InputTag(
"ak4PFJetsCHS"),
21 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
25 elecExtras = cms.PSet(
30 select = cms.string(
"pt>20 & abs(eta)<2.5"),
33 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
37 muonExtras = cms.PSet(
40 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
43 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
54 select = cms.string(
"pt>30. & abs(eta)<2.5"),
58 massExtras = cms.PSet(
59 lowerEdge = cms.double( 70.0),
60 upperEdge = cms.double(110.0)
64 triggerExtras = cms.PSet(
65 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
67 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
68 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
69 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
70 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
71 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
72 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
73 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
84 preselection = cms.PSet(
87 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
89 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
90 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
91 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
92 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
93 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v',
94 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
95 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
99 src = cms.InputTag(
"offlinePrimaryVertices"),
100 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
113 selection = cms.VPSet(
121 label = cms.string(
"Hlt:step0"),
122 src = cms.InputTag(
""),
123 select = cms.string(
""),
128 label = cms.string(
"jets/pf:step1"),
129 src = cms.InputTag(
"ak4PFJetsCHS"),
131 select = cms.string(
"pt>30. & abs(eta)<2.5"),
139 DiMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
150 directory = cms.string(
"HLT/TopHLTOffline/Top/DiMuon/"),
154 muons = cms.InputTag(
"muons"),
155 elecs = cms.InputTag(
"gedGsfElectrons"),
156 jets = cms.InputTag(
"ak4PFJetsCHS"),
157 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
161 elecExtras = cms.PSet(
166 select = cms.string(
"pt>20 & abs(eta)<2.5"),
169 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
173 muonExtras = cms.PSet(
176 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
179 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
183 jetExtras = cms.PSet(
190 select = cms.string(
"pt>30. & abs(eta)<2.5"),
194 massExtras = cms.PSet(
195 lowerEdge = cms.double( 70.0),
196 upperEdge = cms.double(110.0)
200 triggerExtras = cms.PSet(
201 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
203 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
204 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
205 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
206 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
207 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
208 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
209 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
219 preselection = cms.PSet(
222 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
223 select = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
224 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
228 src = cms.InputTag(
"offlinePrimaryVertices"),
229 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
242 selection = cms.VPSet(
250 label = cms.string(
"Hlt:step0"),
251 src = cms.InputTag(
""),
252 select = cms.string(
""),
258 label = cms.string(
"muons:step1"),
259 src = cms.InputTag(
"muons"),
260 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
265 label = cms.string(
"jets/pf:step2"),
266 src = cms.InputTag(
"ak4PFJetsCHS"),
268 select = cms.string(
"pt>30. & abs(eta)<2.5"),
274 DiElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
285 directory = cms.string(
"HLT/TopHLTOffline/Top/DiElectron/"),
289 muons = cms.InputTag(
"muons"),
290 elecs = cms.InputTag(
"gedGsfElectrons"),
291 jets = cms.InputTag(
"ak4PFJetsCHS"),
292 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
296 elecExtras = cms.PSet(
301 select = cms.string(
"pt>20 & abs(eta)<2.5"),
304 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
308 muonExtras = cms.PSet(
311 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
314 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
318 jetExtras = cms.PSet(
325 select = cms.string(
"pt>30. & abs(eta)<2.5"),
329 massExtras = cms.PSet(
330 lowerEdge = cms.double( 70.0),
331 upperEdge = cms.double(110.0)
335 triggerExtras = cms.PSet(
336 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
339 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
340 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
341 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
342 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
343 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
344 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
345 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
356 preselection = cms.PSet(
359 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
360 select = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
361 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
365 src = cms.InputTag(
"offlinePrimaryVertices"),
366 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
379 selection = cms.VPSet(
387 label = cms.string(
"Hlt:step0"),
388 src = cms.InputTag(
""),
389 select = cms.string(
""),
395 label = cms.string(
"elecs:step1"),
396 src = cms.InputTag(
"gedGsfElectrons"),
398 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
403 label = cms.string(
"jets/pf:step2"),
404 src = cms.InputTag(
"ak4PFJetsCHS"),
406 select = cms.string(
"pt>30. & abs(eta)<2.5"),
412 ElecMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
423 directory = cms.string(
"HLT/TopHLTOffline/Top/ElecMuon/"),
427 muons = cms.InputTag(
"muons"),
428 elecs = cms.InputTag(
"gedGsfElectrons"),
429 jets = cms.InputTag(
"ak4PFJetsCHS"),
430 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
434 elecExtras = cms.PSet(
439 select = cms.string(
"pt>20 & abs(eta)<2.5"),
442 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
446 muonExtras = cms.PSet(
449 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
452 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
456 jetExtras = cms.PSet(
463 select = cms.string(
"pt>30. & abs(eta)<2.5"),
467 massExtras = cms.PSet(
468 lowerEdge = cms.double( 70.0),
469 upperEdge = cms.double(110.0)
473 triggerExtras = cms.PSet(
474 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
476 pathsELECMU = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
477 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
478 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
479 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
480 'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
481 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
482 'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
493 preselection = cms.PSet(
496 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
498 select = cms.vstring([
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
499 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
500 'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
504 src = cms.InputTag(
"offlinePrimaryVertices"),
505 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
518 selection = cms.VPSet(
526 label = cms.string(
"Hlt:step0"),
527 src = cms.InputTag(
""),
528 select = cms.string(
""),
534 label = cms.string(
"muons:step1"),
535 src = cms.InputTag(
"muons"),
536 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
541 label = cms.string(
"elecs:step2"),
542 src = cms.InputTag(
"gedGsfElectrons"),
544 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
549 label = cms.string(
"jets/pf:step3"),
550 src = cms.InputTag(
"ak4PFJetsCHS"),
552 select = cms.string(
"pt>30. & abs(eta)<2.5"),