Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 8416)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 8423)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.48 2007-01-30 14:16:44 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.49 2007-04-20 08:55:17 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -169,5 +169,5 @@
 void MBadPixelsCam::Clear(Option_t *o)
 {
-    fArray->R__FOR_EACH(TObject, Clear)();
+    fArray->R__FOR_EACH(TObject, Clear)(o);
 }
 
Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc	(revision 8416)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc	(revision 8423)
@@ -129,5 +129,12 @@
 void MBadPixelsPix::Clear(Option_t *o)
 {
-    fInfo.Reset(0);
+    if (TString(o).IsNull())
+    {
+        fInfo[1] &= BIT(0);
+        fInfo[0]  = fInfo[1] ? kUnsuitableRun : 0;
+        fInfo[2]  = 0;
+    }
+    else
+        fInfo.Reset(0);
 }
 
