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

bug fix in assigning the strip id's to STS hits

parent 3313b884
No related branches found
No related tags found
1 merge request!375Improvement of L1Vector, 2 bug fixes
......@@ -521,15 +521,10 @@ void CbmL1::ReadEvent(L1AlgoInputData* fData_, float& TsStart, float& TsLength,
else
th.id = j + nMvdHits;
if ((th.time > (TsStart + TsLength)) && ((nEntSts - hitIndex) > 300))
break; /// stop if reco TS ends or few hits left
if (hitIndex == (nEntSts - 1)) newTS = 0; ///stop while if all hits are processed
th.iStripF += nMvdHits;
th.iStripB += nMvdHits;
TVector3 pos, err;
mh->Position(pos);
mh->PositionError(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment