From aad1ab0cf4726b3d247417f43a98d09cafe737f0 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 21 Feb 2025 12:49:33 +0100 Subject: [PATCH] file from Anna: could be reduce print out in zmq processing when using energy threshold (#1113) --- slsDetectorCalibration/singlePhotonDetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorCalibration/singlePhotonDetector.h b/slsDetectorCalibration/singlePhotonDetector.h index 61df4bbcd..6ea9ecb46 100644 --- a/slsDetectorCalibration/singlePhotonDetector.h +++ b/slsDetectorCalibration/singlePhotonDetector.h @@ -503,6 +503,7 @@ class singlePhotonDetector : public analogDetector { } #endif if (ee == PHOTON && val[iy * nx + ix] == max) { + good = 1; ee = PHOTON_MAX; // cout << "**" < { 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)