Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 4276)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 4277)
@@ -18,4 +18,10 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/06/04: Markus Gaug
+
+   * mcalib/MHGausEvents.cc
+     - some small modifications in the way the axes are drawn and their
+       titles are drawn.
 
  2004/06/03: Martin Merck
Index: /trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc	(revision 4276)
+++ /trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc	(revision 4277)
@@ -111,4 +111,6 @@
 #include "MCalibrationPedCam.h"
 
+#include "TH1.h"
+
 ClassImp(MHPedestalCam);
 
@@ -121,4 +123,5 @@
 // - fExtractHiGainSlices to 0.
 // - fExtractLoGainSlices to 0.
+// - the event frequency to 1200 Hz.
 //
 MHPedestalCam::MHPedestalCam(const char *name, const char *title) 
@@ -128,4 +131,5 @@
     fTitle = title ? title : "";
 
+    SetPulserFrequency(1200);
 }
 
@@ -267,8 +271,9 @@
                                       "Average Pedestals area idx ");
 
-        InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices);
-
         GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx ");
         GetAverageHiGainArea(j).SetNbins(fAverageNbins);
+
+        InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices);
+
       }
   }
@@ -284,8 +289,9 @@
                                       "Pedestals average Area idx ");
 
-        InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices);
-
         GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx ");
         GetAverageLoGainArea(j).SetNbins(fAverageNbins);
+
+        InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices);
+
       }
   }
@@ -301,8 +307,9 @@
                                         "Pedestals average sector ");
 
-          InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices);
-
           GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector ");
           GetAverageHiGainSector(j).SetNbins(fAverageNbins);
+
+          InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices);
+
       }
   }
@@ -318,8 +325,9 @@
                                         "Pedestals average sector ");
 
+          GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector ");
+          GetAverageLoGainSector(j).SetNbins(fAverageNbins);
+
           InitPedHists((MHPedestalPix&)GetAverageLoGainSector(j),j,fExtractLoGainSlices);
           
-          GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector ");
-          GetAverageLoGainSector(j).SetNbins(fAverageNbins);
       }
   }
@@ -347,8 +355,8 @@
   hist.SetNSlices(nslices);
   hist.SetProbLimit(0.);
-}
-
-
-
+
+  TH1F *h = hist.GetHGausHist();
+  h->SetTitle( Form("%s%s", h->GetTitle()," Runs: "));
+}
 // -------------------------------------------------------------------------------
 //
Index: /trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc	(revision 4276)
+++ /trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc	(revision 4277)
@@ -71,4 +71,5 @@
 // Initializes:
 // - fNSlices to 1
+// - fProbLimit to 0.01
 //
 MHPedestalPix::MHPedestalPix(const char *name, const char *title) 
@@ -82,4 +83,6 @@
   SetFirst( fgChargeFirst );
   SetLast(  fgChargeLast  );
+
+  SetProbLimit(0.01);
 
   // Create a large number of bins, later we will rebin
@@ -111,5 +114,5 @@
   if (fNSlices <= 0)
     return;
-  
+
   const Float_t sqslices = TMath::Sqrt(fNSlices);
 
Index: /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 4276)
+++ /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 4277)
@@ -157,4 +157,5 @@
   fHGausHist.UseCurrentStyle();
   fHGausHist.SetDirectory(NULL);
+  fHGausHist.GetYaxis()->CenterTitle();
 }
 
@@ -388,4 +389,6 @@
                                     "Probability of Power occurrance");
   fHPowerProbability->SetXTitle("P(f)");
+  fHPowerProbability->SetYTitle("Counts");
+  fHPowerProbability->GetYaxis()->CenterTitle();
   fHPowerProbability->SetDirectory(NULL);
   //
@@ -433,4 +436,6 @@
   fGraphEvents->SetTitle("Evolution of Events with time");
   fGraphEvents->GetXaxis()->SetTitle((fEventFrequency) ? "Time [s]" : "Event Nr.");
+  fGraphEvents->GetYaxis()->SetTitle(fHGausHist.GetXaxis()->GetTitle());
+  fGraphEvents->GetYaxis()->CenterTitle();
 }
 
@@ -451,4 +456,6 @@
   fGraphPowerSpectrum->GetXaxis()->SetTitle((fEventFrequency) ? "Frequency [Hz]" : "Frequency");
   fGraphPowerSpectrum->GetYaxis()->SetTitle("P(f)");
+  fGraphPowerSpectrum->GetYaxis()->CenterTitle();
+
 }
 
