From 2c772720f17c89650e27582d2eba717035432867 Mon Sep 17 00:00:00 2001 From: Efe Yigitbasi Date: Sun, 2 Jul 2023 15:08:11 +0200 Subject: [PATCH] Prevent producing EMTFTrack if only muon shower was unpacked --- .../plugins/implementations_stage2/EMTFBlockSP.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventFilter/L1TRawToDigi/plugins/implementations_stage2/EMTFBlockSP.cc b/EventFilter/L1TRawToDigi/plugins/implementations_stage2/EMTFBlockSP.cc index c86a856866fec..86c0452bae1b7 100644 --- a/EventFilter/L1TRawToDigi/plugins/implementations_stage2/EMTFBlockSP.cc +++ b/EventFilter/L1TRawToDigi/plugins/implementations_stage2/EMTFBlockSP.cc @@ -599,9 +599,9 @@ namespace l1t { (res->at(iOut)).push_SP(SP_); - res_track->push_back(Track_); - if (Track_.Mode() != 0) { // Mode == 0 means no track was found (only muon shower) + res_track->push_back(Track_); + // TBIN_num can range from 0 through 7, i.e. BX = -3 through +4. - AWB 04.04.16 res_cand->setBXRange(-3, 4); res_cand->push_back(SP_.TBIN() - 3, mu_);