diff --git a/include/aare/ClusterFinder.hpp b/include/aare/ClusterFinder.hpp index 8aeb685..e9807e5 100644 --- a/include/aare/ClusterFinder.hpp +++ b/include/aare/ClusterFinder.hpp @@ -125,11 +125,12 @@ class ClusterFinder { } } - if ((max > m_nSigma * rms)) { - if (value < max) - continue; // Not max go to the next pixel - // but also no pedestal update - } else if (total > c3 * m_nSigma * rms) { + // if ((max > m_nSigma * rms)) { + // if (value < max) + // continue; // Not max go to the next pixel + // // but also no pedestal update + // } else + if (total > c3 * m_nSigma * rms) { // pass } else { // m_pedestal.push(iy, ix, frame(iy, ix)); // Safe option