From 2c0471057c697c2b857093cb0675f0555e51d400 Mon Sep 17 00:00:00 2001
From: Oleg Golosov <oleg.golosov@gmail.com>
Date: Sat, 28 Dec 2024 17:25:28 +0300
Subject: [PATCH] fix crash in BmnEventSelector

---
 physics/BmnEventSelector.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/physics/BmnEventSelector.cxx b/physics/BmnEventSelector.cxx
index 80e23b8f..78065255 100644
--- a/physics/BmnEventSelector.cxx
+++ b/physics/BmnEventSelector.cxx
@@ -649,6 +649,7 @@ void BmnEventSelector::Exec(Option_t* /*option*/)
 {
     fTrigAR = fEventHeader->GetInputSignalsAR();
     fEventClass = BmnEventClass::kUndef;
+    fNhitsBC1S = 0;
     fCentralHitIndexBC1S = -1;
     fTimesBC1S.clear();
     fRelTimesBC1S.clear();
-- 
GitLab