Changeset 8630 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
06/30/07 12:19:48 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8628 r8630  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22 2007/06/30 Thomas Bretz
     23
     24   * msignal/MExtractTimeAndCharge.cc:
     25     - when splitting the extraction of the maximum position and the
     26       maximum value into two functions (after the last release)
     27       an error in extracting the time of a saturating lo-gain pixel
     28       was introduced. fixed.
     29
    2030
    2131
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r8584 r8630  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.66 2007-06-19 11:01:34 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.67 2007-06-30 11:16:17 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    361361            if (numsatlo>1)
    362362            {
    363                 const UInt_t maxrawlo = fSignal->GetRawMaxPos(pixidx, fHiGainFirst, fHiGainLast);
    364                 timelo = GetSaturationTime(satlo0, sig, first+maxrawlo)-numh-first;
     363                const UInt_t maxcontlo = fSignal->GetRawMaxVal(pixidx, fHiGainFirst, fHiGainLast);
     364                timelo = GetSaturationTime(satlo0, sig, maxcontlo/2)-numh-first;
    365365                deltatimelo = 0;
    366366            }
Note: See TracChangeset for help on using the changeset viewer.