Ignore:
Timestamp:
01/17/05 10:06:27 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5833 r5867  
    332332  if (maxpos > uplim)
    333333    {
    334       time = uplim+1;
     334      time = 1.+uplim;
     335      for (Int_t ids=0; ids < fWindowSizeHiGain; ids++)
     336        {
     337          const Int_t   idx = fArrBinningResHiGain[ids] + fRandomIter;
     338          sum              += fAmpWeightsHiGain [idx]*fHiGainSignal[range-fWindowSizeHiGain+ids];
     339        }
    335340      return;
    336341    }
     
    341346    {
    342347      time = 0.;
     348      for (Int_t ids=0; ids < fWindowSizeHiGain; ids++)
     349        {
     350          const Int_t   idx = fArrBinningResHiGain[ids] + fRandomIter;
     351          sum              += fAmpWeightsHiGain [idx]*fHiGainSignal[ids];
     352        }
    343353      return;
    344354    }
Note: See TracChangeset for help on using the changeset viewer.