Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 2009)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 2010)
@@ -1,14 +1,41 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2003/04/25: Thomas Bretz
+
+   * mfilter/MFEnergySlope.cc:
+     - removed obsolete PostProcess
+
+   * mdatacheck/MGDisplayAdc.cc:
+     - fixed a bug which caused nothing to beeing displayed if only
+       the Hi gains where existing (Exists->HasHi)
+
+   * mhist/MH.cc:
+     - small change to GetNewPad
+
+   * mhistmc/MHMcEnergyMigration.h:
+     - fixed the includes
+
+
+
  2003/04/24: Abelardo Moralejo
 
    * macros/rootlogon.C
-     - added  gInterpreter->AddIncludePath(dir+"mhistmc");
+     - added gInterpreter->AddIncludePath(dir+"mhistmc");
+
+
 
  2003/04/24: Thomas Bretz
-    
+
+   * macros/rootlogon.C:
+     - added mimage
+
+   * macros/dohtml.C:
+     - added mhistmc
+     - added mimage
+     - added status.C
+
    * mfilter/MFCT1Supercuts.[h,cc]:
      - removed
-   
+
    * manalysis/MPadSchweizer.[h,cc]:
      - renamed arguments of SetHistograms to Mars style
@@ -22,8 +49,8 @@
    * manalysis/MSigmabarParam.h:
      - added const qualifiers to getters
-     
+
    * mfileio/MWriteRootFile.[h,cc]:
      - fixed support for UPDATE
-     
+
    * mfilter/MFEnergySlope.cc:
      - cleaned
@@ -38,4 +65,7 @@
    * mimage/MHillasSrc.[h,cc], mimage/MHHillasSrc.[h,cc]:
      - like suggested by Wolfgang: removed Head-Tail
+
+   * mbase/MEvtLoop.cc:
+     - fixed a bug in the progress bar update at the end of the loop
 
 
Index: /trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc
===================================================================
--- /trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc	(revision 2009)
+++ /trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc	(revision 2010)
@@ -304,5 +304,5 @@
 
     for (Int_t i=0; i<nhi; i++)
-        if (fHists->Exists(i))
+        if (fHists->HasHi(i))
             fHistoList->AddEntry(fHists->GetHistHi(i)->GetName(), i+1);
 
@@ -327,8 +327,10 @@
     fCanvas->Clear();
 
-    if (!fHists->Exists(selected-1))
+    const Int_t idx = selected-1;
+
+    if (!fHists->HasHi(idx))
         return;
 
-    const Int_t type = fHists->HasLo(selected-1) ? fHistoType : M_RADIO_HI;
+    const Int_t type = fHists->HasLo(idx) ? fHistoType : M_RADIO_HI;
 
     switch (type)
@@ -340,7 +342,7 @@
         fCanvas->cd();
         if (type==M_RADIO_HI)
-            fHists->DrawHi(selected-1);
+            fHists->DrawHi(idx);
         else
-            fHists->DrawLo(selected-1);
+            fHists->DrawLo(idx);
         break;
 
@@ -349,8 +351,8 @@
 
         fCanvas->cd(1);
-        fHists->DrawHi(selected-1);
+        fHists->DrawHi(idx);
 
         fCanvas->cd(2);
-        fHists->DrawLo(selected-1);
+        fHists->DrawLo(idx);
         break;
     }
Index: /trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc
===================================================================
--- /trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc	(revision 2009)
+++ /trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc	(revision 2010)
@@ -178,10 +178,2 @@
 }
 
-// --------------------------------------------------------------------------
-//
-//  Postprocess all filters.
-//
-Bool_t MFEnergySlope::PostProcess()
-{
-    return kTRUE;
-}
Index: /trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
===================================================================
--- /trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 2009)
+++ /trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 2010)
@@ -486,6 +486,6 @@
         max = event.GetNumPhotonsMax(fGeomCam);
 
-        if (max < 1.)
-            max = 1.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
@@ -531,6 +531,6 @@
         max = event.GetMeanMax(fGeomCam);
 
-        if (max < 20.)
-            max = 20.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
@@ -569,6 +569,6 @@
         max = event.GetErrorPhotMax(fGeomCam);
 
-        if (max < 20.)
-            max = 20.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
Index: /trunk/MagicSoft/Mars/mhist/MH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 2009)
+++ /trunk/MagicSoft/Mars/mhist/MH.cc	(revision 2010)
@@ -725,5 +725,5 @@
     TString str(opt);
 
-    if (!str.Contains("nonew", TString::kIgnoreCase) || !gPad)
+    if (!str.Contains("nonew", TString::kIgnoreCase))
         return NULL;
 
Index: /trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h
===================================================================
--- /trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h	(revision 2009)
+++ /trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h	(revision 2010)
@@ -7,9 +7,5 @@
 
 #ifndef ROOT_TH3
-#include "TH3.h"
-#endif
-
-#ifndef ROOT_TH2
-#include "TH2.h"
+#include <TH3.h>
 #endif
 
