Index: /trunk/MagicSoft/Mars/mpedestal/MPedPhotPix.h
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MPedPhotPix.h	(revision 6079)
+++ /trunk/MagicSoft/Mars/mpedestal/MPedPhotPix.h	(revision 6080)
@@ -27,6 +27,6 @@
 
     //void SetMean(Float_t f) { fMean = f; }
-    void SetRms(Float_t f)  {MMath::TruncatePrecision(f);  fRms  = f; }
-    void Set(Float_t m, Float_t r, UInt_t n=1) { MMath::TruncatePrecision(r); MMath::TruncatePrecision(m); fMean = m; fRms = r; fNumEvents=n; }
+    void SetRms(Float_t f)  {MMath::ReducePrecision(f);  fRms  = f; }
+    void Set(Float_t m, Float_t r, UInt_t n=1) { MMath::ReducePrecision(r); MMath::ReducePrecision(m); fMean = m; fRms = r; fNumEvents=n; }
 
     Bool_t IsValid() const { return fRms>=0; }
