Changeset 5849 for trunk


Ignore:
Timestamp:
01/14/05 19:49:27 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc

    r5713 r5849  
    126126const Float_t MHCalibrationRelTimeCam::fgNumHiGainSaturationLimit = 0.25;
    127127const UInt_t  MHCalibrationRelTimeCam::fgReferencePixel = 1;
    128 const Int_t   MHCalibrationRelTimeCam::fgNbins    = 200;
    129 const Axis_t  MHCalibrationRelTimeCam::fgFirst    = -5.;
    130 const Axis_t  MHCalibrationRelTimeCam::fgLast     =  5.;
     128const Int_t   MHCalibrationRelTimeCam::fgNbins      = 200;
     129const Axis_t  MHCalibrationRelTimeCam::fgFirst      = -5.;
     130const Axis_t  MHCalibrationRelTimeCam::fgLast       =  5.;
    131131const Float_t MHCalibrationRelTimeCam::fgProbLimit  = 0.;
    132132const TString MHCalibrationRelTimeCam::gsHistName   = "RelTime";
     
    282282
    283283  InitHiGainArrays(npixels,nareas,nsectors);
    284   InitLoGainArrays(npixels,nareas,nsectors);
     284  if (IsLoGain())
     285    InitLoGainArrays(npixels,nareas,nsectors);
    285286
    286287  fSumareahi  .Set(nareas);
     
    342343
    343344      MHCalibrationPix &histhi = (*this)[i];
    344       MHCalibrationPix &histlo = (*this)(i);
    345345
    346346      if (histhi.IsExcluded())
     
    355355          const Float_t reltime = pix.GetArrivalTimeLoGain() - reftime;
    356356          histhi.AddSaturated(1);
     357
     358          MHCalibrationPix &histlo = (*this)(i);
    357359          histlo.FillHistAndArray(reltime);
     360
    358361          fSumarealo  [aidx]   += reltime;
    359362          fNumarealo  [aidx]   ++;
Note: See TracChangeset for help on using the changeset viewer.