diff --git a/reco/L1/CbmL1ReadEvent.cxx b/reco/L1/CbmL1ReadEvent.cxx index 3cbcc3b8cc35e41b76f82b2969474419e597016c..8be7cee15a07d6d128f56df5876dcd098bfc7dea 100644 --- a/reco/L1/CbmL1ReadEvent.cxx +++ b/reco/L1/CbmL1ReadEvent.cxx @@ -756,8 +756,12 @@ void CbmL1::ReadEvent(float& TsStart, float& TsLength, float& /*TsOverlap*/, int } /// stop if reco TS ends and many hits left - if (!event) - if ((th.time > (TsStart + TsLength)) && ((nEntSts - hitIndex) > 300)) { break; } + if (!event) { + if ((th.time > (TsStart + TsLength)) && ((nEntSts - hitIndex) > 300)) { + areDataLeft = true; // there are unprocessed data left in the time slice + break; + } + } TVector3 pos, err; h->Position(pos);