Ignore:
Timestamp:
12/14/04 18:24:32 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
2 edited

Legend:

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

    r5570 r5595  
    191191      if (pixel.HasLoGain())
    192192        {
    193           fLoGainFirstSave = (Int_t)fLoGainFirst;
    194           const Int_t logainstart = (Int_t)(timehi+fLoGainStartShift);
    195           fLoGainFirst     = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave;
     193          fLoGainFirstSave = fLoGainFirst;
     194          const Byte_t logainstart = (Byte_t)(timehi+fLoGainStartShift);
     195          if (!sathi)
     196            fLoGainFirst = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave;
    196197       
    197198          if ( fLoGainFirst < fLoGainLast )
     
    203204                                      satlo, ped, logainabflag);
    204205            }
    205          
    206206          fLoGainFirst     = fLoGainFirstSave;
    207207        }
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.h

    r5528 r5595  
    1313  static const Float_t fgLoGainStartShift; // Default for fLoGainStartShift (now set to: -2.8)
    1414 
    15   Int_t   fLoGainFirstSave;       //! Temporary variable to store the original position of low-gain start slice
     15  Byte_t  fLoGainFirstSave;       //! Temporary variable to store the original position of low-gain start slice
    1616  Float_t fLoGainStartShift;      // Shift to start searching the low-gain signal obtained from the high-gain times.
    1717
Note: See TracChangeset for help on using the changeset viewer.