Changeset 3764 for trunk


Ignore:
Timestamp:
04/16/04 13:24:39 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3763 r3764  
    2424       fgLast = 14, because in March the pulses have moved to later
    2525       arrival times.
     26     - removed some inconsistency with slice numbering in FindSignal()
     27       from pixel.GetHiGainSamples()+fHiGainFirst-1 to
     28       pixel.GetHiGainSamples()+fHiGainFirst and also for the low gain
    2629
    2730   * msignal/MExtractSignal2.cc
     
    3033       into the "low-gain samples" and mislead thus sliding window to
    3134       be maximized on the tail of the high-gain pulse.
    32 
    3335
    3436
  • trunk/MagicSoft/Mars/msignal/MExtractSignal.cc

    r3763 r3764  
    156156        Byte_t sathi;
    157157
    158         FindSignal(pixel.GetHiGainSamples()+fHiGainFirst-1, fNumHiGainSamples, sumhi, sathi);
     158        FindSignal(pixel.GetHiGainSamples()+fHiGainFirst, fNumHiGainSamples, sumhi, sathi);
    159159
    160160        Int_t  sumlo = 0;
     
    162162        if (pixel.HasLoGain())
    163163        {
    164             FindSignal(pixel.GetLoGainSamples()+fLoGainFirst-1, fNumLoGainSamples, sumlo, satlo);
     164            FindSignal(pixel.GetLoGainSamples()+fLoGainFirst, fNumLoGainSamples, sumlo, satlo);
    165165
    166166            if (satlo)
Note: See TracChangeset for help on using the changeset viewer.