Ignore:
Timestamp:
05/07/04 15:00:40 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc

    r4004 r4005  
    393393            << Form("%s%2i%s",": Will use ",diff," samples from the Low-Gain for the High-Gain extraction")
    394394            << endl;
    395       fWindowSizeHiGain -= diff;
    396       fWindowSizeLoGain += diff;
     395
     396      if ((Int_t)fWindowSizeHiGain > diff)
     397        fWindowSizeHiGain -= diff;
     398      else
     399        fWindowSizeLoGain += fWindowSizeHiGain;
    397400    }
    398401
Note: See TracChangeset for help on using the changeset viewer.