Index: trunk/MagicSoft/Mars/mimage/MHillas.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHillas.cc	(revision 8765)
+++ trunk/MagicSoft/Mars/mimage/MHillas.cc	(revision 8911)
@@ -21,5 +21,5 @@
 !   Author(s): Wolfgang Wittek  6/2002 <mailto:wittek@mppmu.mpg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2003
+!   Copyright: MAGIC Software Development, 2000-2008
 !
 !
@@ -109,4 +109,13 @@
 // --------------------------------------------------------------------------
 //
+//  return distance to center (coordinate origin)
+//
+Double_t MHillas::GetDist0() const
+{
+    return TMath::Hypot(fMeanX, fMeanY);
+} 
+
+// --------------------------------------------------------------------------
+//
 //  return the mean position as TVector2(meanx, meany)
 //
Index: trunk/MagicSoft/Mars/mimage/MHillas.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHillas.h	(revision 8765)
+++ trunk/MagicSoft/Mars/mimage/MHillas.h	(revision 8911)
@@ -43,5 +43,5 @@
     Float_t  GetMeanX() const  { return fMeanX; }
     Float_t  GetMeanY() const  { return fMeanY; }
-    Double_t GetDist0() const  { return TMath::Hypot(fMeanX, fMeanY); } // return distance to center
+    Double_t GetDist0() const;
 
     TVector2 GetMean() const;
