Index: /trunk/MagicSoft/Mars/mhist/MHMatrix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHMatrix.cc	(revision 1710)
+++ /trunk/MagicSoft/Mars/mhist/MHMatrix.cc	(revision 1711)
@@ -672,4 +672,21 @@
     }
 */
-
-}
+}
+
+// --------------------------------------------------------------------------
+//
+// overload TOject member function read 
+// in order to reset the name of the object read
+//
+Int_t MHMatrix::Read(const char *name)
+{
+  Int_t ret = TObject::Read(name);
+  SetName(name);
+
+  return ret;
+}
+
+// --------------------------------------------------------------------------
+
+
+
Index: /trunk/MagicSoft/Mars/mhist/MHMatrix.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHMatrix.h	(revision 1710)
+++ /trunk/MagicSoft/Mars/mhist/MHMatrix.h	(revision 1711)
@@ -41,4 +41,5 @@
 
     Bool_t SetupFill(const MParList *pList);
+
     Bool_t Fill(const MParContainer *par);
     Bool_t Finalize();
@@ -91,6 +92,9 @@
     void ReduceNumberOfRows(UInt_t numrows, const TString opt);
 
+    Int_t Read(const char *name);
+
     ClassDef(MHMatrix, 1) // Multidimensional Matrix to store events
 };
 
 #endif
+
