Changeset 3932
- Timestamp:
- 05/03/04 11:15:29 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3931 r3932 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/05/03: Javier Lopez 22 23 * mbadpixels/MBadPixelsPix.[h,cc] 24 - put another enum for hardware malfunctionning. Started to be 25 filled with kHVNotNominal 26 20 27 21 28 2004/05/03: Markus Gaug -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r3915 r3932 35 35 kRelTimeOscillating = BIT(6), 36 36 kLoGainSaturation = BIT(7), 37 kChargeIsPedestal = BIT(8 38 kChargeErrNotValid = BIT(9 37 kChargeIsPedestal = BIT(8), 38 kChargeErrNotValid = BIT(9), 39 39 kChargeRelErrNotValid = BIT(10), 40 40 kChargeSigmaNotValid = BIT(11), … … 47 47 }; 48 48 49 // This is just a start.. 50 enum HardwareType_t { 51 kHVNotNominal = BIT(1) 52 }; 53 54 49 55 void Reset(); 50 56 void Clear(Option_t *o=""); … … 57 63 void SetUnsuitable ( UnsuitableType_t typ ) { fInfo[0] |= typ; } 58 64 void SetUncalibrated( UncalibratedType_t typ ) { fInfo[1] |= typ; } 65 void SetHardware ( HardwareType_t typ ) { fInfo[2] |= typ; } 59 66 60 67 // Getter 61 68 Bool_t IsUnsuitable ( UnsuitableType_t typ ) const { return fInfo[0]&typ; } 62 69 Bool_t IsUncalibrated( UncalibratedType_t typ ) const { return fInfo[1]&typ; } 70 Bool_t IsHardwareBad ( HardwareType_t typ ) const { return fInfo[2]&typ; } 63 71 64 72 Bool_t IsOK() const { return fInfo[0]==0; }
Note:
See TracChangeset
for help on using the changeset viewer.