Index: trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
===================================================================
--- trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc	(revision 9257)
+++ trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc	(revision 9258)
@@ -44,6 +44,6 @@
 #include "MLogManip.h"
 
-#include "MHexagon.h"
 #include "MGeomCam.h"
+#include "MGeomPix.h"
 
 #include "MRflSinglePhoton.h"
@@ -205,11 +205,9 @@
     val = 0;
 
-    MHexagon hex(cam[idx]);
-
-    MRflSinglePhoton *ph=NULL;
-
-    TIter Next(&fList);
-    while ((ph=(MRflSinglePhoton*)Next()))
-        if (hex.DistanceToPrimitive(ph->GetX(), ph->GetY())<=0)
+    MRflSinglePhoton *ph=NULL;
+
+    TIter Next(&fList);
+    while ((ph=(MRflSinglePhoton*)Next()))
+        if (cam[idx].DistanceToPrimitive(ph->GetX(), ph->GetY())<=0)
             val += cam.GetPixRatio(idx);
 
