Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3931)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3932)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/05/03: Javier Lopez
+ 
+   * mbadpixels/MBadPixelsPix.[h,cc]
+     - put another enum for hardware malfunctionning. Started to be 
+       filled with kHVNotNominal
+
 
  2004/05/03: Markus Gaug
Index: /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h	(revision 3931)
+++ /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h	(revision 3932)
@@ -35,6 +35,6 @@
       kRelTimeOscillating       = BIT(6),
       kLoGainSaturation         = BIT(7),
-      kChargeIsPedestal         = BIT(8 ),
-      kChargeErrNotValid        = BIT(9 ),
+      kChargeIsPedestal         = BIT(8),
+      kChargeErrNotValid        = BIT(9),
       kChargeRelErrNotValid     = BIT(10),
       kChargeSigmaNotValid      = BIT(11),
@@ -47,4 +47,10 @@
     };
     
+    // This is just a start..
+    enum HardwareType_t {
+      kHVNotNominal             = BIT(1)
+    };
+    
+      
     void Reset();
     void Clear(Option_t *o="");
@@ -57,8 +63,10 @@
     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 IsOK()  const { return fInfo[0]==0; }
