Index: /trunk/MagicSoft/Mars/mbase/MTask.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MTask.cc	(revision 8425)
+++ /trunk/MagicSoft/Mars/mbase/MTask.cc	(revision 8426)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2003
+!   Copyright: MAGIC Software Development, 2000-2007
 !
 !
@@ -109,4 +109,7 @@
 #include "MStatusDisplay.h"
 
+#undef DEBUG_PROCESS
+//#define DEBUG_PROCESS
+
 ClassImp(MTask);
 
@@ -126,4 +129,8 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Destructor. Delete fStopwatch and fListOfBranches
+//
 MTask::~MTask()
 {
@@ -132,4 +139,9 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Initialize fFilter with filter and if not null add the result of
+// GetDataMember from the filter to the branch list.
+//
 void MTask::SetFilter(MFilter *filter)
 {
@@ -194,5 +206,6 @@
 // --------------------------------------------------------------------------
 //
-// Copy constructor.
+// Copy constructor. Reset MInputStreamID, copy pointer to fFilter and
+// copy the contents of fListOfBranches
 //
 MTask::MTask(MTask &t) : MInputStreamID()
@@ -265,5 +278,13 @@
     fNumExecutions++;
 
+#ifdef DEBUG_PROCESS
+    *fLog << all << flush << GetName() << "..." << flush;
+#endif
+
     const Int_t rc = Process();
+
+#ifdef DEBUG_PROCESS
+    *fLog << all << flush << "done." << endl;
+#endif
 
     if (!HasAccelerator(kAccDontTime))
