Skip to content
Snippets Groups Projects
Commit 63958360 authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

L1: fix a bug introduced in 1690917f in sub-timeslice split

parent 4cef4d60
No related branches found
No related tags found
1 merge request!984L1: fix a bug introduced in 1690917f6dacfefdc569834c31e164a54db24965 in sub-timeslice split
Pipeline #19461 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment