Index: trunk/MagicSoft/Mars/mhist/MHEffectiveOnTime.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHEffectiveOnTime.cc	(revision 4920)
+++ trunk/MagicSoft/Mars/mhist/MHEffectiveOnTime.cc	(revision 4923)
@@ -39,8 +39,10 @@
 
 #include <TF1.h>
+#include <TMinuit.h>
+#include <TRandom.h>
+
 #include <TLatex.h>
 #include <TCanvas.h>
-#include <TMinuit.h>
-#include <TRandom.h>
+#include <TPaveStats.h>
 
 #include "MTime.h"
@@ -486,4 +488,5 @@
 {
     TH1D *h=0;
+    TPaveStats *st=0;
 
     TString o(opt);
@@ -491,4 +494,24 @@
     {
         TVirtualPad *pad = gPad;
+
+        for (int x=0; x<2; x++)
+            for (int y=0; y<3; y++)
+            {
+                TVirtualPad *p=gPad->GetPad(x+1)->GetPad(y+1);
+                if ((st = (TPaveStats*)p->GetPrimitive("stats")))
+                {
+                    if (st->GetOptStat()==11)
+                        continue;
+
+                    const Double_t y1 = st->GetY1NDC();
+                    const Double_t y2 = st->GetY2NDC();
+                    const Double_t x1 = st->GetX1NDC();
+                    const Double_t x2 = st->GetX2NDC();
+
+                    st->SetY1NDC((y2-y1)/3+y1);
+                    st->SetX1NDC((x2-x1)/3+x1);
+                    st->SetOptStat(11);
+                }
+            }
 
         pad->GetPad(1)->cd(1);
@@ -568,4 +591,5 @@
     gPad->SetBorderMode(0);
     fHProbTime.Draw();
+    AppendPad("paint");
 
     pad->GetPad(1)->cd(3);
