- Timestamp:
- 08/29/04 15:48:34 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r4787 r4788 93 93 if (IsUncalibrated( kChargeIsPedestal )) return 1; 94 94 if (IsUncalibrated( kChargeRelErrNotValid)) return 2; 95 if (IsUncalibrated( kChargeSigmaNotValid )) return 3; 96 if (IsUncalibrated( kLoGainSaturation )) return 4; 97 if (IsUncalibrated( kMeanTimeInFirstBin )) return 5; 98 if (IsUncalibrated( kMeanTimeInLast2Bins )) return 6; 99 if (IsUncalibrated( kDeviatingNumPhes )) return 7; 100 if (IsUncalibrated( kDeviatingFFactor )) return 8; 101 if (IsUncalibrated( kDeviatingNumPhots )) return 9; 102 if (IsUncalibrated( kHiGainOverFlow )) return 10; 103 if (IsUncalibrated( kLoGainOverFlow )) return 11; 104 return 12; 95 if (IsUncalibrated( kLoGainSaturation )) return 3; 96 if (IsUncalibrated( kMeanTimeInFirstBin )) return 4; 97 if (IsUncalibrated( kMeanTimeInLast2Bins )) return 5; 98 if (IsUncalibrated( kDeviatingNumPhes )) return 6; 99 if (IsUncalibrated( kDeviatingFFactor )) return 7; 100 if (IsUncalibrated( kDeviatingNumPhots )) return 8; 101 if (IsUncalibrated( kHiGainOverFlow )) return 9; 102 if (IsUncalibrated( kLoGainOverFlow )) return 10; 103 return 11; 105 104 } 106 105 107 106 Int_t GetUnreliableCalibration() const { 108 107 if (!IsUnreliable()) return 0; 109 if (IsUncalibrated( kHiGainNotFitted )) return 1; 110 if (IsUncalibrated( kLoGainNotFitted )) return 2; 111 if (IsUncalibrated( kRelTimeNotFitted )) return 3; 112 if (IsUncalibrated( kHiGainOscillating )) return 4; 113 if (IsUncalibrated( kLoGainOscillating )) return 5; 114 if (IsUncalibrated( kRelTimeOscillating)) return 6; 115 return 7; 108 if (IsUncalibrated( kChargeSigmaNotValid )) return 1; 109 if (IsUncalibrated( kHiGainNotFitted )) return 2; 110 if (IsUncalibrated( kLoGainNotFitted )) return 3; 111 if (IsUncalibrated( kRelTimeNotFitted )) return 4; 112 if (IsUncalibrated( kHiGainOscillating )) return 5; 113 if (IsUncalibrated( kLoGainOscillating )) return 6; 114 if (IsUncalibrated( kRelTimeOscillating )) return 7; 115 return 8; 116 116 } 117 117
Note:
See TracChangeset
for help on using the changeset viewer.