1 import FWCore.ParameterSet.Config
as cms
3 looseMuonCut =
"muonRef.isNonnull && (muonRef.isGlobalMuon || muonRef.isTrackerMuon) && muonRef.isPFMuon"
4 looseIsoCut =
"(muonRef.pfIsolationR04.sumChargedHadronPt + max(0., muonRef.pfIsolationR04.sumNeutralHadronEt + muonRef.pfIsolationR04.sumPhotonEt - 0.5 * muonRef.pfIsolationR04.sumPUPt) ) / muonRef.pt < 0.2"
5 ElelooseIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.15"
6 EletightIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.1"
9 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
21 directory = cms.string(
"Physics/Top/TopDiLeptonDQM/"),
25 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
26 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
27 jets = cms.InputTag(
"ak4PFJetsCHS"),
28 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
31 monitoring = cms.PSet(
32 verbosity = cms.string(
"DEBUG")
36 elecExtras = cms.PSet(
41 select = cms.string(
"pt>20. && abs(eta)<2.5"),
44 isolation = cms.string(ElelooseIsoCut),
48 muonExtras = cms.PSet(
51 select = cms.string(looseMuonCut +
" && muonRef.pt > 10. && abs(muonRef.eta)<2.4"),
54 isolation = cms.string(looseIsoCut),
61 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
71 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
75 massExtras = cms.PSet(
76 lowerEdge = cms.double( 76.0),
77 upperEdge = cms.double(106.0)
102 preselection = cms.PSet(
110 src = cms.InputTag(
"offlinePrimaryVertices"),
111 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
124 selection = cms.VPSet(
132 label = cms.string(
"muons:step0"),
133 src = cms.InputTag(
"pfIsolatedMuonsEI"),
134 select = cms.string(looseMuonCut +
" && "+ looseIsoCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
139 label = cms.string(
"jets/pf:step1"),
140 src = cms.InputTag(
"ak4PFJetsCHS"),
141 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
166 directory = cms.string(
"Physics/Top/TopDiMuonDQM/"),
170 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
171 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
172 jets = cms.InputTag(
"ak4PFJetsCHS"),
173 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
176 monitoring = cms.PSet(
177 verbosity = cms.string(
"DEBUG")
181 elecExtras = cms.PSet(
186 select = cms.string(
"pt>20. && abs(eta)<2.5"),
189 isolation = cms.string(ElelooseIsoCut),
193 muonExtras = cms.PSet(
196 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
199 isolation = cms.string(looseIsoCut),
203 jetExtras = cms.PSet(
206 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
216 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
220 massExtras = cms.PSet(
221 lowerEdge = cms.double( 76.0),
222 upperEdge = cms.double(106.0)
247 preselection = cms.PSet(
255 src = cms.InputTag(
"offlinePrimaryVertices"),
256 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
269 selection = cms.VPSet(
277 label = cms.string(
"muons:step0"),
278 src = cms.InputTag(
"pfIsolatedMuonsEI"),
279 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
284 label = cms.string(
"jets/pf:step1"),
285 src = cms.InputTag(
"ak4PFJetsCHS"),
286 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
287 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
309 directory = cms.string(
"Physics/Top/TopDiElectronDQM/"),
313 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
314 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
315 jets = cms.InputTag(
"ak4PFJetsCHS"),
316 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
319 monitoring = cms.PSet(
320 verbosity = cms.string(
"DEBUG")
324 elecExtras = cms.PSet(
329 select = cms.string(
"pt>20. && abs(eta)<2.5"),
332 isolation = cms.string(ElelooseIsoCut),
336 muonExtras = cms.PSet(
339 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
342 isolation = cms.string(looseIsoCut),
346 jetExtras = cms.PSet(
349 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
359 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
363 massExtras = cms.PSet(
364 lowerEdge = cms.double( 76.0),
365 upperEdge = cms.double(106.0)
390 preselection = cms.PSet(
398 src = cms.InputTag(
"offlinePrimaryVertices"),
399 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
412 selection = cms.VPSet(
420 label = cms.string(
"elecs:step0"),
421 src = cms.InputTag(
"pfIsolatedElectronsEI"),
423 select = cms.string(
"pt>20 & abs(eta)<2.5 && gsfElectronRef.gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 0 && " + ElelooseIsoCut),
429 label = cms.string(
"jets/pf:step1"),
430 src = cms.InputTag(
"ak4PFJetsCHS"),
431 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
432 select = cms.string(
"pt>30. & abs(eta)<2.4"),
454 directory = cms.string(
"Physics/Top/TopElecMuonDQM/"),
458 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
459 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
460 jets = cms.InputTag(
"ak4PFJetsCHS"),
461 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
464 monitoring = cms.PSet(
465 verbosity = cms.string(
"DEBUG")
469 elecExtras = cms.PSet(
474 select = cms.string(
"pt>10. && abs(eta)<2.4 && abs(gsfElectronRef.gsfTrack.d0)<1. && abs(gsfElectronRef.gsfTrack.dz)<20."),
477 isolation = cms.string(ElelooseIsoCut),
481 muonExtras = cms.PSet(
484 select = cms.string(looseMuonCut +
" && muonRef.pt > 10. && abs(muonRef.eta)<2.4"),
487 isolation = cms.string(looseIsoCut),
491 jetExtras = cms.PSet(
494 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
504 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
508 massExtras = cms.PSet(
509 lowerEdge = cms.double( 76.0),
510 upperEdge = cms.double(106.0)
535 preselection = cms.PSet(
543 src = cms.InputTag(
"offlinePrimaryVertices"),
544 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
557 selection = cms.VPSet(
565 label = cms.string(
"muons:step0"),
566 src = cms.InputTag(
"pfIsolatedMuonsEI"),
567 select = cms.string(looseMuonCut +
" && " + looseIsoCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
572 label = cms.string(
"elecs:step1"),
573 src = cms.InputTag(
"pfIsolatedElectronsEI"),
575 select = cms.string(
"pt>20 & abs(eta)<2.5 && "+ElelooseIsoCut),
580 label = cms.string(
"jets/pf:step2"),
581 src = cms.InputTag(
"ak4PFJetsCHS"),
582 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
583 select = cms.string(
"pt>30. & abs(eta)<2.4 "),