Skip to content

Commit

Permalink
Fix counter type in MID data decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Apr 19, 2022
1 parent 554c2d0 commit bb76554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/MUON/MID/CTF/include/MIDCTF/CTFCoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void CTFCoder::decode(const CTF::base& ec, std::array<VROF, NEvTypes>& rofVec, s
}
auto& cv = colVec[evType[irof]];
firstEntry = cv.size();
for (uint8_t ic = 0; ic < entries[irof]; ic++) {
for (uint16_t ic = 0; ic < entries[irof]; ic++) {
cv.emplace_back(ColumnData{deId[colCount], colId[colCount], std::array{pattern[pCount], pattern[pCount + 1], pattern[pCount + 2], pattern[pCount + 3], pattern[pCount + 4]}});
pCount += 5;
colCount++;
Expand Down

0 comments on commit bb76554

Please sign in to comment.