Ignore:
Timestamp:
08/29/04 17:04:39 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r4679 r4793  
    616616// 21: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kRelTimeOscillating  )
    617617// 22: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kDeviatingNumPhots   )
     618// 23: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kHiGainOverFlow      )
     619// 24: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainOverFlow      )
    618620//
    619621Bool_t MBadPixelsCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
     
    739741      val = 1;
    740742      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;
    741753    default:
    742754      return kFALSE;
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h

    r4788 r4793  
    9090
    9191    Int_t  GetUnsuitableCalibration() const   {
    92       if (!IsUnsuitable()) return 0;
     92      if (!IsUnsuitable())                        return 0;
    9393      if (IsUncalibrated( kChargeIsPedestal    )) return 1;
    9494      if (IsUncalibrated( kChargeRelErrNotValid)) return 2;
     
    105105   
    106106    Int_t  GetUnreliableCalibration() const   {
    107       if (!IsUnreliable()) return 0;
     107      if (!IsUnreliable() || IsUnsuitable())      return 0;
    108108      if (IsUncalibrated( kChargeSigmaNotValid )) return 1;
    109109      if (IsUncalibrated( kHiGainNotFitted     )) return 2;
Note: See TracChangeset for help on using the changeset viewer.