Changeset 3450 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
03/09/04 19:44:18 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3449 r3450  
    4646
    4747   * mcalib/MHCalibrationChargeCam.cc
    48    * mcalib/MCalibrationChargeCalc.cc
     48   * mcalib/MCalibrationChargePix.cc
    4949     - fill MBadPixelsPix with UnReliableRun or UnSuitableRun when
    5050       calibration does not succeed.
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc

    r3435 r3450  
    512512            << fChargeLimit << " Pedestal RMS in Pixel  " << fPixId << endl;
    513513      bad->SetChargeIsPedestal();
     514      bad->SetUnsuitableRun();
    514515    }
    515516 
     
    519520            << fChargeErrLimit << " in Pixel  " << fPixId << endl;
    520521      bad->SetChargeErrNotValid();
     522      bad->SetUnsuitableRun();
    521523    }
    522524     
     
    526528            << fChargeRelErrLimit << "* its error in Pixel  " << fPixId << endl;
    527529      bad->SetChargeRelErrNotValid();
     530      bad->SetUnsuitableRun();
    528531    }
    529532
     
    533536              << fPixId << endl;
    534537        bad->SetChargeSigmaNotValid();
     538        bad->SetUnsuitableRun();
    535539    }
    536540
     
    552556      *fLog << warn << "WARNING: Mean ArrivalTime in first extraction bin of the Pixel " << fPixId << endl;
    553557      bad->SetMeanTimeInFirstBin();
     558      bad->SetUnsuitableRun();
    554559    }
    555560 
     
    558563      *fLog << warn << "WARNING: Mean ArrivalTime in last extraction bin of the Pixel " << fPixId << endl;
    559564      bad->SetMeanTimeInLastBin();
     565      bad->SetUnsuitableRun();
    560566    }
    561567 
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc

    r3445 r3450  
    9494using namespace std;
    9595
    96 const Float_t MHCalibrationChargeCam::fgNumHiGainSaturationLimit = 0.01;
    97 const Float_t MHCalibrationChargeCam::fgNumLoGainSaturationLimit = 0.01;
     96const Float_t MHCalibrationChargeCam::fgNumHiGainSaturationLimit = 0.005;
     97const Float_t MHCalibrationChargeCam::fgNumLoGainSaturationLimit = 0.005;
    9898//
    9999//
     
    579579        hist.BypassFit();
    580580        bad.SetHiGainNotFitted();
     581        bad.SetUnreliableRun();
    581582      }
    582583
     
    606607   
    607608    if (!hist.IsFourierSpectrumOK())
    608       bad.SetHiGainOscillating();
     609      {
     610        bad.SetHiGainOscillating();
     611        bad.SetUnreliableRun();
     612      }
    609613}
    610614
     
    623627        pix.SetLoGainSaturation();
    624628        bad.SetLoGainSaturation();
     629        bad.SetUnsuitableRun();
    625630        return;
    626631    }
     
    636641          hist.BypassFit();
    637642          bad.SetLoGainNotFitted();
     643          if (pix.IsHiGainSaturation())
     644              bad.SetUnreliableRun();             
    638645        }
    639646
     
    666673
    667674    if (!hist.IsFourierSpectrumOK())
    668       bad.SetLoGainOscillating();
     675      {
     676        bad.SetLoGainOscillating();
     677        if (pix.IsHiGainSaturation())
     678          bad.SetUnreliableRun();             
     679      }
    669680}   
    670681
Note: See TracChangeset for help on using the changeset viewer.