Index: trunk/MagicSoft/Mars/mbase/BaseIncl.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/BaseIncl.h	(revision 7179)
+++ trunk/MagicSoft/Mars/mbase/BaseIncl.h	(revision 7181)
@@ -1,3 +1,5 @@
 #ifndef __CINT__
+
+#include <TVector3.h>
 
 /*
Index: trunk/MagicSoft/Mars/mbase/MMath.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MMath.cc	(revision 7179)
+++ trunk/MagicSoft/Mars/mbase/MMath.cc	(revision 7181)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz  3/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2004
+!   Copyright: MAGIC Software Development, 2000-2005
 !
 !
@@ -26,7 +26,13 @@
 //
 // MMath
+//
+// Mars - Math package (eg Significances, etc)
 //
 /////////////////////////////////////////////////////////////////////////////
 #include "MMath.h"
+
+#ifndef ROOT_TVector3
+#include <TVector3.h>
+#endif
 
 // --------------------------------------------------------------------------
Index: trunk/MagicSoft/Mars/mbase/MMath.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MMath.h	(revision 7179)
+++ trunk/MagicSoft/Mars/mbase/MMath.h	(revision 7181)
@@ -3,9 +3,8 @@
 
 #ifndef ROOT_TMath
-#include <TMath.h>
+#include <TMath.h> // TMath is included here for convinience
 #endif
-#ifndef ROOT_TVector3
-#include <TVector3.h>
-#endif
+
+class TVector3;
 
 namespace MMath
@@ -24,5 +23,9 @@
     Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x);
     Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
+
+    Double_t Sgn(Double_t d);
 }
 
+inline Double_t MMath::Sgn(Double_t d) { return d<0 ? -1 : 1; }
+
 #endif
