Index: trunk/MagicSoft/Mars/Makefile
===================================================================
--- trunk/MagicSoft/Mars/Makefile	(revision 4650)
+++ trunk/MagicSoft/Mars/Makefile	(revision 4651)
@@ -65,5 +65,6 @@
           mhistmc \
           mjobs \
-          mtools
+          mtools \
+	  mstarcam
 
 #LIBRARIES = $(SUBDIRS:%=lib/lib%.a)
Index: trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/mastro/MAstroCamera.cc	(revision 4650)
+++ trunk/MagicSoft/Mars/mastro/MAstroCamera.cc	(revision 4651)
@@ -17,4 +17,5 @@
 !
 !   Author(s): Thomas Bretz, 3/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
+!   Author(s): Robert Wagner, 7/2004 <mailto:rwagner@mppmu.mpg.de>
 !
 !   Copyright: MAGIC Software Development, 2000-2004
@@ -92,7 +93,5 @@
                       // HOW TO GET RID OF IT? Move MHCamera to mgeom?
 
-// FIXME: remove comments as soon as MStarLocalPos official part of MARS
-//#include "MStarLocalPos.h"
-// FIXME: remove comments as soon as MStarLocalPos official part of MARS
+#include "MStarPos.h"
 
 ClassImp(MAstroCamera);
@@ -382,6 +381,6 @@
         while ((mirror=(MGeomMirror*)NextM()))
         {
-            const TVector3 spot = mirror->GetReflection(star, fGeom->GetCameraDist())*1000;
-
+  	    const TVector3 spot = mirror->GetReflection(star, fGeom->GetCameraDist())*1000;
+            
             // calculate mean of all 'stars' hitting the camera plane
             // by taking the sum of the intersection points between
@@ -392,5 +391,8 @@
             {
                 TMarker *m=new TMarker(spot(0), spot(1), 1);
-                m->SetMarkerColor(kMagenta);
+		TVector3 pos=mirror->GetMirrorCenter();
+		Float_t r=pos.Mag();
+
+                m->SetMarkerColor((Int_t)(6*r)+51);
                 m->SetMarkerStyle(kDot);
                 fMapG.Add(m);
@@ -462,16 +464,9 @@
       }
       mean *= 1./num;
-// FIXME: remove comments as soon as MStarLocalPos official part of MARS
-//      MStarLocalPos *starpos = new MStarLocalPos;
-//      starpos->SetExpValues(mag,mean(0),mean(1));
-      
-//      TString name = radec->GetName();
-//      if (name.Length()==0) {
-//	starpos->SetName("unknown"); 
-//      } else {
-//	starpos->SetName(radec->GetName());
-//      }	 
-//      list->Add(starpos);   
-// FIXME: remove comments as soon as MStarLocalPos official part of MARS
+      MStarPos *starpos = new MStarPos;
+      starpos->SetExpValues(mag,mean(0),mean(1));
+
+      const TVector3 spot = fMirror0->GetReflection(star, fGeom->GetCameraDist())*1000;
+      starpos->SetIdealValues(mag,spot(0),spot(1));
     }
 }
