Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 4776)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 4777)
@@ -22,4 +22,5 @@
 
  2004/08/27: Hendrik Bartko
+
   * msignal/MExtractTime.cc
     - check that the pixel has a low gain before calculating the time 
@@ -29,5 +30,10 @@
 
    * mcalib/MCalibrationChargeCalc.cc
+   * mcalib/MCalibrationChargePix.[h,cc]
      - change treatment of pixels with kSigmaNotValid
+
+   * mpedestal/MPedestalCam.cc
+     - fixed a small bug in the calculation of the PedestalRms Error 
+       in GetPixelContent()
 
    * macros/bootcampstandardanalysis.C 
Index: /trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc	(revision 4776)
+++ /trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc	(revision 4777)
@@ -384,21 +384,24 @@
         return kFALSE;
 
+    const Float_t ped      = (*this)[idx].GetPedestal();
+    const Float_t rms      = (*this)[idx].GetPedestalRms();
+
     switch (type)
     {
     case 0:
-        val = (*this)[idx].GetPedestal();
+        val = ped;
         break;
     case 1:
         val = fTotalEntries > 0 ?
-            (*this)[idx].GetPedestalRms()/TMath::Sqrt((Float_t)fTotalEntries)
-            : (*this)[idx].GetPedestalError();
+            rms/TMath::Sqrt((Float_t)fTotalEntries)
+          : (*this)[idx].GetPedestalError();
         break;
     case 2:
-        val = (*this)[idx].GetPedestalRms();
+        val = rms;
         break;
     case 3:
         val = fTotalEntries > 0 ?
-            (*this)[idx].GetPedestalRms()/TMath::Sqrt((Float_t)fTotalEntries)/2.
-            : (*this)[idx].GetPedestalRmsError();
+          rms/TMath::Sqrt((Float_t)fTotalEntries*2.)
+          : (*this)[idx].GetPedestalRmsError();
         break;
     default:
