Index: trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc	(revision 8341)
+++ trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc	(revision 8342)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHCalibrationChargeCam.cc,v 1.52 2007-03-01 17:59:12 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHCalibrationChargeCam.cc,v 1.53 2007-03-01 18:21:08 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -387,5 +387,5 @@
   if (fGeom->InheritsFrom("MGeomCamMagic"))
     if ( fColor == MCalibrationCam::kBLUE)
-      SetLoGainLast(2.*fLoGainLast - fLoGainFirst);
+      SetBinning(fLoGainNbins, fLoGainFirst, 2.*fLoGainLast - fLoGainFirst);
   
   InitHiGainArrays(npixels,nareas,nsectors);
Index: trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc	(revision 8341)
+++ trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc	(revision 8342)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.27 2007-03-01 18:05:42 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.28 2007-03-01 18:21:08 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -707,7 +707,7 @@
 
   Int_t rc = MHCalibrationCam::ReadEnv(env,prefix,print);
-  if (rc=kERROR)
-    return kERROR;
-   
+  if (rc==kERROR)
+      return kERROR;
+
   if (IsEnvDefined(env, prefix, "SaturationLimit", print))
     {
@@ -715,5 +715,5 @@
       rc = kTRUE;
     }
-  
+
   if (IsEnvDefined(env, prefix, "LowerSignalLimit", print))
     {
