Changeset 4464 for trunk/MagicSoft/Mars
- Timestamp:
- 08/04/04 14:06:13 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4461 r4464 100 100 * mbase/MLog.cc: 101 101 - added missing kMustCleanup bit of fPlugins 102 103 * mbadpixels/MBadPixelsPix.h: 104 - added easier access to the information whether a pixel is unsuitable 105 or unreliable 102 106 103 107 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r3932 r4464 21 21 kUnsuitableRun = BIT(1), 22 22 kUnsuitableEvt = BIT(2), 23 kUnreliableRun = BIT(3) 23 kUnsuitable = kUnsuitableRun|kUnsuitableEvt, 24 kUnreliableRun = BIT(3), 25 kUnreliableEvt = BIT(4), 26 kUnreliable = kUnreliableRun|kUnreliableEvt 24 27 }; 25 28 … … 61 64 62 65 // Setter 63 void SetUnsuitable ( UnsuitableType_t typ) { fInfo[0] |= typ; }64 void SetUncalibrated( UncalibratedType_t typ) { fInfo[1] |= typ; }65 void SetHardware ( HardwareType_t typ) { fInfo[2] |= typ; }66 void SetUnsuitable (UnsuitableType_t typ) { fInfo[0] |= typ; } 67 void SetUncalibrated(UncalibratedType_t typ) { fInfo[1] |= typ; } 68 void SetHardware (HardwareType_t typ) { fInfo[2] |= typ; } 66 69 67 70 // Getter 68 Bool_t IsUnsuitable ( UnsuitableType_t typ ) const { return fInfo[0]&typ; } 69 Bool_t IsUncalibrated( UncalibratedType_t typ ) const { return fInfo[1]&typ; } 70 Bool_t IsHardwareBad ( HardwareType_t typ ) const { return fInfo[2]&typ; } 71 Bool_t IsUnsuitable (UnsuitableType_t typ) const { return fInfo[0]&typ; } 72 Bool_t IsUncalibrated(UncalibratedType_t typ) const { return fInfo[1]&typ; } 73 Bool_t IsHardwareBad (HardwareType_t typ) const { return fInfo[2]&typ; } 74 75 Bool_t IsUnsuitable() const { return fInfo[0]&kUnsuitable; } 76 Bool_t IsUnreliable() const { return fInfo[0]&kUnreliable; } 71 77 72 78 Bool_t IsOK() const { return fInfo[0]==0; }
Note:
See TracChangeset
for help on using the changeset viewer.