Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 894)
+++ trunk/MagicSoft/Mars/Changelog	(revision 895)
@@ -15,4 +15,7 @@
        We cannot use GetBranch()->SetAddress() we have to use
        SetBranchAddress.
+       
+   * macros/MagicHillas.C:
+     - changed to new stilish histogram fillers.
 
 
Index: trunk/MagicSoft/Mars/macros/MagicHillas.C
===================================================================
--- trunk/MagicSoft/Mars/macros/MagicHillas.C	(revision 894)
+++ trunk/MagicSoft/Mars/macros/MagicHillas.C	(revision 895)
@@ -51,12 +51,16 @@
     //   CalEvents:  Calibration Events
     //
-    MReadTree read("Events", "data/my_file.root");
-    // read.AddFile("data/test.root");
+    MReadTree read("Events", "data/cer000020.root");
+    // read.AddFile("data/cer000019.root");
 
-    MCerPhotCalc  ncalc;
-    MImgCleanStd  clean;
-    MHillasCalc   hcalc;
-    MFillHHillas  hfill;
-    MFillHStarMap sfill;
+    MCerPhotCalc    ncalc;
+    MImgCleanStd    clean;
+    MHillasCalc     hcalc;
+    MFillH          hfill("MHillas", "MHHillas");
+    MFillHStarMap   sfill("MHillas", "MHStarMap");
+    MWriteRootFile write("hillas.root");
+    write.AddContainer("MHillas");
+    write.AddContainer("MHHillas");
+    write.AddContainer(smap);
 
     tlist.AddToList(&read);
@@ -66,4 +70,5 @@
     tlist.AddToList(&hfill);
     tlist.AddToList(&sfill);
+    tlist.AddToList(&write);
 
     //
@@ -76,5 +81,6 @@
     // Execute your analysis
     //
-    evtloop.Eventloop();
+    if (!evtloop.Eventloop())
+        return;
 
     //
Index: trunk/MagicSoft/Mars/mbase/MReadTree.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 894)
+++ trunk/MagicSoft/Mars/mbase/MReadTree.cc	(revision 895)
@@ -108,6 +108,8 @@
 //
 //  If you want to read the given tree over several files you must add
-//  the files here before PreProcess is called. Be carfull: This does
-//  only work if the trees in the files containing the same branches yet.
+//  the files here before PreProcess is called. Be careful: If the tree
+//  doesn't have the same contents (branches) it may confuse your
+//  program (trees which are are not existing in later files are not read
+//  anymore, tree wich are not existing in the first file are never read)
 //
 /*Int_t*/ void MReadTree::AddFile(const char *fname)
@@ -175,5 +177,4 @@
             continue;
 
-
         //
         // Create a pointer to the pointer to the object in which the
@@ -202,5 +203,4 @@
         // the actual branch should be stored - enable branch.
         //
-        // FIXME: is it correct, that the pointer is deleted immediatly afterwards?
         fChain->SetBranchAddress(name, pcont);
     }
