Changeset 3397


Ignore:
Timestamp:
03/04/04 12:11:19 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
2 edited

Legend:

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

    r3396 r3397  
    161161
    162162        Int_t  sumlo = 0;
    163         Byte_t satlo = kFALSE;
     163        Byte_t satlo = 0;
    164164        if (pixel.HasLoGain())
    165165        {
  • trunk/MagicSoft/Mars/msignal/MExtractSignal2.cc

    r3306 r3397  
    213213        // Find signal in hi- and lo-gain
    214214        //
    215         Int_t sumhi, sumlo, sathi, satlo;
     215        Int_t sumhi, sathi;
    216216        FindSignal(pixel.GetHiGainSamples()+fHiGainFirst, fNumHiGainSamples, sumhi, sathi);
    217         FindSignal(pixel.GetLoGainSamples()+fLoGainFirst, fNumLoGainSamples, sumlo, satlo);
    218         if (satlo)
    219             sat++;
     217
     218        Int_t sumlo=0;
     219        Int_t satlo=0;
     220        if (pixel.HasLoGain())
     221        {
     222            FindSignal(pixel.GetLoGainSamples()+fLoGainFirst, fNumLoGainSamples, sumlo, satlo);
     223            if (satlo)
     224                sat++;
     225        }
    220226
    221227        //
Note: See TracChangeset for help on using the changeset viewer.