Ignore:
Timestamp:
01/30/05 10:17:07 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5927 r6121  
    1515! *
    1616!
    17 !   Author(s): Thomas Bretz,   02/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
     17!   Author(s): Markus Gaug,    09/2004 <mailto:markus@ifae.es>
    1818!   Author(s): Hendrik Bartko, 01/2004 <mailto:hbartko@mppmu.mpg.de>
    19 !   Author(s): Markus Gaug,    09/2004 <mailto:markus@ifae.es>
    2019!
    21 !   Copyright: MAGIC Software Development, 2002-2004
     20!   Copyright: MAGIC Software Development, 2002-2005
    2221!
    2322!
     
    245244  //
    246245  while (p<end)
    247     if (*p++ >= fSaturationLimit)
    248       if (!sat)
    249         sat = ids-2;
    250  
     246    {
     247      if (*p > fMaxBinContent)
     248        fMaxBinContent = *p;
     249     
     250      if (*p++ >= fSaturationLimit)
     251        if (!sat)
     252          sat = ids-2;
     253    }
     254
    251255  if (IsNoiseCalculation())
    252256    return;
Note: See TracChangeset for help on using the changeset viewer.