Index: trunk/Mars/mhbase/MH3.cc
===================================================================
--- trunk/Mars/mhbase/MH3.cc	(revision 9858)
+++ trunk/Mars/mhbase/MH3.cc	(revision 10056)
@@ -214,4 +214,5 @@
     fScale[1] = 1;
     fScale[2] = 1;
+    fScale[3] = 1;
 
     fConversion = NULL;
@@ -789,5 +790,5 @@
     {
     case -3:
-        t = fData[3]->GetValue();
+        t = fData[3]->GetValue()*fScale[3];
     case -2:
     case  3:
@@ -800,6 +801,6 @@
     }
 
-    if (fData[4])
-        w *= fData[4]->GetValue();
+    if (fWeight)
+        w *= fWeight->GetValue();
 
     // If label option is set, convert value to label
@@ -1266,4 +1267,6 @@
     switch (fDimension)
     {
+    case -3:
+        h->SetScaleZ(fScale[3]);
     case -2:
     case 3:
@@ -1276,6 +1279,6 @@
     }
 
-    if (fData[4])
-        h->SetWeight(fData[4]->GetRule());
+    if (fWeight)
+        h->SetWeight(fWeight->GetRule());
 
     return h;
Index: trunk/Mars/mhbase/MH3.h
===================================================================
--- trunk/Mars/mhbase/MH3.h	(revision 9858)
+++ trunk/Mars/mhbase/MH3.h	(revision 10056)
@@ -71,5 +71,5 @@
     MData      *fWeight;         // Additional weight
     MBinning   *fBins[3];        // Binning set omitting the parlist access
-    Double_t    fScale[3];       // Scale for the three axis (eg unit)
+    Double_t    fScale[4];       // Scale for the three axis (eg unit)
     Byte_t      fStyleBits;      // Set the range of a histogram automatically in Finalize
 
@@ -100,5 +100,6 @@
     void SetScaleY(Double_t scale) { fScale[1] = scale; }
     void SetScaleZ(Double_t scale) { fScale[2] = scale; }
-    void SetScale(Double_t x, Double_t y=1, Double_t z=2) { SetScaleX(x); SetScaleY(y); SetScaleZ(z); }
+    void SetScaleT(Double_t scale) { fScale[3] = scale; }
+    void SetScale(Double_t x, Double_t y=1, Double_t z=1, Double_t t=1) { SetScaleX(x); SetScaleY(y); SetScaleZ(z); SetScaleT(t); }
 
     void SetLogx(Bool_t b=kTRUE) { b ? fHist->SetBit(kIsLogx) : fHist->ResetBit(kIsLogx); }
