file from Anna: could be reduce print out in zmq processing when using energy threshold (#1112)

This commit is contained in:
maliakal_d 2025-02-21 12:49:18 +01:00 committed by GitHub
parent 7494e41862
commit 5de98b3db0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -503,6 +503,7 @@ class singlePhotonDetector : public analogDetector<uint16_t> {
}
#endif
if (ee == PHOTON && val[iy * nx + ix] == max) {
good = 1;
ee = PHOTON_MAX;
// cout << "**" <<id<< " " << iframe << " " << nDark << " "
// << ix << " " << iy << " " << rms << " " << max << " " <<
@ -536,7 +537,6 @@ class singlePhotonDetector : public analogDetector<uint16_t> {
cout << max << " " << val[iy * nx + ix] << endl;
}
//else (clusters + nph)->print();
good = 1;
if (eMin > 0 && tot < eMin)
good = 0;
if (eMax > 0 && tot > eMax)