Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 1527)
+++ trunk/MagicSoft/Mars/Changelog	(revision 1528)
@@ -1,3 +1,32 @@
                                                                   -*-*- END -*-*-
+
+ 2002/09/16: Thomas Bretz
+
+   * manalysis/MCerPhotPix.cc:
+     - shortened output
+
+   * mbase/MEvtLoop.cc:
+     - added a better progressbar support, if MReadTree or MReadMarsFile
+       exists in the Tasklist 
+
+   * mbase/MTaskList.cc:
+     - fixed a bug which caused MParList::Reset not to be called anymore
+       as soon as kCONTINUE was called once.
+
+   * mfileio/MReadTree.[h,cc]:
+     - added AddFiles member function
+
+   * mmain/MProgressBar.[h,cc]:
+     - added as a simple Progress meter for eventloops
+
+   * mmain/Makefile, mmain/MainLinkDef.h:
+     - added MProgressBar
+
+   * manalysis/MHillas.cc:
+     - removed warning in case of no photons. problems with Thomas' files.
+
+   * mbase/Makefile:
+     - added mfileio
+
 
  2002/09/16: Thomas Bretz
Index: trunk/MagicSoft/Mars/manalysis/MHillas.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MHillas.cc	(revision 1527)
+++ trunk/MagicSoft/Mars/manalysis/MHillas.cc	(revision 1528)
@@ -261,6 +261,6 @@
         const Float_t nphot = pix.GetNumPhotons();
 
-        if (nphot==0)
-            *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl;
+        //if (nphot==0)
+        //    *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl;
 
         fSize  += nphot;		             // [counter]
Index: trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MEvtLoop.cc	(revision 1527)
+++ trunk/MagicSoft/Mars/mbase/MEvtLoop.cc	(revision 1528)
@@ -84,4 +84,7 @@
 #include "MParList.h"
 #include "MTaskList.h"
+#ifdef __MARS__
+#include "MReadTree.h"       // for setting progress bar
+#endif
 
 ClassImp(MEvtLoop);
@@ -190,6 +193,19 @@
     *fLog << " events)..." << flush;
 
-    if (fProgress && maxcnt>0)
-        fProgress->SetRange(0, maxcnt);
+    if (fProgress)
+    {
+        if (maxcnt>0)
+            fProgress->SetRange(0, maxcnt);
+#ifdef __MARS__
+        else
+        {
+            MReadTree *read = (MReadTree*)fTaskList->FindObject("MReadTree");
+            if (!read)
+                read = (MReadTree*)fTaskList->FindObject("MReadMarsFile");
+            if (read)
+                fProgress->SetRange(0, read->GetEntries());
+        }
+#endif
+    }
 
     Int_t dummy = maxcnt<0 ? 0 : maxcnt;
Index: trunk/MagicSoft/Mars/mbase/MParList.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MParList.cc	(revision 1527)
+++ trunk/MagicSoft/Mars/mbase/MParList.cc	(revision 1528)
@@ -530,5 +530,5 @@
 {
     fContainer->ForEach(MParContainer, Reset)();
- }
+}
 
 // --------------------------------------------------------------------------
Index: trunk/MagicSoft/Mars/mbase/Makefile
===================================================================
--- trunk/MagicSoft/Mars/mbase/Makefile	(revision 1527)
+++ trunk/MagicSoft/Mars/mbase/Makefile	(revision 1528)
@@ -20,5 +20,5 @@
 # @endcode 
 
-INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc
+INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc -I../mfileio
 
 # @code 
