Ignore:
Timestamp:
10/19/06 12:49:49 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7895 r8129  
    184184  // size of 6. The exact numbers have to be found still.
    185185  //
    186   fNumHiGainSamples = (Float_t)fWindowSizeHiGain/2.4;
    187   fNumLoGainSamples = (Float_t)fWindowSizeLoGain/2.4;
     186  fNumHiGainSamples = fAmpWeightsHiGain.GetSum()/fBinningResolutionHiGain;
     187  fNumLoGainSamples = fAmpWeightsLoGain.GetSum()/fBinningResolutionLoGain;
    188188  fSqrtHiGainSamples = TMath::Sqrt(fNumHiGainSamples);
    189189  fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples);
Note: See TracChangeset for help on using the changeset viewer.