Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7681)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7682)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2006/05/03 Thomas Bretz
+
+   * Makefile.rules:
+     - added new option zdiff
+
+
 
  2006/05/02 Thomas Bretz
Index: trunk/MagicSoft/Mars/Makefile.rules
===================================================================
--- trunk/MagicSoft/Mars/Makefile.rules	(revision 7681)
+++ trunk/MagicSoft/Mars/Makefile.rules	(revision 7682)
@@ -95,2 +95,5 @@
 diff:
 	@cvs diff | grep -v "^? " > mars.diff
+
+zdiff:
+	@cvs -z9 diff | grep -v "^? " > mars.diff
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 7681)
+++ trunk/MagicSoft/Mars/NEWS	(revision 7682)
@@ -2,4 +2,7 @@
 
  *** Version  <cvs>
+
+   - general: Added a new option "zdiff" to the Makefile which runs
+     "cvs diff" as "make diff" would do, but with compression
 
    - general: accelerated MTFillMatrix (used for eample in all training
@@ -65,4 +68,7 @@
      trigger (including the software trigger)
 
+   - MTFillMatrix, sponde: by skipping some obsolete calles in the
+     eventloops the loop could be accelerated by ~20%
+
 
 
@@ -125,6 +131,6 @@
      applied with this distrbution to the off-data.
 
-   - ganymed: by skipping some obsolete calles in the eventloop the first
-     and second loop could be accelerated by ~20%
+   - ganymed: by skipping some obsolete calles in the eventloop the
+     first and second loop could be accelerated by ~20%
 
    - ganymed: The default in ganymed_onoff.rc is now to determin the source
Index: trunk/MagicSoft/Mars/mbase/MTaskList.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 7681)
+++ trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 7682)
@@ -314,4 +314,28 @@
 // --------------------------------------------------------------------------
 //
+// Add all objects in list to the tasklist. If some of them do not
+// inherit from MTask return kFALSE, also if AddToList returns an error
+// for one of the tasks
+//
+Bool_t MTaskList::AddToList(const TList &list)
+{
+    TIter Next(&list);
+    TObject *obj=0;
+    while ((obj=Next()))
+    {
+        if (!obj->InheritsFrom(MTask::Class()))
+        {
+            *fLog << err << "ERROR - Object " << obj->GetName() << " doesn't inherit from MTask..." << endl;
+            return kFALSE;
+        }
+
+        if (!AddToList(obj))
+            return kFALSE;
+    }
+    return kTRUE;
+}
+
+// --------------------------------------------------------------------------
+//
 //  Find an object in the list.
 //  'name' is the name of the object you are searching for.
Index: trunk/MagicSoft/Mars/mbase/MTaskList.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MTaskList.h	(revision 7681)
+++ trunk/MagicSoft/Mars/mbase/MTaskList.h	(revision 7682)
@@ -47,4 +47,5 @@
     Bool_t AddToListAfter(MTask *task, const MTask *where, const char *tType="All");
     Bool_t AddToList(MTask *task, const char *tType="All");
+    Bool_t AddToList(const TList &list);
 
     void SetSerialNumber(Byte_t num);
Index: trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
===================================================================
--- trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc	(revision 7681)
+++ trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc	(revision 7682)
@@ -28,4 +28,9 @@
 //  MHCollectionArea
 //
+//  Class Version 2:
+//  ----------------
+//   + added //! to fMcEvt which was missing before
+//
+//
 //////////////////////////////////////////////////////////////////////////////
 #include "MHCollectionArea.h" 
@@ -59,5 +64,5 @@
 //
 MHCollectionArea::MHCollectionArea(const char *name, const char *title)
-  : fMcEvt(0), fEnergy(0), fMcAreaRadius(300.), fIsExtern(kFALSE)
+  : fMcEvt(0), /*fEnergy(0),*/ fMcAreaRadius(300.), fIsExtern(kFALSE)
 { 
     //   initialize the histogram for the distribution r vs E
@@ -163,5 +168,5 @@
         return kFALSE;
     }
-
+    /*
     fEnergy = (MParameterD*)pl->FindObject("MEnergyEst", "MParameterD");
     if (!fEnergy)
@@ -170,5 +175,5 @@
         return kFALSE;
     }
-
+    */
     MBinning binst, binse;
     binst.SetEdges(fHistAll, 'x');
