Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 5985)
+++ trunk/MagicSoft/Mars/Changelog	(revision 5986)
@@ -26,4 +26,8 @@
      - fixed a lot of 'default argument'-warnings to make to code
        compile
+
+   * mbase/MParContainer.[h,cc]:
+     - moved the empty Reset() function into the source file and
+       added a lot of comments
 
 
Index: trunk/MagicSoft/Mars/mbase/MParContainer.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MParContainer.cc	(revision 5985)
+++ trunk/MagicSoft/Mars/mbase/MParContainer.cc	(revision 5986)
@@ -435,4 +435,34 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// This virtual function is called for all parameter containers which are
+// found in the parameter list automatically each time the tasklist is
+// executed.
+//
+// By overwriting this function you can invalidate the contents of a
+// container before each execution of the tasklist:
+//
+// For example:
+//   void MHillas::Reset()
+//   {
+//      fWidth = -1;
+//   }
+//
+// (While -1 is obviously a impossible value for fWidth you can immediatly
+// see - if you Print() the contents of this container - that MHillasCalc
+// has not caluclated the width in this runthrough of the tasklist)
+//
+// Overwriting MParConatiner::Reset() in your container makes it
+// unnecessary to call any Clear() or Reset() manually in your task and
+// you make sure, that you don't keep results of previous runs of your
+// tasklist by chance.
+//
+// MParContainer::Reset() itself does nothing.
+//
+void MParContainer::Reset()
+{
+}
+
 TMethodCall *MParContainer::GetterMethod(const char *name) const
 {
Index: trunk/MagicSoft/Mars/mbase/MParContainer.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MParContainer.h	(revision 5985)
+++ trunk/MagicSoft/Mars/mbase/MParContainer.h	(revision 5986)
@@ -93,5 +93,5 @@
     virtual MParContainer *New() const;
     virtual void   SetLogStream(MLog *lg) { fLog = lg; }
-    virtual void   Reset() { }
+    virtual void   Reset();
     virtual Bool_t IsReadyToSave() const             { return fReadyToSave; }
     virtual void   SetReadyToSave(Bool_t flag=kTRUE) { fReadyToSave=flag; }
