fixed some interpolation issues (#796)

This commit is contained in:
anberga
2023-08-28 13:38:19 +02:00
committed by GitHub
parent f0b2a6f6f9
commit b367b7e431
5 changed files with 101 additions and 33 deletions

View File

@ -533,7 +533,7 @@ class singlePhotonDetector : public analogDetector<uint16_t> {
(clusters + nph)->print();
cout << max << " " << val[iy * nx + ix] << endl;
}
good = 1;
//good = 1;
if (eMin > 0 && tot < eMin)
good = 0;
if (eMax > 0 && tot > eMax)
@ -542,7 +542,7 @@ class singlePhotonDetector : public analogDetector<uint16_t> {
nph++;
image[iy * nx + ix]++;
}
good=1;
} else if (ee == PEDESTAL) {
addToPedestal(data, ix, iy, cm);
} /*else {