Index: /trunk/MagicSoft/Mars/mbase/MReadTree.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 1288)
+++ /trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 1289)
@@ -455,8 +455,14 @@
         MParContainer **pcont= new MParContainer*;
 
+#if ROOT_VERSION_CODE < ROOT_VERSION(3,02,06)
+        const char *classname = oname;
+#else
+        const char *classname = brnahc->GetClassName();
+#endif
+
         //
         // check if object is existing in the list
         //
-        *pcont=pList->FindCreateObj(branch->GetClassName(), oname);
+        *pcont=pList->FindCreateObj(classname, oname);
 
         if (!*pcont)
@@ -466,5 +472,5 @@
             // we cannot proceed reading this branch
             //
-            *fLog << warn << dbginf << "Warning: Class '" << branch->GetClassName();
+            *fLog << warn << dbginf << "Warning: Class '" << classname;
             *fLog << "' for " << oname << " not existing in dictionary. Branch skipped." << endl;
             DisableSubBranches(branch);
@@ -487,5 +493,5 @@
 
         *fLog << inf << "Master branch address " << bname << " [";
-        *fLog << branch->GetClassName() << "] setup for reading." << endl;
+        *fLog << classname << "] setup for reading." << endl;
 
         //*fLog << "Branch " << bname << " autodel: " << (int)branch->IsAutoDelete() << endl;
