1 import FWCore.ParameterSet.Config
as cms
13 from JetMETCorrections.Type1MET.correctedMet_cff
import pfMetT0pc,pfMetT0pcT1,pfMetT1
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 metPreValidSeqTask = cms.Task(ak4PFCHSL1FastjetCorrector,
32 ak4PFCHSL2RelativeCorrector,
33 ak4PFCHSL3AbsoluteCorrector,
34 ak4PFCHSResidualCorrector
36 metPreValidSeq = cms.Sequence(metPreValidSeqTask)
38 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel =
'newAK4PFCHSL1FastL2L3Corrector',
39 jetCorrLabelRes =
'newAK4PFCHSL1FastL2L3ResidualCorrector' 42 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
43 'valCorrPfMetType1:type1' 46 PfMetT0pcT1=pfMetT0pcT1.clone(
47 srcCorrections = cms.VInputTag(
48 'corrPfMetType0PfCand',
49 'valCorrPfMetType1:type1' 53 METRelValSequence = cms.Sequence(
57 correctionTermsPfMetType0PFCandidateForValidation*
58 newAK4PFCHSL1FastL2L3CorrectorChain*
59 newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
64 pfType0CorrectedMetAnalyzer*
65 pfType1CorrectedMetAnalyzer*
66 pfType01CorrectedMetAnalyzer
70 METValidation = cms.Sequence(
74 correctionTermsPfMetType0PFCandidateForValidation*
75 newAK4PFCHSL1FastL2L3CorrectorChain*
76 newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
81 pfType0CorrectedMetAnalyzer*
82 pfType1CorrectedMetAnalyzer*
83 pfType01CorrectedMetAnalyzer
86 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD*pfPuppiMetAnalyzerMiniAOD)