Changeset 8478 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 05/09/07 13:15:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r8458 r8478 82 82 Bool_t IsHardwareBad (HardwareType_t typ) const { return fInfo[2]&typ; } 83 83 84 Bool_t IsUnsuitable() const { return fInfo[0]&kUnsuitable; } 85 Bool_t IsUnreliable() const { return fInfo[0]&kUnreliable; } 84 Bool_t IsUnsuitable() const { return fInfo[0]&kUnsuitable; } 85 Bool_t IsUnreliable() const { return fInfo[0]&kUnreliable; } 86 Bool_t IsUncalibrated() const { return fInfo[1]!=0; } 86 87 87 88 Bool_t IsOK() const { return fInfo[0]==0; } … … 100 101 if (IsUncalibrated( kChargeIsPedestal )) return 1; 101 102 if (IsUncalibrated( kLoGainSaturation )) return 2; 102 if (IsUncalibrated( kMeanTimeInFirstBin )) return 3;103 if (IsUncalibrated( kMeanTimeInLast2Bins )) return 4;104 if (IsUncalibrated( kHiGainOverFlow )) return 5;105 if (IsUncalibrated( kLoGainOverFlow )) return 6;106 if (IsUncalibrated( kDeadPedestalRms )) return 7;107 if (IsUncalibrated( k FluctuatingArrivalTimes)) return 8;108 if (IsUncalibrated( k DeviatingNumPhes )) return 9;109 if (IsUncalibrated( kDeviatingTimeResolution)) return 10;110 if (IsUncalibrated( kLoGainBlackout )) return 11;111 if (IsUncalibrated( kPreviouslyExcluded )) return 1 2;112 return 1 3;103 // if (IsUncalibrated( kMeanTimeInFirstBin )) return 3; 104 // if (IsUncalibrated( kMeanTimeInLast2Bins )) return 4; 105 if (IsUncalibrated( kHiGainOverFlow )) return 3; 106 if (IsUncalibrated( kLoGainOverFlow )) return 4; 107 if (IsUncalibrated( kDeadPedestalRms )) return 5; 108 if (IsUncalibrated( kDeviatingNumPhes )) return 6; 109 if (IsUncalibrated( kFluctuatingArrivalTimes)) return 7; 110 if (IsUncalibrated( kDeviatingTimeResolution)) return 8; 111 if (IsUncalibrated( kLoGainBlackout )) return 9; 112 if (IsUncalibrated( kPreviouslyExcluded )) return 10; 113 return 11; 113 114 } 114 115
Note:
See TracChangeset
for help on using the changeset viewer.