Index: trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.cc
===================================================================
--- trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.cc	(revision 7714)
+++ trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.cc	(revision 7749)
@@ -33,6 +33,4 @@
 #include "MHSimulatedAnnealing.h"
 
-#include <TVector.h>
-#include <TMatrix.h>
 #include <TObjArray.h>
 
Index: trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.h
===================================================================
--- trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.h	(revision 7714)
+++ trunk/MagicSoft/Mars/mtools/MHSimulatedAnnealing.h	(revision 7749)
@@ -5,5 +5,4 @@
 //  MHSimulatedAnnealing
 //
-//  Output container of MSimulatedAnnealing
 ///////////////////////////////////////////////////////////////////////////////
 #ifndef MARS_MH
@@ -15,6 +14,12 @@
 #endif
 
-class TMatrix;
-class TVector;
+#ifndef ROOT_TMatrix
+#include <TMatrix.h>
+#endif
+
+#ifndef ROOT_TVector
+#include <TVector.h>
+#endif
+
 
 class MHSimulatedAnnealing : public MH
