1 import FWCore.ParameterSet.Config
as cms
4 from DQMOffline.PFTau.PFJetDQMAnalyzer_cfi
import pfJetDQMAnalyzer
6 JetValidation1 = pfJetDQMAnalyzer.clone()
7 JetValidation1.BenchmarkLabel = cms.string(
'slimmedJetValidation/CompWithPFJets')
8 JetValidation1.InputCollection = cms.InputTag(
'slimmedJets')
9 JetValidation1.MatchCollection = cms.InputTag(
'ak4PFJetsCHS')
10 JetValidation1.ptMin = cms.double(10.0)
11 JetValidation1.CreatePFractionHistos = cms.bool(
True)
15 JetValidation2 = pfJetDQMAnalyzer.clone()
16 JetValidation2.BenchmarkLabel = cms.string(
'slimmedJetValidation/CompWithPFJetsEC')
19 JetValidation2.InputCollection = cms.InputTag(
'slimmedJets')
20 JetValidation2.MatchCollection = cms.InputTag(
'ak4PFJetsNewL1Fast23')
21 JetValidation2.ptMin = JetValidation1.ptMin
22 JetValidation2.CreatePFractionHistos = cms.bool(
True)
26 from DQMOffline.PFTau.PFJetResDQMAnalyzer_cfi
import pfJetResDQMAnalyzer
28 JetResValidation1 = pfJetResDQMAnalyzer.clone()
29 JetResValidation1.InputCollection = JetValidation1.InputCollection
30 JetResValidation1.MatchCollection = JetValidation1.MatchCollection
31 JetResValidation1.ptMin = JetValidation1.ptMin
33 JetResValidation2 = pfJetResDQMAnalyzer.clone()
34 JetResValidation2.InputCollection = JetValidation2.InputCollection
35 JetResValidation2.MatchCollection = JetValidation2.MatchCollection
36 JetResValidation2.ptMin = JetValidation2.ptMin
40 from DQMOffline.PFTau.PFMETDQMAnalyzer_cfi
import pfMETDQMAnalyzer
42 METValidation1 = pfMETDQMAnalyzer.clone()
43 METValidation1.BenchmarkLabel = cms.string(
'slimmedMETValidation/CompWithPFMET')
44 METValidation1.InputCollection = cms.InputTag(
'slimmedMETs')
45 METValidation1.MatchCollection = cms.InputTag(
'pfMet')
47 METValidation2 = pfMETDQMAnalyzer.clone()
48 METValidation2.BenchmarkLabel = cms.string(
'slimmedMETValidation/CompWithPFMETT1')
49 METValidation2.InputCollection = cms.InputTag(
'slimmedMETs')
50 METValidation2.MatchCollection = cms.InputTag(
'pfMetT1')
54 from DQMOffline.PFTau.PFMuonDQMAnalyzer_cfi
import pfMuonDQMAnalyzer
56 slimmedMuonValidation1 = pfMuonDQMAnalyzer.clone()
57 slimmedMuonValidation1.BenchmarkLabel = cms.string(
'SlimmedMuonValidation/CompWithRecoMuons')
58 slimmedMuonValidation1.InputCollection = cms.InputTag(
'slimmedMuons')
59 slimmedMuonValidation1.MatchCollection = cms.InputTag(
'muons')
71 from DQMOffline.PFTau.PFElectronDQMAnalyzer_cfi
import pfElectronDQMAnalyzer
73 ElectronValidation1 = pfElectronDQMAnalyzer.clone()
74 ElectronValidation1.BenchmarkLabel = cms.string(
'slimmedElectronValidation/CompWithGedGsfElectrons')
75 ElectronValidation1.InputCollection = cms.InputTag(
'slimmedElectrons')
76 ElectronValidation1.MatchCollection = cms.InputTag(
'gedGsfElectrons')
85 miniAODDQMSequence = cms.Sequence(
86 type0PFMEtCorrectionPFCandToVertexAssociationForValidationMiniAOD *
87 JetValidation1 * JetValidation2 *
88 JetResValidation1 * JetResValidation2 *
89 METValidation1 * METValidation2 *
90 slimmedMuonValidation1 *