Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 5116)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 5117)
@@ -19,4 +19,14 @@
 
                                                  -*-*- END OF LINE -*-*-
+ 2004/09/19: Thomas Bretz
+
+   * mbadpixels/MBadPIxlesCam.[h,cc]:
+     - added Reset-function. This makes sure, that the event-wise
+       bad pixels determined by MBadPIxelsCalc are deleted after
+       one execution of the event-loop and don't remain for all
+       following data
+
+
+
  2004/09/17: Markus Gaug
 
Index: /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h	(revision 5116)
+++ /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h	(revision 5117)
@@ -37,6 +37,2 @@
 
 #endif
-
-
-
-
Index: /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 5116)
+++ /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 5117)
@@ -166,4 +166,13 @@
 {
     fArray->ForEach(TObject, Clear)();
+}
+
+// --------------------------------------------------------------------------
+//
+// Reset event depending bits
+//
+void MBadPixelsCam::Reset()
+{
+    fArray->ForEach(MParContainer, Reset)();
 }
 
Index: /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h	(revision 5116)
+++ /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h	(revision 5117)
@@ -25,4 +25,5 @@
     ~MBadPixelsCam();
 
+    void Reset();
     void Clear(Option_t *o="");
     void Print(Option_t *o="") const;
Index: /trunk/MagicSoft/Mars/mpointing/MPointingPos.h
===================================================================
--- /trunk/MagicSoft/Mars/mpointing/MPointingPos.h	(revision 5116)
+++ /trunk/MagicSoft/Mars/mpointing/MPointingPos.h	(revision 5117)
@@ -25,5 +25,5 @@
 
 public:
-    MPointingPos(const char *name=0, const char *title=0)
+    MPointingPos(const char *name=0, const char *title=0) : fZd(0), fAz(0), fRa(0), fHa(0), fDec(0)
     {
         fName  = name ? name   : "MPointingPos";
