Index: /trunk/MagicSoft/Mars/mtemp/mmpi/MSkyPlot.cc
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mmpi/MSkyPlot.cc	(revision 6666)
+++ /trunk/MagicSoft/Mars/mtemp/mmpi/MSkyPlot.cc	(revision 6667)
@@ -634,5 +634,5 @@
       Double_t dx, dy, beta, tanbeta, alphapar, distpar;
       Double_t logsize, lgsize, lgsize2, dist2, hadr; 
-      const Double_t log3000 = log(3000.);
+      const Double_t log3000n = log(3000.*0.18);  // now in phe, thus must shift the offset
       const Float_t fDistOffset = 0.9;
       
@@ -725,11 +725,11 @@
 	        (y_cam)      (sin(gam)   cos(gam))   (ytilde)   (y_0)
 	      */
-	      //xsourcam = - (cosgam * xsource - singam * ysource) + x_0;
-	      //ysourcam = - (singam * xsource + cosgam * ysource) + y_0;
+	      xsourcam = - (cosgam * xsource - singam * ysource) + x_0;
+	      ysourcam = - (singam * xsource + cosgam * ysource) + y_0;
 	      
 	      
 	      /*    end derotatiom    */
-	                 xsourcam = xsource;
-	                 ysourcam = ysource;
+	      //           xsourcam = xsource;
+	      //           ysourcam = ysource;
 
 	      /* calculate ALPHA und DIST according to the source position */
@@ -758,5 +758,5 @@
 	      	// apply cuts
 	      	logsize = log(fHillas->GetSize());
-	      	lgsize = logsize-log3000;
+	      	lgsize = logsize-log3000n;
 	      	lgsize2 = lgsize*lgsize;
 	      	dist2 = distpar*distpar - fDistOffset*fDistOffset;
