Index: /trunk/MagicSoft/Mars/mhbase/MH3.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 8081)
+++ /trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 8082)
@@ -69,4 +69,11 @@
 //   plist.AddToList(&bins);
 //
+//
+// Class Version 2:
+// ----------------
+//   - MDataChain *fData[3];        // Object from which the data is filled
+//   + MData      *fData[3];        // Object from which the data is filled
+//
+//
 /////////////////////////////////////////////////////////////////////////////
 #include "MH3.h"
@@ -89,5 +96,5 @@
 #include "MParList.h"
 #include "MBinning.h"
-#include "MDataChain.h"
+#include "MDataPhrase.h"
 
 ClassImp(MH3);
@@ -148,5 +155,5 @@
     fHist = new TH1D;
 
-    fData[0] = new MDataChain(memberx);
+    fData[0] = new MDataPhrase(memberx);
     fData[1] = NULL;
     fData[2] = NULL;
@@ -178,9 +185,9 @@
     {
     case 3:
-        fData[2] = new MDataChain(h1.GetZaxis()->GetTitle());
-    case 2:
-        fData[1] = new MDataChain(h1.GetYaxis()->GetTitle());
-    case 1:
-        fData[0] = new MDataChain(h1.GetXaxis()->GetTitle());
+        fData[2] = new MDataPhrase(h1.GetZaxis()->GetTitle());
+    case 2:
+        fData[1] = new MDataPhrase(h1.GetYaxis()->GetTitle());
+    case 1:
+        fData[0] = new MDataPhrase(h1.GetXaxis()->GetTitle());
     }
 
@@ -207,6 +214,6 @@
     fHist = new TH2D;
 
-    fData[0] = new MDataChain(memberx);
-    fData[1] = new MDataChain(membery);
+    fData[0] = new MDataPhrase(memberx);
+    fData[1] = new MDataPhrase(membery);
     fData[2] = NULL;
 
@@ -234,7 +241,7 @@
     fHist = new TH3D;
 
-    fData[0] = new MDataChain(memberx);
-    fData[1] = new MDataChain(membery);
-    fData[2] = new MDataChain(memberz);
+    fData[0] = new MDataPhrase(memberx);
+    fData[1] = new MDataPhrase(membery);
+    fData[2] = new MDataPhrase(memberz);
 
     fName  = gsDefName;
Index: /trunk/MagicSoft/Mars/mhbase/MH3.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 8081)
+++ /trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 8082)
@@ -11,5 +11,5 @@
 class TH1;
 class TMethodCall;
-class MDataChain;
+class MData;
 
 class MH3 : public MH
@@ -23,5 +23,5 @@
     Int_t       fDimension;      // Number of dimensions of histogram
     TH1        *fHist;           // Histogram to fill
-    MDataChain *fData[3];        // Object from which the data is filled
+    MData      *fData[3];        // Object from which the data is filled
     Double_t    fScale[3];       // Scale for the three axis (eg unit)
 
@@ -86,5 +86,5 @@
     void Paint(Option_t *opt="");
 
-    ClassDef(MH3, 1) // Generalized 1/2/3D-histogram for Mars variables
+    ClassDef(MH3, 2) // Generalized 1/2/3D-histogram for Mars variables
 };
 
Index: /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc	(revision 8081)
+++ /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc	(revision 8082)
@@ -50,4 +50,12 @@
 // SetMaxPts(-1) disables this feature.
 //
+//
+// Class Version 2:
+// ----------------
+//  + MData      *fData;      // Object from which the data is filled
+//  - MDataChain *fData;      // Object from which the data is filled
+//  + MData      *fError;     // Object from which the error is filled
+//  - MDataChain *fError;     // Object from which the error is filled
+//
 /////////////////////////////////////////////////////////////////////////////
 #include "MHVsTime.h"
@@ -67,5 +75,5 @@
 #include "MTime.h"
 #include "MParList.h"
-#include "MDataChain.h"
+#include "MDataPhrase.h"
 #include "MRawEvtHeader.h"
 
@@ -80,5 +88,5 @@
 //
 // Default constructor. For more informations about a valid rule
-// see MDataChain.
+// see MDataPhrase.
 //
 MHVsTime::MHVsTime(const char *rule, const char *error)
@@ -92,8 +100,8 @@
         return;
 
-    fData = new MDataChain(rule);
+    fData = new MDataPhrase(rule);
 
     if (error)
-        fError = new MDataChain(error);
+        fError = new MDataPhrase(error);
 
     fGraph = error ? new TGraphErrors : new TGraph;
@@ -141,5 +149,5 @@
 // --------------------------------------------------------------------------
 //
-// PreProcess the MDataChain. Create a new TGraph. Delete an old one if
+// PreProcess the MDataPhrase. Create a new TGraph. Delete an old one if
 // already allocated.
 //
Index: /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h	(revision 8081)
+++ /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h	(revision 8082)
@@ -11,5 +11,5 @@
 
 class TGraph;
-class MDataChain;
+class MData;
 
 class MHVsTime : public MH
@@ -22,6 +22,6 @@
     // Could be const but root < 3.02/06 doesn't like this...
     TGraph     *fGraph;     // Histogram to fill
-    MDataChain *fData;      // Object from which the data is filled
-    MDataChain *fError;     // Object from which the error is filled
+    MData      *fData;      // Object from which the data is filled
+    MData      *fError;     // Object from which the error is filled
     Double_t    fScale;     // Scale for axis (eg unit)
     Int_t       fMaxPts;    // Maximum number of data points
@@ -78,5 +78,5 @@
     void SetMaxPts(Int_t n) { fMaxPts=n; }
 
-    ClassDef(MHVsTime, 1) // Generalized 1/2/3D-histogram for Mars variables
+    ClassDef(MHVsTime, 2) // Generalized 1/2/3D-histogram for Mars variables
 };
 
