Ignore:
Timestamp:
09/03/04 18:25:07 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc

    r4847 r4848  
    600600        continue;
    601601
     602      const MCalibrationQEPix &qepix = (MCalibrationQEPix&)qecam[i];
     603      if (!qepix.IsAverageQECombinedAvailable())
     604        continue;
     605     
    602606      const MCalibrationChargePix &pix = (MCalibrationChargePix&)(*this)[i];
    603607      const Float_t conv = pix.GetMeanConvFADC2Phe();
    604 
    605       const MCalibrationQEPix &qepix = (MCalibrationQEPix&)qecam[i];
    606       const Float_t qe = qepix.GetQECascadesCombined();
     608      const Float_t qe   = qepix.GetQECascadesCombined();
    607609
    608610      mean  += conv/qe;
     
    653655        continue;
    654656
     657      const MCalibrationQEPix &qepix = (MCalibrationQEPix&)qecam[i];
     658      if (!qepix.IsAverageQECombinedAvailable())
     659        continue;
     660     
    655661      const MCalibrationChargePix &pix = (MCalibrationChargePix&)(*this)[i];
    656662      const Float_t conv = pix.GetMeanConvFADC2Phe();
    657 
    658       const MCalibrationQEPix &qepix = (MCalibrationQEPix&)qecam[i];
    659663      const Float_t qe = qepix.GetQECascadesCombined();
    660664
Note: See TracChangeset for help on using the changeset viewer.