Changeset 5979 for trunk


Ignore:
Timestamp:
01/24/05 21:08:56 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5970 r5979  
    395395
    396396  time = max_p + fTimeShiftHiGain /* this shifts the time to the start of the rising edge */
    397       - ((Float_t)t_iter)/fBinningResolutionHiGain - time_sum/sum;
     397      - ((Float_t)t_iter)/fBinningResolutionHiGain;
     398
     399  const Float_t timefineadjust = time_sum/sum;
     400 
     401  //  if (timefineadjust < 1.)
     402    time -= timefineadjust;
     403
    398404}
    399405
Note: See TracChangeset for help on using the changeset viewer.