Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 2669)
+++ trunk/MagicSoft/Mars/Changelog	(revision 2670)
@@ -4,4 +4,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2003/12/12: Nadia Tonello
+
+   * mimage/MImgCleanStd.cc
+	- now the cleaning of rings>1 is done symmetrically around the core pixels (bug solved)  
+
+
  2003/12/12: Abelardo Moralejo
 
Index: trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc	(revision 2669)
+++ trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc	(revision 2670)
@@ -462,4 +462,7 @@
 void MImgCleanStd::CleanStep4(UShort_t r, MCerPhotPix &pix)
 {
+  // Skip events that have already a defined status;
+	if( pix.GetRing()!= 0)
+	  return;
     //
     // check if the pixel's next neighbor is a used pixel.
@@ -468,4 +471,5 @@
     //
     const Int_t idx = pix.GetPixId();
+
     MGeomPix  &gpix  = (*fCam)[idx];
 
@@ -478,6 +482,6 @@
         MCerPhotPix *npix = fEvt->GetPixById(idx2);
 
-        if (!npix || !npix->IsPixelUsed() || npix->GetRing()>r-1 )
-            continue;
+        if (!npix || !npix->IsPixelUsed() || npix->GetRing()>r-1 ) 
+	continue;
 
         pix.SetRing(r);
