Index: trunk/MagicSoft/Mars/mpointing/MPointingDev.cc
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MPointingDev.cc	(revision 8911)
+++ trunk/MagicSoft/Mars/mpointing/MPointingDev.cc	(revision 8912)
@@ -32,4 +32,6 @@
 #include "MPointingDev.h"
 
+#include <TMath.h>
+
 ClassImp(MPointingDev);
 
Index: trunk/MagicSoft/Mars/mpointing/MPointingDev.h
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MPointingDev.h	(revision 8911)
+++ trunk/MagicSoft/Mars/mpointing/MPointingDev.h	(revision 8912)
@@ -37,6 +37,6 @@
     TVector2 GetDevXY() const { return TVector2(fDevX, fDevY); }
 
-    Double_t GetDevZdRad() const  { return fDevZd*TMath::DegToRad(); }
-    Double_t GetDevAzRad() const  { return fDevAz*TMath::DegToRad(); }
+    Double_t GetDevZdRad() const;//  { return fDevZd*TMath::DegToRad(); }
+    Double_t GetDevAzRad() const;//  { return fDevAz*TMath::DegToRad(); }
 
     ClassDef(MPointingDev, 1) //Container storing the telescope mispointing
Index: trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc	(revision 8911)
+++ trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc	(revision 8912)
@@ -115,4 +115,13 @@
 // -----------------------------------------------------------------------
 //
+//    return TMath::Hypot(fX, fY);
+//
+Float_t MSrcPosCam::GetDist() const
+{
+    return TMath::Hypot(fX, fY);
+}
+
+// -----------------------------------------------------------------------
+//
 // Get TVector2(fX, fY)
 //
Index: trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h	(revision 8911)
+++ trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h	(revision 8912)
@@ -5,4 +5,6 @@
 #include "MParContainer.h"
 #endif
+
+#include <TMath.h>
 
 class TVector2;
@@ -27,5 +29,5 @@
     void Add(const TVector2 &v);
 
-    Float_t GetDist() const { return TMath::Hypot(fX, fY); }
+    Float_t GetDist() const;
 
     Float_t GetX() const             { return fX; }
