From a2b349b2c6e1fc65c648b6216c993802f684beb9 Mon Sep 17 00:00:00 2001 From: ccaillol Date: Mon, 3 Oct 2022 11:06:48 +0200 Subject: [PATCH] Bug fix on L1TrackJetEmulator --- .../L1TTrackMatch/plugins/L1TrackJetEmulationProducer.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetEmulationProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetEmulationProducer.cc index bda124a512d5c..701be4b196efa 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetEmulationProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetEmulationProducer.cc @@ -243,6 +243,10 @@ void L1TrackJetEmulationProducer::produce(Event &iEvent, const EventSetup &iSetu delete[] mzb.clusters; } else if (L1TrkPtrs_.empty()) { edm::LogWarning("L1TrackJetEmulationProducer") << "L1TrkPtrs Not Assigned!\n"; + if (displaced_) + iEvent.put(std::move(L1L1TrackJetProducer), "L1TrackJetsExtended"); + else + iEvent.put(std::move(L1L1TrackJetProducer), "L1TrackJets"); } }