Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 4287)
+++ trunk/MagicSoft/Mars/Changelog	(revision 4288)
@@ -19,4 +19,16 @@
                                                  -*-*- END OF LINE -*-*-
 
+
+ 2004/06/11: Markus Gaug
+
+  * mpedestals/MPedCalcPedRun.cc
+    - set the default upper range to 29, because otherwise the extraction
+      window will be made too small in case that more than 14 "high-gain" 
+      slices shall be extracted. This is a bugfix! It calculated wrong 
+      pedestals in case that the user says: SetRange(a,b), where b is 
+      bigger than 14 in combination with SetWindowSize(x) where x is bigger 
+      than 14 as well (instead of : SetRange(a,b,c,d), where 
+      everything went fine). However, the intention of the last months 
+      changes was to allow exactly also the first possibility. 
 
  2004/06/11: Markus Gaug
Index: trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc
===================================================================
--- trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc	(revision 4287)
+++ trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc	(revision 4288)
@@ -88,5 +88,5 @@
 // 
 //   fHiGainFirst =  fgHiGainFirst =  0 
-//   fHiGainLast  =  fgHiGainLast  =  14
+//   fHiGainLast  =  fgHiGainLast  =  29
 //   fLoGainFirst =  fgLoGainFirst =  0 
 //   fLoGainLast  =  fgLoGainLast  =  14
@@ -140,5 +140,5 @@
 
 const Byte_t MPedCalcPedRun::fgHiGainFirst      = 0;
-const Byte_t MPedCalcPedRun::fgHiGainLast       = 14;
+const Byte_t MPedCalcPedRun::fgHiGainLast       = 29;
 const Byte_t MPedCalcPedRun::fgLoGainFirst      = 0;
 const Byte_t MPedCalcPedRun::fgLoGainLast       = 14;
