Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3539)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3540)
@@ -44,4 +44,10 @@
    * mhvstime/MHPixVsTime.cc:
      - fixed missing initialization of fTypeErr in constructor
+
+   * mimage/MHillas.[h,cc]:
+     - implemented member function which returns MeanX/Y as TVector2
+
+   * mimage/ImageIncl.h:
+     - added TVector2
 
 
Index: trunk/MagicSoft/Mars/mimage/ImageIncl.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/ImageIncl.h	(revision 3539)
+++ trunk/MagicSoft/Mars/mimage/ImageIncl.h	(revision 3540)
@@ -1,3 +1,5 @@
 #ifndef __CINT__
 
+#include <TVector2.h>
+
 #endif // __CINT__
Index: trunk/MagicSoft/Mars/mimage/MHillas.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHillas.cc	(revision 3539)
+++ trunk/MagicSoft/Mars/mimage/MHillas.cc	(revision 3540)
@@ -64,4 +64,5 @@
 #include <TArrayF.h>
 #include <TEllipse.h>
+#include <TVector2.h>
 
 #include "MGeomPix.h"
@@ -88,12 +89,4 @@
 
     Reset();
-}
-
-// --------------------------------------------------------------------------
-//
-// Destructor. Deletes the TEllipse if one exists.
-//
-MHillas::~MHillas()
-{
 }
 
@@ -112,4 +105,13 @@
     fMeanX  =  0;
     fMeanY  =  0;
+}
+
+// --------------------------------------------------------------------------
+//
+//  return the mean position as TVector2(meanx, meany)
+//
+TVector2 MHillas::GetMean() const
+{
+    return TVector2(fMeanX, fMeanY);
 }
 
Index: trunk/MagicSoft/Mars/mimage/MHillas.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHillas.h	(revision 3539)
+++ trunk/MagicSoft/Mars/mimage/MHillas.h	(revision 3540)
@@ -7,4 +7,5 @@
 
 class TArrayF;
+class TVector2;
 
 class MGeomCam;
@@ -27,5 +28,4 @@
 public:
     MHillas(const char *name=NULL, const char *title=NULL);
-    ~MHillas();
 
     void Reset();
@@ -44,4 +44,6 @@
     Float_t GetMeanY() const  { return fMeanY; }
 
+    TVector2 GetMean() const;
+
     Float_t GetCosDelta() const { return fCosDelta; }
     Float_t GetSinDelta() const { return fSinDelta; }
