Ignore:
Timestamp:
01/28/05 09:47:26 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc

    r6062 r6067  
    532532
    533533  time = max_p + fTimeShiftLoGain + (Float_t)fLoGainFirst /* this shifts the time to the start of the rising edge */
    534       - ((Float_t)t_iter)/fBinningResolutionLoGain - time_sum/sum;
     534      - ((Float_t)t_iter)/fBinningResolutionLoGain;
     535
     536  const Float_t timefineadjust = time_sum/sum;
     537 
     538  if (timefineadjust < 2./fBinningResolutionLoGain)
     539    time -= timefineadjust;
     540
    535541}
    536542
Note: See TracChangeset for help on using the changeset viewer.