Index: /trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc	(revision 2253)
+++ /trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc	(revision 2254)
@@ -206,10 +206,12 @@
         const MPedestalPix &pix = (*fPed)[id];
 
+        // ratio is the area of pixel 0 
+        //          divided by the area of the current pixel
+        const Double_t ratio = fCam->GetPixRatio(id);
         const Double_t sigma = pix.GetPedestalRms();
-        const Double_t area  = fCam->GetPixRatio(id);
 
         fSigmaPixTheta.Fill(theta, (Double_t)id, sigma);
 
-        const Double_t diff = sigma*sigma/area - mysig*mysig;
+        const Double_t diff = sigma*sigma*ratio - mysig*mysig;
         fDiffPixTheta.Fill(theta, (Double_t)id, diff);
     }
@@ -333,2 +335,11 @@
 
 
+
+
+
+
+
+
+
+
+
