Changeset 3736


Ignore:
Timestamp:
04/14/04 17:05:46 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3734 r3736  
    349349    {
    350350    case 0:
    351       val = (*this)[idx].GetInfo()[0];
    352       return (*this)[idx].IsOK();
     351      return (*this)[idx].GetInfo()[0];
    353352    case 1:
    354       val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableRun);
    355       return val;
     353      return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableRun);
    356354    case 2:
    357       val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableEvt);
    358       return val;
     355      return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableEvt);
    359356    case 3:
    360       val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnreliableRun);
    361       return val;
     357      return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnreliableRun);
    362358    case 4:
    363       val = (*this)[idx].IsHiGainBad();
    364       return val;
     359      return (*this)[idx].IsHiGainBad();
    365360    case 5:
    366       val = (*this)[idx].IsLoGainBad();
    367       return val;
     361      return (*this)[idx].IsLoGainBad();
    368362    case 6:
    369       val = !(*this)[idx].IsCalibrationSignalOK();
    370       return val;
     363      return !(*this)[idx].IsCalibrationSignalOK();
    371364    case 7:
    372       val = !(*this)[idx].IsCalibrationResultOK();
    373       return val;
     365      return !(*this)[idx].IsCalibrationResultOK();
    374366    case 8:
    375       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainNotFitted);
    376       return val;
     367      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainNotFitted);
    377368    case 9:
    378       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainNotFitted);
    379       return val;
     369      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainNotFitted);
    380370    case 10:
    381       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainOscillating);
    382       return val;
     371      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainOscillating);
    383372    case 11:
    384      val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainOscillating);
    385       return val;
     373      return(*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainOscillating);
    386374    case 12:
    387       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainSaturation );
    388       return val;
     375      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainSaturation );
    389376    case 13:
    390       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal );
    391       return val;
     377      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal );
    392378    case 14:
    393       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeErrNotValid);
    394       return val;
     379      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeErrNotValid);
    395380    case 15:
    396       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid);
    397       return val;
     381      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid);
    398382    case 16:
    399       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid );
    400       return val;
     383      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid );
    401384    case 17:
    402       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInFirstBin  );
    403       return val;
     385      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInFirstBin  );
    404386    case 18:
    405       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInLast2Bins );
    406       return val;
     387      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInLast2Bins );
    407388    case 19:
    408       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes    );
    409       return val;
     389      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes    );
    410390    case 20:
    411       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted );
    412       return val;
     391      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted );
    413392    case 21:
    414       val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeOscillating  );
    415       return val;
     393      return (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeOscillating  );
    416394    default:
    417395      return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.