Changeset 5513


Ignore:
Timestamp:
11/30/04 11:52:41 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5511 r5513  
    192192        {
    193193          fLoGainFirstSave = fLoGainFirst;
    194           fLoGainFirst    = (Int_t)(timehi+fLoGainStartShift);
    195           fLoGainFirst     = fLoGainFirst < fLoGainFirstSave ? fLoGainFirstSave : fLoGainFirst;
    196          
     194          const Int_t logainstart = (Int_t)(timehi+fLoGainStartShift);
     195          fLoGainFirst     = logainstart > 0 ? logainstart : fLoGainFirstSave;
     196       
    197197          if ( fLoGainFirst < fLoGainLast )
    198198            {
Note: See TracChangeset for help on using the changeset viewer.