Index: trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc
===================================================================
--- trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc	(revision 5490)
+++ trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc	(revision 5491)
@@ -232,4 +232,12 @@
                               fLoGainFirst, fLoGainLast, fNumLoGainSamples);
 
+  *fLog << dec << endl;
+  *fLog << inf << "Taking " << fNumHiGainSamples
+        << " HiGain samples starting with slice " << (Int_t)fHiGainFirst
+        << " to " << (Int_t)(fHiGainLast+fHiLoLast) << " incl" << endl;
+  *fLog << inf << "Taking " << fNumLoGainSamples
+        << " LoGain samples starting with slice " << (Int_t)fLoGainFirst
+        << " to " << (Int_t)fLoGainLast << " incl" << endl;
+
   return kTRUE;
   
@@ -381,5 +389,5 @@
   Byte_t hiGainFirst = 0;
   Byte_t loGainFirst = 0;
-  Byte_t hilolastsave = fHiLoLast;
+  fHiLoLast = 0;
 
   while (pixel.Next())
@@ -402,5 +410,5 @@
 
   loGainFirst = ( hiGainFirst+fLoGainPeakShift > fLoGainFirst ) ?
-      hiGainFirst+fLoGainPeakShift : fLoGainFirst;
+    hiGainFirst+fLoGainPeakShift : fLoGainFirst;
 
   // Make sure we will not integrate beyond the hi gain limit:
@@ -446,5 +454,4 @@
       const Float_t pedes  = ped.GetPedestal();
       const Float_t pedrms = ped.GetPedestalRms();
-
       //
       // Set extracted signal with pedestal substracted
@@ -461,5 +468,4 @@
 
 
-  fHiLoLast = hilolastsave;
   fSignals->SetReadyToSave();
 
