Index: trunk/MagicSoft/Mars/mhcalib/MHCalibrationPix.cc
===================================================================
--- trunk/MagicSoft/Mars/mhcalib/MHCalibrationPix.cc	(revision 5003)
+++ trunk/MagicSoft/Mars/mhcalib/MHCalibrationPix.cc	(revision 5004)
@@ -62,5 +62,5 @@
 //
 MHCalibrationPix::MHCalibrationPix(const char *name, const char *title)
-    : fEventFrequency(0), fPixId(-1)
+    : fPixId(-1)
 { 
 
@@ -74,6 +74,4 @@
 }
 
-
-      
 // --------------------------------------------------------------------------
 //
@@ -82,8 +80,7 @@
 // Sets:
 // - all other pointers to NULL
-// - all variables to 0., except fPixId to -1 and keep fEventFrequency
+// - all variables to 0., except fPixId to -1 
 // - all flags to kFALSE
 // 
-// Deletes (if not NULL):
 // - all pointers
 //
@@ -152,5 +149,4 @@
   // Copy data members
   //
-  pix.fEventFrequency       = fEventFrequency;
   pix.fBlackoutLimit        = fBlackoutLimit; 
   pix.fSaturated            = fSaturated;     
@@ -206,70 +202,4 @@
   fTitle = Form("%s%d", fTitle.Data(), id);
 
-}
-
-
-// -----------------------------------------------------------------------------
-// 
-// Create the x-axis for the event graph
-//
-Float_t *MHCalibrationPix::CreateEventXaxis(Int_t n)
-{
-
-  Float_t *xaxis = new Float_t[n];  
-
-  if (fEventFrequency)
-    for (Int_t i=0;i<n;i++)
-      xaxis[i] = (Float_t)i/fEventFrequency;
-  else
-    for (Int_t i=0;i<n;i++)
-      xaxis[i] = (Float_t)i;
-
-  return xaxis;
-                 
-}
-
-// -----------------------------------------------------------------------------
-// 
-// Create the x-axis for the event graph
-//
-Float_t *MHCalibrationPix::CreatePSDXaxis(Int_t n)
-{
-
-  Float_t *xaxis = new Float_t[n];
-
-  if (fEventFrequency)
-    for (Int_t i=0;i<n;i++)
-      xaxis[i] = 0.5*(Float_t)i*fEventFrequency/n;
-  else
-    for (Int_t i=0;i<n;i++)
-      xaxis[i] = 0.5*(Float_t)i/n;
-
-  return xaxis;
-                 
-}
-
-// ----------------------------------------------------------------------------------
-//
-// Create a graph to display the array fEvents
-// If the variable fEventFrequency is set, the x-axis is transformed into real time.
-//
-void MHCalibrationPix::CreateGraphEvents()
-{
-
-  MHGausEvents::CreateGraphEvents();
-  fGraphEvents->GetXaxis()->SetTitle((fEventFrequency) ? "Time [s]" : "Event Nr.");
-}
-
-// ----------------------------------------------------------------------------------
-//
-// Create a graph to display the array fPowerSpectrum
-// If the variable fEventFrequency is set, the x-axis is transformed into real frequency.
-//
-void MHCalibrationPix::CreateGraphPowerSpectrum()
-{
-
-  MHGausEvents::CreateGraphPowerSpectrum();
-  
-  fGraphPowerSpectrum->GetXaxis()->SetTitle((fEventFrequency) ? "Frequency [Hz]" : "Frequency");
 }
 
