fixed issue with cluster finder

This commit is contained in:
bergamaschi 2022-10-24 12:39:37 +02:00
parent 22b16de6b5
commit bb0201385f

View File

@ -438,6 +438,7 @@ class singlePhotonDetector : public analogDetector<uint16_t> {
subtractPedestal(data, ix + ic, iy + ir, cm);
}
}
v = &(val[(iy + ir) * nx + ix + ic]);
tot += *v;
if (ir <= 0 && ic <= 0)