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_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v']),
68 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v']),
69 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
80 preselection = cms.PSet(
83 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
85 select = cms.vstring([
'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
89 src = cms.InputTag(
"offlinePrimaryVertices"),
90 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
103 selection = cms.VPSet(
111 label = cms.string(
"Hlt:step0"),
112 src = cms.InputTag(
""),
113 select = cms.string(
""),
118 label = cms.string(
"jets/pf:step1"),
119 src = cms.InputTag(
"ak4PFJetsCHS"),
121 select = cms.string(
"pt>30. & abs(eta)<2.5"),
129 DiMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
140 directory = cms.string(
"HLT/TopHLTOffline/Top/DiMuon/"),
144 muons = cms.InputTag(
"muons"),
145 elecs = cms.InputTag(
"gedGsfElectrons"),
146 jets = cms.InputTag(
"ak4PFJetsCHS"),
147 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
151 elecExtras = cms.PSet(
156 select = cms.string(
"pt>20 & abs(eta)<2.5"),
159 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
163 muonExtras = cms.PSet(
166 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
169 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
173 jetExtras = cms.PSet(
180 select = cms.string(
"pt>30. & abs(eta)<2.5"),
184 massExtras = cms.PSet(
185 lowerEdge = cms.double( 70.0),
186 upperEdge = cms.double(110.0)
190 triggerExtras = cms.PSet(
191 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
193 pathsELECMU = cms.vstring([
'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v']),
194 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_Dz_v']),
195 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
205 preselection = cms.PSet(
208 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
209 select = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v']),
213 src = cms.InputTag(
"offlinePrimaryVertices"),
214 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
227 selection = cms.VPSet(
235 label = cms.string(
"Hlt:step0"),
236 src = cms.InputTag(
""),
237 select = cms.string(
""),
243 label = cms.string(
"muons:step1"),
244 src = cms.InputTag(
"muons"),
245 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
250 label = cms.string(
"jets/pf:step2"),
251 src = cms.InputTag(
"ak4PFJetsCHS"),
253 select = cms.string(
"pt>30. & abs(eta)<2.5"),
259 DiElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
270 directory = cms.string(
"HLT/TopHLTOffline/Top/DiElectron/"),
274 muons = cms.InputTag(
"muons"),
275 elecs = cms.InputTag(
"gedGsfElectrons"),
276 jets = cms.InputTag(
"ak4PFJetsCHS"),
277 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
281 elecExtras = cms.PSet(
286 select = cms.string(
"pt>20 & abs(eta)<2.5"),
289 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
293 muonExtras = cms.PSet(
296 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
299 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
303 jetExtras = cms.PSet(
310 select = cms.string(
"pt>30. & abs(eta)<2.5"),
314 massExtras = cms.PSet(
315 lowerEdge = cms.double( 70.0),
316 upperEdge = cms.double(110.0)
320 triggerExtras = cms.PSet(
321 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
324 pathsELECMU = cms.vstring([
'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v']),
325 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v']),
326 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
337 preselection = cms.PSet(
340 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
341 select = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
345 src = cms.InputTag(
"offlinePrimaryVertices"),
346 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
359 selection = cms.VPSet(
367 label = cms.string(
"Hlt:step0"),
368 src = cms.InputTag(
""),
369 select = cms.string(
""),
375 label = cms.string(
"elecs:step1"),
376 src = cms.InputTag(
"gedGsfElectrons"),
378 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
383 label = cms.string(
"jets/pf:step2"),
384 src = cms.InputTag(
"ak4PFJetsCHS"),
386 select = cms.string(
"pt>30. & abs(eta)<2.5"),
392 ElecMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonHLTOfflineDQM",
403 directory = cms.string(
"HLT/TopHLTOffline/Top/ElecMuon/"),
407 muons = cms.InputTag(
"muons"),
408 elecs = cms.InputTag(
"gedGsfElectrons"),
409 jets = cms.InputTag(
"ak4PFJetsCHS"),
410 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet")
414 elecExtras = cms.PSet(
419 select = cms.string(
"pt>20 & abs(eta)<2.5"),
422 isolation = cms.string(
"(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
426 muonExtras = cms.PSet(
429 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
432 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
436 jetExtras = cms.PSet(
443 select = cms.string(
"pt>30. & abs(eta)<2.5"),
447 massExtras = cms.PSet(
448 lowerEdge = cms.double( 70.0),
449 upperEdge = cms.double(110.0)
453 triggerExtras = cms.PSet(
454 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
456 pathsELECMU = cms.vstring([
'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v']),
457 pathsDIMUON = cms.vstring([
'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v',
'HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v']),
458 pathsDIELEC = cms.vstring([
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v'])
469 preselection = cms.PSet(
472 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
474 select = cms.vstring([
'HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu23_TrkIsoVVL_Ele8_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
'HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v'])
478 src = cms.InputTag(
"offlinePrimaryVertices"),
479 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
492 selection = cms.VPSet(
500 label = cms.string(
"Hlt:step0"),
501 src = cms.InputTag(
""),
502 select = cms.string(
""),
508 label = cms.string(
"muons:step1"),
509 src = cms.InputTag(
"muons"),
510 select = cms.string(
"pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
515 label = cms.string(
"elecs:step2"),
516 src = cms.InputTag(
"gedGsfElectrons"),
518 select = cms.string(
"pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
523 label = cms.string(
"jets/pf:step3"),
524 src = cms.InputTag(
"ak4PFJetsCHS"),
526 select = cms.string(
"pt>30. & abs(eta)<2.5"),