Changeset 6155 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/31/05 16:22:52 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6150 r6155  
    3030  * mjobs/MJCalibrateSignal.[h,cc]
    3131    - allow also for direct setting of an MRunIter (not used in callisto).
     32
     33  * mcalib/MCalibrationChargeCalc.[h,cc]
     34    - test also for pulser strength changes additionally to changes in
     35      colour.
    3236
    3337
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r6074 r6155  
    590590
    591591  const MCalibrationCam::PulserColor_t col = fCalibPattern->GetPulserColor();
    592 
    593   if (col == fPulserColor)
     592  const Float_t strength = fCalibPattern->GetPulserStrength();
     593  const Float_t strdiff  = TMath::Abs(strength-fStrength);
     594
     595  if (col == fPulserColor && strdiff < 0.05 )
    594596    {
    595597      fNumProcessed++;
     
    630632 
    631633  fPulserColor = col;
     634  fStrength    = strength;
    632635
    633636  *fLog << inf << "Found new colour ... " << flush;
     
    642645    }
    643646
    644   *fLog << inf << " with strength: " << fCalibPattern->GetPulserStrength() << endl;
     647  *fLog << inf << " with strength: " << strength << endl;
    645648 
    646649  fHCam->SetColor(col);
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc

    r6153 r6155  
    7979const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgHiGainFirst             =  0;
    8080const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgHiGainLast              = 20;
    81 const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgLoGainFirst             =  1;
     81const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgLoGainFirst             =  0;
    8282const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgLoGainLast              = 14;
    8383const Byte_t MExtractTimeAndChargeDigitalFilterPeakSearch::fgOffsetLeftFromPeak      =  1;
Note: See TracChangeset for help on using the changeset viewer.