Changeset 6067 for trunk


Ignore:
Timestamp:
01/28/05 09:47:26 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6066 r6067  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22 2005/01/28 Markus Gaug
     23
     24   * msignal/MExtractTimeAndChargeDigitalFilter.cc
     25     - introduce a security check for the time fine adjustment in case,
     26       it is too large.
     27
     28
    2229 2005/01/28 Abelardo Moralejo
    2330
     
    5259   * callisto.rc
    5360     - updated conf. file
    54 
    5561
    5662
  • 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.