Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 4463)
+++ trunk/MagicSoft/Mars/Changelog	(revision 4464)
@@ -100,4 +100,8 @@
    * mbase/MLog.cc:
      - added missing kMustCleanup bit of fPlugins
+
+   * mbadpixels/MBadPixelsPix.h:
+     - added easier access to the information whether a pixel is unsuitable
+       or unreliable
 
 
Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h	(revision 4463)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h	(revision 4464)
@@ -21,5 +21,8 @@
         kUnsuitableRun = BIT(1),
         kUnsuitableEvt = BIT(2),
-        kUnreliableRun = BIT(3)
+        kUnsuitable    = kUnsuitableRun|kUnsuitableEvt,
+        kUnreliableRun = BIT(3),
+        kUnreliableEvt = BIT(4),
+        kUnreliable    = kUnreliableRun|kUnreliableEvt
     };
 
@@ -61,12 +64,15 @@
 
     // Setter
-    void SetUnsuitable  ( UnsuitableType_t   typ ) { fInfo[0] |= typ; }
-    void SetUncalibrated( UncalibratedType_t typ ) { fInfo[1] |= typ; }
-    void SetHardware   ( HardwareType_t     typ ) { fInfo[2] |= typ; }
+    void SetUnsuitable  (UnsuitableType_t   typ) { fInfo[0] |= typ; }
+    void SetUncalibrated(UncalibratedType_t typ) { fInfo[1] |= typ; }
+    void SetHardware    (HardwareType_t     typ) { fInfo[2] |= typ; }
 
     // Getter
-    Bool_t IsUnsuitable  ( UnsuitableType_t   typ ) const { return fInfo[0]&typ; }
-    Bool_t IsUncalibrated( UncalibratedType_t typ ) const { return fInfo[1]&typ; }
-    Bool_t IsHardwareBad ( HardwareType_t     typ ) const { return fInfo[2]&typ; }    
+    Bool_t IsUnsuitable  (UnsuitableType_t   typ) const { return fInfo[0]&typ; }
+    Bool_t IsUncalibrated(UncalibratedType_t typ) const { return fInfo[1]&typ; }
+    Bool_t IsHardwareBad (HardwareType_t     typ) const { return fInfo[2]&typ; }
+
+    Bool_t IsUnsuitable() const { return fInfo[0]&kUnsuitable; }
+    Bool_t IsUnreliable() const { return fInfo[0]&kUnreliable; }
 
     Bool_t IsOK()  const { return fInfo[0]==0; }
