Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7837)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7838)
@@ -18,4 +18,20 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2006/08/03 Thomas Bretz
+
+   * mbase/MTask.cc:
+     - do not print number of executions if it is (UInt_t)-1
+
+   * mfileio/MReadReports.cc:
+     - do not allocate a MTime container anymore. This can be done
+       by root automatically which has the advantage that we don't
+       have to care about its deletion
+     - added some more debug output, just in case...
+
+   * mfileio/MReadTree.cc:
+     - fixed a typo in a comment
+
+
 
  2006/08/02 Markus Meyer
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 7837)
+++ trunk/MagicSoft/Mars/NEWS	(revision 7838)
@@ -23,4 +23,6 @@
 
    - merpp: didn't recognize files with the extension .raw.gz - fixed.
+
+   - callisto: Updated absolute calibration constants (muon calibration)
 
    - callisto: Fixed a bug regarding the use of the QE which doesn't
Index: trunk/MagicSoft/Mars/mbase/MTask.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTask.cc	(revision 7837)
+++ trunk/MagicSoft/Mars/mbase/MTask.cc	(revision 7838)
@@ -440,5 +440,8 @@
     if (HasStreamId())
         *fLog << GetStreamId() << ":";
-    *fLog << GetDescriptor() << "\t" << dec << GetNumExecutions();
+    *fLog << GetDescriptor();
+
+    if (GetNumExecutions()!=(UInt_t)-1)
+        *fLog << "\t" << dec << GetNumExecutions();
 
     if (fFilter)
Index: trunk/MagicSoft/Mars/mfileio/MReadReports.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MReadReports.cc	(revision 7837)
+++ trunk/MagicSoft/Mars/mfileio/MReadReports.cc	(revision 7838)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz, 11/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2003
+!   Copyright: MAGIC Software Development, 2000-2006
 !
 !
@@ -104,8 +104,5 @@
     TIter NextC(fChains);
     while ((o=NextC()))
-    {
         delete *GetTime((TChain*)o);
-        delete  GetTime((TChain*)o);
-    }
 
     delete fTrees;
@@ -297,11 +294,12 @@
         //
         MTime **tx = new MTime*;
-        *tx = new MTime;
+        *tx = 0;//new MTime;
 
         TChain *c=new TChain(tree->GetName());
+
         c->SetBranchStatus("*", 0);
         c->SetBranchAddress(tn, tx);
-        tn+="*";
-        c->SetBranchStatus(tn, 1);
+        c->SetBranchStatus(tn2, 1);
+
         c->Add((TChain*)tree->fChain);
         c->GetEntry(0);
@@ -436,9 +434,10 @@
         }
 
-        *fLog << dbg << "Removing chain " << chain->GetName() << " from list." << endl;
+        *fLog << dbg << "Removing chain " << chain->GetName() << " from list" << flush;
 
         delete *GetTime(chain);        // Delete MTime*
-        delete  GetTime(chain);        // Delete MTime-instance
+        *fLog << "." << flush;
         delete fChains->Remove(chain); // Remove chain from TList
+        *fLog << "." << flush;
 
         // FIXME: Maybe MTaskList should have a member function to
@@ -448,5 +447,7 @@
         // corresponds to the correct task in the list.
         const_cast<TList*>(fTrees->GetList())->Remove(task);
+        *fLog << "." << flush;
         const_cast<TList*>(fTrees->GetList())->AddLast(task);
+        *fLog << "done." << endl;
     }
 
Index: trunk/MagicSoft/Mars/mfileio/MReadTree.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 7837)
+++ trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 7838)
@@ -713,5 +713,5 @@
     //
     // It seems, that TFile and TTree are not completely independant if
-    // many times the same file is openes (MReadReports) and some of
+    // many times the same file is opened (MReadReports) and some of
     // the files in the chains don't have one tree. TChain::fTreeNumber
     // is already set before LoadTree from GetFile is called and
