Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 6392)
+++ trunk/MagicSoft/Mars/Changelog	(revision 6393)
@@ -29,4 +29,8 @@
    * callisto.rc
      - made intitializations of extractors more explicit
+
+   * mpedestal/MExtractPedestal.cc
+     - make check for even number of slices in the case of "fundamental"
+       pedestal calc.
 
 
Index: trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc	(revision 6392)
+++ trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc	(revision 6393)
@@ -565,29 +565,4 @@
 {
 
-  /*
-  if (IsInterlaced())
-    {
-      if (!(fTrigPattern->GetPrescaled() & MTriggerPattern::kCalibration))
-        {
-          if (IsDebug())
-            {
-            for (Int_t i=16; i>= 0; i--)
-              *fLog << err << (fTrigPattern->GetPrescaled() >> i & 1);
-            *fLog  << endl;
-            }
-          return kTRUE;
-        }
-      else
-        {
-          if (IsDebug())
-            {
-              for (Int_t i=16; i>= 0; i--)
-                *fLog << inf << (fTrigPattern->GetPrescaled() >> i & 1);
-              *fLog  << endl;
-            }
-        }
-    }
-  */
-
   const MCalibrationCam::PulserColor_t col = fCalibPattern->GetPulserColor();
   const Float_t strength = fCalibPattern->GetPulserStrength();
Index: trunk/MagicSoft/Mars/mhcalib/MHPedestalCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHPedestalCam.cc	(revision 6392)
+++ trunk/MagicSoft/Mars/mhcalib/MHPedestalCam.cc	(revision 6393)
@@ -119,7 +119,7 @@
 using namespace std;
 
-const Int_t   MHPedestalCam::fgNbins      = 100;
-const Axis_t  MHPedestalCam::fgFirst      = -49.;
-const Axis_t  MHPedestalCam::fgLast       = 151.;
+const Int_t   MHPedestalCam::fgNbins      = 200;
+const Axis_t  MHPedestalCam::fgFirst      = -49.5;
+const Axis_t  MHPedestalCam::fgLast       = 150.5;
 const TString MHPedestalCam::gsHistName   = "Pedestal";
 const TString MHPedestalCam::gsHistTitle  = "Pedestal";
Index: trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc
===================================================================
--- trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc	(revision 6392)
+++ trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc	(revision 6393)
@@ -267,8 +267,8 @@
   const Int_t odd  = windows & 0x1;
   
-  if (odd)
+  if (odd && !fExtractor)
   {
       *fLog << warn << GetDescriptor();
-      *fLog << " - WARNING: Window size in SetExtraxtWindow has to be even... ";
+      *fLog << " - WARNING: Window size in SetExtractWindow has to be even... ";
       *fLog << " raising from " << windows << " to ";
       windows += 1;
@@ -280,5 +280,5 @@
   {
       *fLog << warn << GetDescriptor();
-      *fLog << " - WARNING: Window size in SetExtraxtWindow has to be > 0... adjusting to 2!" << endl;
+      *fLog << " - WARNING: Window size in SetExtractWindow has to be > 0... adjusting to 2!" << endl;
       windows = 2;
       rc = kFALSE;
