1 import FWCore.ParameterSet.Config
as cms
17 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
19 newAK4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
20 newAK4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
22 newAK4PFCHSL1FastL2L3Corrector
25 newAK4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
26 newAK4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
28 newAK4PFCHSL1FastL2L3ResidualCorrector
31 metPreValidSeq=cms.Sequence(ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector * ak4PFCHSResidualCorrector)
33 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag(
'newAK4PFCHSL1FastL2L3Corrector'),
34 jetCorrLabelRes = cms.InputTag(
'newAK4PFCHSL1FastL2L3ResidualCorrector')
37 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
38 cms.InputTag(
'valCorrPfMetType1',
'type1')
41 PfMetT0pcT1=pfMetT0pcT1.clone(
42 srcCorrections = cms.VInputTag(
43 cms.InputTag(
'corrPfMetType0PfCand'),
44 cms.InputTag(
'valCorrPfMetType1',
'type1')
48 METRelValSequence = cms.Sequence(
52 correctionTermsPfMetType0PFCandidateForValidation*
53 newAK4PFCHSL1FastL2L3CorrectorChain*
54 newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
59 pfType0CorrectedMetAnalyzer*
60 pfType1CorrectedMetAnalyzer*
61 pfType01CorrectedMetAnalyzer
65 METValidation = cms.Sequence(
69 correctionTermsPfMetType0PFCandidateForValidation*
70 newAK4PFCHSL1FastL2L3CorrectorChain*
71 newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
76 pfType0CorrectedMetAnalyzer*
77 pfType1CorrectedMetAnalyzer*
78 pfType01CorrectedMetAnalyzer
81 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD*pfPuppiMetAnalyzerMiniAOD)