From a83f7fe2cc07c6e61ce889b1b3550b8a096f4877 Mon Sep 17 00:00:00 2001 From: cmsbuild Date: Mon, 24 Jun 2024 16:15:44 +0200 Subject: [PATCH] Merge pull request #45271 from nurfikri89/portFrom141XTo140X_fixJECInPuId [PileUpJetId] Backport of #45270 (Set jet phi for JEC) to 14_0_X --- RecoJets/JetProducers/plugins/PileupJetIdProducer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/RecoJets/JetProducers/plugins/PileupJetIdProducer.cc b/RecoJets/JetProducers/plugins/PileupJetIdProducer.cc index 45fecafc022d4..435f268f21ae5 100644 --- a/RecoJets/JetProducers/plugins/PileupJetIdProducer.cc +++ b/RecoJets/JetProducers/plugins/PileupJetIdProducer.cc @@ -161,6 +161,7 @@ void PileupJetIdProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSe jecCor_->setJetPt(jet.pt()); } jecCor_->setJetEta(jet.eta()); + jecCor_->setJetPhi(jet.phi()); jecCor_->setJetA(jet.jetArea()); jecCor_->setRho(rho); jec = jecCor_->getCorrection();