Skip to content

Commit 0bbb3da

Browse files
authored
ITS: fix clusterSize propagation (#14412)
1 parent 9ca2abd commit 0bbb3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int TimeFrame<nLayers>::loadROFrameData(gsl::span<o2::itsmft::ROFRecord> rofs,
180180
locXYZ = dict->getClusterCoordinates(c, patt, false);
181181
clusterSize = patt.getNPixels();
182182
}
183-
mClusterSize.push_back(std::clamp(clusterSize, 0u, 255u));
183+
mClusterSize[clusterId] = std::clamp(clusterSize, 0u, 255u);
184184
auto sensorID = c.getSensorID();
185185
// Inverse transformation to the local --> tracking
186186
auto trkXYZ = geom->getMatrixT2L(sensorID) ^ locXYZ;

0 commit comments

Comments
 (0)