mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-12-02 19:27:47 +01:00
fixed bug by pedestal cloning
This commit is contained in:
1 parent
ded757b40c
commit
95351d0924
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class MovingStat
|
||||
*/
|
||||
void Set(double val, double rms=0, int m=-1)
|
||||
{
|
||||
if (m>0) m_n = m; else m_n = n;
|
||||
if (m>=0) m_n = m; else m_n = n;
|
||||
m_newM=val*m_n;
|
||||
// cout << "set " << val << " " << m << " " << m_n << " " << m_newM << endl;
|
||||
SetRMS(rms);
|
||||
|
||||
Reference in new issue
Block a user