Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 7067)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 7068)
@@ -21,4 +21,12 @@
 
                                                  -*-*- END OF LINE -*-*-
+ 2005/05/19 Markus Meyer
+
+   * mmuon/MHMuonPar.cc:
+     - add a second integral in the function paint, which is 
+       plotted in the MStatusDisplay
+
+
+
  2005/05/19 Daniela Dorner
 
Index: /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc
===================================================================
--- /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc	(revision 7067)
+++ /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc	(revision 7068)
@@ -204,4 +204,6 @@
     fHistSize.Draw();
 
+    AppendPad("pad3");
+
     pad->cd(4);
     gPad->SetBorderMode(0);
@@ -219,19 +221,36 @@
 void MHMuonPar::Paint(Option_t *opt)
 {
-    if (TString(opt)!=TString("pad4"))
-        return;
-
-    const Double_t lolim = 0.7;
-    const Double_t uplim = 1.2;
-
-    const Int_t bin1 = fHistBroad.GetXaxis()->FindFixBin(lolim);
-    const Int_t bin2 = fHistBroad.GetXaxis()->FindFixBin(uplim);
-
-    const TString txt = Form("\\Sigma_{%.2f\\circ}^{%.2f\\circ} = %.3f", lolim,
-                             uplim, fHistBroad.Integral(bin1, bin2));
-
-    TLatex text(0.57, 0.93, txt);
-    text.SetBit(TLatex::kTextNDC);
-    text.SetTextSize(0.055);
-    text.Paint();
-}
+    if (TString(opt)==TString("pad4"))
+    {
+        const Double_t lolim = 0.7;
+        const Double_t uplim = 1.2;
+
+        const Int_t bin1 = fHistBroad.GetXaxis()->FindFixBin(lolim);
+        const Int_t bin2 = fHistBroad.GetXaxis()->FindFixBin(uplim);
+
+        const TString txt = Form("\\Sigma_{%.2f\\circ}^{%.2f\\circ} = %.3f", lolim,
+                                 uplim, fHistBroad.Integral(bin1, bin2));
+
+        TLatex text(0.57, 0.93, txt);
+        text.SetBit(TLatex::kTextNDC);
+        text.SetTextSize(0.055);
+        text.Paint();
+    }
+
+    if (TString(opt)==TString("pad3"))
+    {
+        const Double_t lolim = 0.7;
+        const Double_t uplim = 1.2;
+
+        const Int_t bin1 = fHistSize.GetXaxis()->FindFixBin(lolim);
+        const Int_t bin2 = fHistSize.GetXaxis()->FindFixBin(uplim);
+
+        const TString txt = Form("\\Sigma_{%.2f\\circ}^{%.2f\\circ} = %.f", lolim,
+                                 uplim, fHistSize.Integral(bin1, bin2));
+
+        TLatex text(0.47, 0.93, txt);
+        text.SetBit(TLatex::kTextNDC);
+        text.SetTextSize(0.055);
+        text.Paint();
+    }
+}
