Changeset 4637 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 08/16/04 18:20:35 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r4342 r4637 446 446 // 4: MBadPixelsPix::IsHiGainBad() 447 447 // 5: MBadPixelsPix::IsLoGainBad() 448 // 6: MBadPixelsPix::GetUnsuitableCalibration() 449 // 7: MBadPixelsPix::GetUnreliableCalibration() 448 450 // 8: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kHiGainNotFitted) 449 451 // 9: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainNotFitted) … … 501 503 return kFALSE; 502 504 break; 505 case 6: 506 if ((*this)[idx].GetUnsuitableCalibration()) 507 val = (*this)[idx].GetUnsuitableCalibration(); 508 else 509 return kFALSE; 510 break; 511 case 7: 512 if ((*this)[idx].GetUnreliableCalibration()) 513 val = (*this)[idx].GetUnreliableCalibration(); 514 else 515 return kFALSE; 516 break; 503 517 case 8: 504 518 if ((*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainNotFitted)) -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc
r4542 r4637 52 52 // BIT(5 ): kLoGainOscillating : The Low Gain signals fourier transform showed abnormal behavior 53 53 // BIT(6 ): kRelTimeOscillating : The High Gain arrival times fourier transform showed abnormal behavior 54 // BIT(7 ): kLoGainSaturation : The Low Gain signals were saturated during calibration55 54 // 56 55 // * Set bits leading to an unsuitable flag: 57 56 // 57 // BIT(7 ): kLoGainSaturation : The Low Gain signals were saturated during calibration 58 58 // BIT(8 ): kChargeIsPedestal : The calibration signal contained only pedestals - presumably dead pixel 59 59 // BIT(9 ): kChargeErrNotValid : The absolute error of the derived charge has given non-sense - presumably pedestal -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r4542 r4637 87 87 || IsUncalibrated(kHiGainOscillating ) ; } 88 88 89 Int_t GetUnsuitableCalibration() const { 90 if (!IsUnsuitable()) return 0; 91 if (IsUncalibrated( kChargeIsPedestal )) return 1; 92 if (IsUncalibrated( kChargeRelErrNotValid)) return 2; 93 if (IsUncalibrated( kChargeSigmaNotValid )) return 3; 94 if (IsUncalibrated( kLoGainSaturation )) return 4; 95 if (IsUncalibrated( kMeanTimeInFirstBin )) return 5; 96 if (IsUncalibrated( kMeanTimeInLast2Bins )) return 6; 97 if (IsUncalibrated( kDeviatingNumPhes )) return 7; 98 if (IsUncalibrated( kDeviatingFFactor )) return 8; 99 if (IsUncalibrated( kDeviatingNumPhots )) return 9; 100 } 101 102 Int_t GetUnreliableCalibration() const { 103 if (!IsUnreliable()) return 0; 104 if (IsUncalibrated( kHiGainNotFitted )) return 1; 105 if (IsUncalibrated( kLoGainNotFitted )) return 2; 106 if (IsUncalibrated( kRelTimeNotFitted )) return 3; 107 if (IsUncalibrated( kHiGainOscillating )) return 4; 108 if (IsUncalibrated( kLoGainOscillating )) return 5; 109 if (IsUncalibrated( kRelTimeOscillating)) return 6; 110 } 111 112 113 89 114 void Merge(const MBadPixelsPix &pix); 90 115
Note:
See TracChangeset
for help on using the changeset viewer.