Skip to content

Commit

Permalink
Migrate HI_DiJetSkim_cff.py to use reco::JetCorrector
Browse files Browse the repository at this point in the history
This cff was still using the old JetCorrector class from
2014. This was causing a unit test failure in
Configuration/DataProcessing after we deleted the central
cff files for the old JetCorrectors.
  • Loading branch information
wddgit committed Dec 12, 2022
1 parent d2b40c9 commit 0548d85
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions HeavyIonsAnalysis/Configuration/python/HI_DiJetSkim_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
)

# jet energy correction (L2+L3)
from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import *
icPu5CaloJetsL2L3 = cms.EDProducer('CaloJetCorrectionProducer',
from JetMETCorrections.Configuration.JetCorrectorsAllAlgos_cff import ic5CaloL2RelativeCorrector, ic5CaloL3AbsoluteCorrector, ic5CaloL2L3Corrector, ic5CaloL2L3CorrectorTask
icPu5CaloJetsL2L3 = cms.EDProducer('CorrectedCaloJetProducer',
src = cms.InputTag('iterativeConePu5CaloJets'),
correctors = cms.vstring('ic5CaloL2L3')
correctors = cms.VInputTag('ic5CaloL2L3Corrector')
)

# leading jet E_T filter
Expand Down Expand Up @@ -65,5 +65,6 @@
* goodLeadingJet
* goodSecondJet
* backToBackDijets
* dijetFilter
* dijetFilter,
ic5CaloL2L3CorrectorTask
)

0 comments on commit 0548d85

Please sign in to comment.