Index: /trunk/MagicSoft/Mars/mtemp/MFindStars.cc
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/MFindStars.cc	(revision 4002)
+++ /trunk/MagicSoft/Mars/mtemp/MFindStars.cc	(revision 4003)
@@ -186,5 +186,9 @@
           Float_t maxPixelDC;
           MGeomPix maxPixel;
-          while(1)
+
+          MHCamera cam = fDisplay;
+          // First define a area of interest around the expected position of the star
+
+         while(1)
             {
               FindPixelWithMaxDC(maxPixelDC, maxPixel);
@@ -194,6 +198,12 @@
               MStarLocalPos *starpos = new MStarLocalPos;
               starpos->SetExpValues(maxPixelDC,maxPixel.GetX(),maxPixel.GetY());
+              starpos->SetCalcValues(maxPixelDC,maxPixel.GetX(),fRingInterest/2,maxPixel.GetY(),fRingInterest/2);
               fStars->GetList()->Add(starpos);
+
+              ShadowStar(starpos);
+              
             }
+         fDisplay = cam;
+         
         }
       
