Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3960)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3961)
@@ -62,4 +62,7 @@
    * mastro/MAstroCatalog.h
      - make AlignCoordinates() protected, in order to compile
+
+   * mcalib/MHGausEvents.cc
+     - took out fEvents(0) and fHGausHist() from constructor
  
  2004/05/03: Thomas Bretz
Index: /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc	(revision 3960)
+++ /trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc	(revision 3961)
@@ -87,14 +87,10 @@
 //
 MBadPixelsPix::MBadPixelsPix(const char* name, const char* title)
-    : fInfo(3)
 {
     fName  = name  ? name  : "MBadPixelsPix";
     fTitle = title ? title : "Container storing bad pixel information for a single pixel";
 
-    fInfo[0] = 0;
-    fInfo[1] = 0;
-    fInfo[2] = 0;
+    fInfo.Set(3);
 
-    //    memset(&fInfo,0,3*sizeof(Int_t));
 }
 
Index: /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc	(revision 3960)
+++ /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc	(revision 3961)
@@ -128,5 +128,4 @@
 MHCalibrationChargeBlindPix::MHCalibrationChargeBlindPix(const char *name, const char *title)
     :  fBlindPix(NULL), fSignal(NULL), fRawEvt(NULL), 
-       fASinglePheFADCSlices(1), fAPedestalFADCSlices(1),
        fSinglePheFit(NULL), 
        fFitLegend(NULL),
@@ -141,4 +140,7 @@
     SetLast ( fgChargeLast  );
     
+    fASinglePheFADCSlices.ResizeTo(1);
+    fAPedestalFADCSlices.ResizeTo(1);
+
     SetSinglePheCut();
     SetNumSinglePheLimit();
@@ -385,5 +387,6 @@
   //
   const Float_t signal = (Float_t)fSignal->GetExtractedSignal();
-  FillHistAndArray(signal);
+  if (signal > -1)
+    FillHistAndArray(signal);
 
   //
Index: /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 3960)
+++ /trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 3961)
@@ -135,6 +135,6 @@
       fPowerSpectrum(NULL),
       fGraphEvents(NULL), fGraphPowerSpectrum(NULL),
-      fEvents(0), fFGausFit(NULL), fFExpFit(NULL),
-      fFirst(0.), fHGausHist(), fLast(100.), 
+      fFGausFit(NULL), fFExpFit(NULL),
+      fFirst(0.), fLast(100.), 
       fNbins(100), fPixId(-1)
 { 
