Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8629)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8630)
@@ -18,4 +18,14 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+
+ 2007/06/30 Thomas Bretz
+
+   * msignal/MExtractTimeAndCharge.cc:
+     - when splitting the extraction of the maximum position and the
+       maximum value into two functions (after the last release)
+       an error in extracting the time of a saturating lo-gain pixel
+       was introduced. fixed.
+
 
 
Index: trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
===================================================================
--- trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc	(revision 8629)
+++ trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc	(revision 8630)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.66 2007-06-19 11:01:34 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.67 2007-06-30 11:16:17 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -361,6 +361,6 @@
             if (numsatlo>1)
             {
-                const UInt_t maxrawlo = fSignal->GetRawMaxPos(pixidx, fHiGainFirst, fHiGainLast);
-                timelo = GetSaturationTime(satlo0, sig, first+maxrawlo)-numh-first;
+                const UInt_t maxcontlo = fSignal->GetRawMaxVal(pixidx, fHiGainFirst, fHiGainLast);
+                timelo = GetSaturationTime(satlo0, sig, maxcontlo/2)-numh-first;
                 deltatimelo = 0;
             }
