Changeset 5595


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5594 r5595  
    2525  * msignal/MExtractor.[h,cc]
    2626    - add possibility to set pedestal pointer from outside
     27
     28  * msignal/MExtractTimeAndCharge.[h,cc]
     29    - make modification of extraction window only for case of now
     30      high-gain saturation.
    2731
    2832  * msignal/MExtractTimeAndChargeSpline.cc
  • 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.