Index: trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc	(revision 8340)
+++ trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc	(revision 8341)
@@ -127,17 +127,9 @@
   fName  = name  ? name  : "MHCalibrationChargePINDiode";
   fTitle = title ? title : "Fill the FADC sums of the PINDiode events and perform the fits";
-  
-  SetAbsTimeFirst();
-  SetAbsTimeLast();
-  SetAbsTimeNbins();
-
-  SetNbins( fgChargeNbins );
-  SetFirst( fgChargeFirst );
-  SetLast ( fgChargeLast  );
-  
-  SetRmsChargeNbins();
-  SetRmsChargeFirst();
-  SetRmsChargeLast();
-  
+
+  SetBinning(fgChargeNbins, fgChargeFirst, fgChargeLast);
+  SetBinningAbsTime(fgAbsTimeNbins, fgAbsTimeFirst, fgAbsTimeLast);
+  SetBinningRmsCharge(fgRmsChargeNbins, fgRmsChargeFirst, fgRmsChargeLast);
+
   SetTimeLowerLimit();
   SetTimeUpperLimit();
