Changeset 4851


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4849 r4851  
    3030
    3131   * mcalib/MCalibrationQEPix.[h,cc]
     32   * mcalib/MCalibrationChargeCalc.[h,cc]
    3233     - fixed UpdateCombinedMethod, removed AddAverageCombinedQEs
    3334
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r4807 r4851  
    711711  FinalizeBlindPixelQECam();
    712712  FinalizePINDiodeQECam();
     713  FinalizeCombinedQECam();
    713714
    714715  //
     
    18831884}
    18841885
     1886// ------------------------------------------------------------------------
     1887//
     1888// Loop over pixels:
     1889//
     1890// - Call MCalibrationQEPix::UpdateCombinedMethod()
     1891//
     1892void MCalibrationChargeCalc::FinalizeCombinedQECam()
     1893{
     1894 
     1895  const UInt_t npixels  = fGeom->GetNumPixels();
     1896
     1897  for (UInt_t i=0; i<npixels; i++)
     1898    {
     1899     
     1900      MCalibrationQEPix   &qepix = (MCalibrationQEPix&)  (*fQECam)[i];
     1901      MBadPixelsPix       &bad   = (*fBadPixels)[i];
     1902
     1903      if (!bad.IsUnsuitable (MBadPixelsPix::kUnsuitableRun))
     1904        {
     1905          qepix.SetPINDiodeMethodValid(kFALSE, fPulserColor);
     1906          continue;
     1907        }
     1908     
     1909      qepix.UpdateCombinedMethod();
     1910    }
     1911}
     1912
    18851913// -----------------------------------------------------------------------------------------------
    18861914//
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h

    r4672 r4851  
    104104  void   FinalizeBlindPixelQECam ();
    105105  void   FinalizePINDiodeQECam   ();
     106  void   FinalizeCombinedQECam   ();
    106107  void   FinalizeUnsuitablePixels();
    107108
Note: See TracChangeset for help on using the changeset viewer.