Changeset 4793 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 08/29/04 17:04:39 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r4679 r4793 616 616 // 21: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kRelTimeOscillating ) 617 617 // 22: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kDeviatingNumPhots ) 618 // 23: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kHiGainOverFlow ) 619 // 24: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainOverFlow ) 618 620 // 619 621 Bool_t MBadPixelsCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const … … 739 741 val = 1; 740 742 break; 743 case 23: 744 if (!(*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainOverFlow )) 745 return kFALSE; 746 val = 1; 747 break; 748 case 24: 749 if (!(*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainOverFlow )) 750 return kFALSE; 751 val = 1; 752 break; 741 753 default: 742 754 return kFALSE; -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r4788 r4793 90 90 91 91 Int_t GetUnsuitableCalibration() const { 92 if (!IsUnsuitable()) return 0;92 if (!IsUnsuitable()) return 0; 93 93 if (IsUncalibrated( kChargeIsPedestal )) return 1; 94 94 if (IsUncalibrated( kChargeRelErrNotValid)) return 2; … … 105 105 106 106 Int_t GetUnreliableCalibration() const { 107 if (!IsUnreliable() )return 0;107 if (!IsUnreliable() || IsUnsuitable()) return 0; 108 108 if (IsUncalibrated( kChargeSigmaNotValid )) return 1; 109 109 if (IsUncalibrated( kHiGainNotFitted )) return 2;
Note:
See TracChangeset
for help on using the changeset viewer.