Index: /trunk/MagicSoft/Cosy/catalog/StarCatalog.cc
===================================================================
--- /trunk/MagicSoft/Cosy/catalog/StarCatalog.cc	(revision 7766)
+++ /trunk/MagicSoft/Cosy/catalog/StarCatalog.cc	(revision 7767)
@@ -231,9 +231,9 @@
         // Check if the resulting star is in the
         // search box for the real stars
-        if (rx<x0 || rx>=x1 || ry<y0 || ry>=y1)
+        if (xx<x0 || xx>=x1 || yy<y0 || yy>=y1)
             continue;
 
         // Store pixel coordinates of star in list
-        list.Add(rx, ry, -2.5*log10(mag));
+        list.Add(xx, yy, -2.5*log10(mag));
     }
 }
Index: /trunk/MagicSoft/Cosy/main/MStargHistograms.cc
===================================================================
--- /trunk/MagicSoft/Cosy/main/MStargHistograms.cc	(revision 7766)
+++ /trunk/MagicSoft/Cosy/main/MStargHistograms.cc	(revision 7767)
@@ -71,6 +71,6 @@
         tree->Branch("CenterY.",    &fCenterY,       "fCenterY/D");
 	// Center of Camera, offset from arb coords, in Zd, Az, deg
-        tree->Branch("CenterZd.",    &fCenterZd,        "fCenterZd/D");
-        tree->Branch("CenterAz.",    &fCenterAz,       "fCenterAz/D");
+//        tree->Branch("CenterZd.",    &fCenterZd,        "fCenterZd/D");
+//        tree->Branch("CenterAz.",    &fCenterAz,       "fCenterAz/D");
 	// Position of Star in Camera in Zd, Az
         tree->Branch("StarZd.",    &fStarZd,        "fStarZd/D");
Index: /trunk/MagicSoft/Cosy/main/MStarguider.cc
===================================================================
--- /trunk/MagicSoft/Cosy/main/MStarguider.cc	(revision 7766)
+++ /trunk/MagicSoft/Cosy/main/MStarguider.cc	(revision 7767)
@@ -1987,6 +1987,6 @@
         const Bool_t centerisvalid = sgcenter.GetX()>0 && sgcenter.GetY()>0;
         if (centerisvalid)
-            skycenter.SetXY(sgcenter.GetX() - offset.GetX(),
-                            sgcenter.Y() - offset.Y());
+            skycenter.SetXY(sgcenter.GetX() - offset.X(),
+                            sgcenter.GetY() - offset.Y());
 
     	// we obtain stars in the effective star FOV and draw them.
