Changeset 3732


Ignore:
Timestamp:
04/14/04 15:05:50 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3731 r3732  
    3131     - included calibration of rel.Times, to be chosen with a flag
    3232       RelTimeCalibration()
     33
     34   * mbadpixels/MBadPixelsCam.cc
     35     - add two new types in GetPixelContent, add documentation of
     36       GetPixelContent
    3337
    3438
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r3607 r3732  
    305305}
    306306
     307// --------------------------------------------------------------------------
     308//
     309// The types are the following:
     310// 0: MBadPixelsPix::GetInfo()[0]
     311// 1: MBadPixelsPix::IsUnsuitable(MBadPixelsPix::kUnsuitableRun)
     312// 2: MBadPixelsPix::IsUnsuitable(MBadPixelsPix::kUnsuitableEvt)
     313// 3: MBadPixelsPix::IsUnsuitable(MBadPixelsPix::kUnreliableRun)
     314// 4: MBadPixelsPix::IsHiGainBad()
     315// 5: MBadPixelsPix::IsLoGainBad()
     316// 6: !MBadPixelsPix::IsCalibrationSignalOK()
     317// 7: !MBadPixelsPix::IsCalibrationResultOK();
     318// 8: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kHiGainNotFitted)
     319// 9: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainNotFitted)
     320// 10: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kHiGainOscillating)
     321// 11: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainOscillating)
     322// 12: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kLoGainSaturation )
     323// 13: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kChargeIsPedestal )
     324// 14: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kChargeErrNotValid)
     325// 15: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid)
     326// 16: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid )
     327// 17: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kMeanTimeInFirstBin  )
     328// 18: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kMeanTimeInLast2Bins )
     329// 19: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes    )
     330// 20: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted )
     331// 21: MBadPixelsPix::IsUncalibrated(MBadPixelsPix::kRelTimeOscillating  )
     332//
    307333Bool_t MBadPixelsCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
    308334{
     
    393419      return val;
    394420      break;
     421    case 20:
     422      val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted );
     423      return val;
     424      break;
     425    case 21:
     426      val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeOscillating  );
     427      return val;
     428      break;
    395429    default:
    396430      return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.