1 import FWCore.ParameterSet.Config
as cms
12 HcalStripHaloFilterDQM=HcalStripHaloFilter.clone(taggingMode =
True)
13 CSCTightHaloFilterDQM=CSCTightHaloFilter.clone(taggingMode =
True)
14 CSCTightHalo2015FilterDQM=CSCTightHalo2015Filter.clone(taggingMode =
True)
15 eeBadScFilterDQM=eeBadScFilter.clone(taggingMode =
True)
16 EcalDeadCellTriggerPrimitiveFilterDQM=EcalDeadCellTriggerPrimitiveFilter.clone(taggingMode =
True)
17 EcalDeadCellBoundaryEnergyFilterDQM=EcalDeadCellBoundaryEnergyFilter.clone(taggingMode =
True)
19 pileupJetIdCalculatorDQM=pileupJetIdCalculator.clone(
23 inputIsCorrected =
False 26 pileupJetIdEvaluatorDQM=pileupJetIdEvaluator.clone(
28 jetids =
"pileupJetIdCalculatorDQM",
31 inputIsCorrected =
False 34 pileupJetIdCalculatorCHSDQM=pileupJetIdCalculator.clone(
36 inputIsCorrected =
False 39 pileupJetIdEvaluatorCHSDQM=pileupJetIdEvaluator.clone(
40 jetids =
"pileupJetIdCalculatorCHSDQM",
42 inputIsCorrected =
False 45 pileupJetIdCalculatorPUPPIDQM=pileupJetIdCalculator.clone(
46 jets =
"ak4PFJetsPuppi",
49 inputIsCorrected =
False 52 pileupJetIdEvaluatorPUPPIDQM=pileupJetIdEvaluator.clone(
53 jets =
"ak4PFJetsPuppi",
54 jetids =
"pileupJetIdCalculatorPUPPIDQM",
57 inputIsCorrected =
False 62 dqmAk4CaloL2L3ResidualCorrector = ak4CaloL2L3ResidualCorrector.clone()
63 dqmAk4CaloL2L3ResidualCorrectorChain = cms.Sequence(
65 dqmAk4CaloL2L3ResidualCorrector
68 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3ResidualCorrectorChain,ak4PFL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFResidualCorrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
70 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
71 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
73 dqmAk4PFCHSL1FastL2L3Corrector
76 dqmAk4PFL1FastL2L3ResidualCorrector = ak4PFL1FastL2L3ResidualCorrector.clone()
77 dqmAk4PFL1FastL2L3ResidualCorrectorChain = cms.Sequence(
79 dqmAk4PFL1FastL2L3ResidualCorrector
82 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSResidualCorrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
84 dqmAk4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
85 dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
87 dqmAk4PFCHSL1FastL2L3ResidualCorrector
90 dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
91 dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
92 dqmAk4PFCHSL1FastL2L3Corrector
95 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFPuppiL1FastL2L3ResidualCorrectorChain,ak4PFPuppiL1FastL2L3ResidualCorrector,ak4PFPuppiL1FastL2L3Corrector,ak4PFPuppiResidualCorrector,ak4PFPuppiL3AbsoluteCorrector,ak4PFPuppiL2RelativeCorrector,ak4PFPuppiL1FastjetCorrector
97 dqmAk4PFPuppiL1FastL2L3ResidualCorrector = ak4PFPuppiL1FastL2L3ResidualCorrector.clone()
98 dqmAk4PFPuppiL1FastL2L3ResidualCorrectorChain = cms.Sequence(
99 dqmAk4PFPuppiL1FastL2L3ResidualCorrector
102 HBHENoiseFilterResultProducerDQM=HBHENoiseFilterResultProducer.clone()
104 jetPreDQMTask = cms.Task(ak4CaloL2RelativeCorrector,
105 ak4CaloL3AbsoluteCorrector,
106 ak4CaloResidualCorrector,
107 ak4PFL1FastjetCorrector,
108 ak4PFL2RelativeCorrector,
109 ak4PFL3AbsoluteCorrector,
110 ak4PFResidualCorrector,
111 ak4PFCHSL1FastjetCorrector,
112 ak4PFCHSL2RelativeCorrector,
113 ak4PFCHSL3AbsoluteCorrector,
114 ak4PFCHSResidualCorrector,
117 _jetPreDQMTaskWithPUPPI = cms.Task(ak4CaloL2RelativeCorrector,
118 ak4CaloL3AbsoluteCorrector,
119 ak4CaloResidualCorrector,
120 ak4PFL1FastjetCorrector,
121 ak4PFL2RelativeCorrector,
122 ak4PFL3AbsoluteCorrector,
123 ak4PFResidualCorrector,
124 ak4PFCHSL1FastjetCorrector,
125 ak4PFCHSL2RelativeCorrector,
126 ak4PFCHSL3AbsoluteCorrector,
127 ak4PFCHSResidualCorrector,
128 ak4PFPuppiL1FastjetCorrector,
129 ak4PFPuppiL2RelativeCorrector,
130 ak4PFPuppiL3AbsoluteCorrector,
131 ak4PFPuppiResidualCorrector,
133 jetPreDQMSeq=cms.Sequence(jetPreDQMTask)
134 _jetPreDQMSeqWithPUPPI=cms.Sequence(_jetPreDQMTaskWithPUPPI)
136 from JetMETCorrections.Type1MET.correctedMet_cff
import pfMetT1
140 dqmCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag(
'dqmAk4PFCHSL1FastL2L3Corrector'),
141 jetCorrLabelRes = cms.InputTag(
'dqmAk4PFCHSL1FastL2L3ResidualCorrector')
143 pfMETT1=pfMetT1.clone(srcCorrections = (
144 'dqmCorrPfMetType1:type1',
147 jetMETDQMOfflineSource = cms.Sequence(AnalyzeSUSYDQM*QGTagger*
148 pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
149 pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
151 dqmAk4CaloL2L3ResidualCorrectorChain*dqmAk4PFL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*
152 cms.ignore(goodOfflinePrimaryVerticesDQM)*
153 dqmCorrPfMetType1*pfMETT1*jetDQMAnalyzerSequence*HBHENoiseFilterResultProducer*
154 cms.ignore(CSCTightHaloFilterDQM)*cms.ignore(CSCTightHalo2015FilterDQM)*cms.ignore(eeBadScFilterDQM)*cms.ignore(EcalDeadCellTriggerPrimitiveFilterDQM)*cms.ignore(EcalDeadCellBoundaryEnergyFilterDQM)*cms.ignore(HcalStripHaloFilterDQM)
155 *METDQMAnalyzerSequence
156 *pfCandidateDQMAnalyzer)
158 _jetMETDQMOfflineSourceWithPUPPI = cms.Sequence(AnalyzeSUSYDQM*QGTagger*
159 pileupJetIdCalculatorCHSDQM*pileupJetIdEvaluatorCHSDQM*
160 pileupJetIdCalculatorDQM*pileupJetIdEvaluatorDQM*
161 pileupJetIdCalculatorPUPPIDQM*pileupJetIdEvaluatorPUPPIDQM*
162 _jetPreDQMSeqWithPUPPI*
163 dqmAk4CaloL2L3ResidualCorrectorChain*dqmAk4PFL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain*dqmAk4PFCHSL1FastL2L3CorrectorChain*dqmAk4PFPuppiL1FastL2L3ResidualCorrectorChain*
164 cms.ignore(goodOfflinePrimaryVerticesDQM)*
165 dqmCorrPfMetType1*pfMETT1*jetDQMAnalyzerSequence*HBHENoiseFilterResultProducer*
166 cms.ignore(CSCTightHaloFilterDQM)*cms.ignore(CSCTightHalo2015FilterDQM)*cms.ignore(eeBadScFilterDQM)*cms.ignore(EcalDeadCellTriggerPrimitiveFilterDQM)*cms.ignore(EcalDeadCellBoundaryEnergyFilterDQM)*cms.ignore(HcalStripHaloFilterDQM)
167 *METDQMAnalyzerSequence
168 *pfCandidateDQMAnalyzer)
170 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
171 (~pp_on_AA).toReplaceWith(jetMETDQMOfflineSource, _jetMETDQMOfflineSourceWithPUPPI)
173 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
175 jetMETDQMOfflineRedoProductsMiniAOD = cms.Sequence(cms.ignore(goodOfflinePrimaryVerticesDQMforMiniAOD))
177 jetMETDQMOfflineSourceMiniAOD = cms.Sequence(jetDQMAnalyzerSequenceMiniAOD*METDQMAnalyzerSequenceMiniAOD*packedCandidateDQMAnalyzerMiniAOD)