Index: trunk/MagicSoft/Mars/macros/CT1Hillas.C
===================================================================
--- trunk/MagicSoft/Mars/macros/CT1Hillas.C	(revision 766)
+++ trunk/MagicSoft/Mars/macros/CT1Hillas.C	(revision 768)
@@ -35,12 +35,11 @@
     // Now setup the tasks and tasklist:
     //
-    //  1) read in the data from a ct1 ascii file
-    //  2) clean the image
-    //  3) calculate hillas
-    //  4) fill the hillas into the histograms
+    //  1) read in the data from a ct1 ascii file   MCTReadAscii
+    //  2) clean the image                          MImgCleanStd
+    //  3) calculate hillas                         MHillasCalc
+    //  4) fill the hillas into the histograms      MFillHHillas
     //
-    MCT1ReadAscii read;
-    read.AddFile("CT1_99_off1.dat");
-    read.AddFile("CT1_99_off2.dat");
+    MCT1ReadAscii read("data/MCCT1_97_ga45.dat");
+    // read.AddFile("data/MCCT1_97_ga20.dat");
 
     MImgCleanStd  clean;
Index: trunk/MagicSoft/Mars/macros/MagicHillas.C
===================================================================
--- trunk/MagicSoft/Mars/macros/MagicHillas.C	(revision 766)
+++ trunk/MagicSoft/Mars/macros/MagicHillas.C	(revision 768)
@@ -38,11 +38,18 @@
     // Now setup the tasks and tasklist:
     //
-    //  1) read in the data from a ct1 ascii file
+    //  1) read in the data from a magic root file   MReadTree
     //  2) clean the image
     //  3) calculate hillas
     //  4) fill the hillas into the histograms
     //
-    MReadTree    read("Events", "oscar_protons.root");
-    read.AddFile("test.root");
+
+    //
+    // The first argument is the tree you want to read.
+    //   Events:     Cosmic ray events
+    //   PedEvents:  Pedestal Events
+    //   CalEvents:  Calibration Events
+    //
+    MReadTree read("Events", "data/my_file.root");
+    // read.AddFile("data/test.root");
 
     MCerPhotCalc  ncalc;
Index: trunk/MagicSoft/Mars/mbase/MReadTree.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 766)
+++ trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 768)
@@ -63,5 +63,5 @@
 //
 MReadTree::MReadTree(const char *tname, const char *fname,
-                     const char *name, const char *title)
+                     const char *name, const char *title) : fNumEntry(0)
 {
     *fName  = name  ? name  : "MReadTree";
@@ -131,9 +131,4 @@
 
     //
-    // set pointer to first event
-    //
-    fNumEntry   = 0;
-
-    //
     // output logging information
     //
@@ -200,5 +195,5 @@
     // check for end of file
     //
-    if (fNumEntry==fNumEntries)
+    if (fNumEntry>=fNumEntries)
         return kFALSE;
 
@@ -272,4 +267,7 @@
 // this function makes Process() read event number nr next
 //
+// Remark: You can use this function to set the event number from which
+//         you want to start reading.
+//
 Bool_t MReadTree::SetEventNum(UInt_t nr)
 {
