Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3271)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3272)
@@ -14,4 +14,7 @@
    * mcalib/MExtractBlindPixel.[h,cc]
      - included storage of pedestal
+
+   * mcalib/MHGausEvents.[h,cc]
+     - make the fit functions protected
 
 
Index: trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 3271)
+++ trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc	(revision 3272)
@@ -100,10 +100,9 @@
 //
 MHGausEvents::MHGausEvents(const char *name, const char *title)
-    : fFGausFit(NULL), fFExpFit(NULL),
-      fHPowerProbability(NULL), 
+    : fHPowerProbability(NULL), 
       fPowerSpectrum(NULL),
       fGraphEvents(NULL), fGraphPowerSpectrum(NULL),
-      fHGausHist(),
-      fEvents(0)
+      fHGausHist(), fEvents(0),
+      fFGausFit(NULL), fFExpFit(NULL)
 { 
 
Index: trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MHGausEvents.h	(revision 3271)
+++ trunk/MagicSoft/Mars/mcalib/MHGausEvents.h	(revision 3272)
@@ -29,7 +29,4 @@
   Float_t  fEventFrequency;            // The event frequency in Hertz (to be set)
   
-  TF1     *fFGausFit;                  // Gauss fit for fHGausHist
-  TF1     *fFExpFit;                   // Exponential fit for FHPowerProbability
-  
   TH1I    *fHPowerProbability;         // Fourier transform of fEvents projected on y-axis
   TArrayF *fPowerSpectrum;             // Fourier transform of fEvents
@@ -57,4 +54,7 @@
   TArrayF fEvents;                     // Array which holds the entries of GausHist
 
+  TF1     *fFGausFit;                  // Gauss fit for fHGausHist
+  TF1     *fFExpFit;                   // Exponential fit for FHPowerProbability
+  
   Float_t  fProbLimit;                 // Probability limit for judgement if fit is OK 
   Int_t    fNDFLimit;                  // NDF limit for judgement if fit is OK
