Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3269)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3270)
@@ -12,4 +12,5 @@
 
    * mcalib/MExtractedSignalBlindPixel.h
+   * mcalib/MExtractBlindPixel.[h,cc]
      - included storage of pedestal
 
Index: /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc	(revision 3269)
+++ /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc	(revision 3270)
@@ -186,9 +186,4 @@
       *fLog << warn << "WARNING - saturation occurred in the Blind Pixel " << endl;
 
-    //
-    // catch the pointer to the event, because MHCalibrationChargeBlindPix will need it later
-    //
-    fPixelIter = &pixel;
-
     fBlindPixel->SetReadyToSave();
 
@@ -203,8 +198,8 @@
     if (&pedpix)
     {
-	 fPed       = pedpix.GetPedestal()   * fNumSamples;
-	 fPedErr    = pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries());
-	 fPedRms    = pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples);
-	 fPedRmsErr = fPedErr/2.;
+	 fBlindPixel->SetPed      ( pedpix.GetPedestal()   * fNumSamples );
+	 fBlindPixel->SetPedErr   ( pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries()) );
+	 fBlindPixel->SetPedRms   ( pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples) );
+	 fBlindPixel->SetPedRmsErr( fBlindPixel->GetPedErr()/2. );
     }
 
Index: /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.h
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.h	(revision 3269)
+++ /trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.h	(revision 3270)
@@ -33,5 +33,4 @@
   MRawEvtData         *fRawEvt;       // raw event data (time slices)
   MRawRunHeader       *fRunHeader;    // RunHeader information
-  MRawEvtPixelIter    *fPixelIter;    // pointer to the MRawEvt information
   MPedestalCam        *fPedestals;    // pointer to the pedestal information
   
@@ -43,10 +42,4 @@
 
   UInt_t  fBlindPixelIdx;
-
-  Float_t fPed;
-  Float_t fPedErr;
-  Float_t fPedRms;
-  Float_t fPedRmsErr;
-
   Int_t  PreProcess(MParList *pList);
   Int_t  Process();
@@ -58,15 +51,8 @@
   MExtractBlindPixel(const char *name=NULL, const char *title=NULL);
 
-  const MRawEvtPixelIter *GetPixelIter()    const { return fPixelIter; }
-
   // Setters
   void SetRange(const Byte_t first=fgFirst, const Byte_t last=fgLast);
   void SetSaturationLimit(const Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; }
   void SetBlindPixelIdx(  const UInt_t idx=fgBlindPixelIdx  ) { fBlindPixelIdx   = idx; }  
-
-  Float_t GetPed()       const { return fPed;       }
-  Float_t GetPedErr()    const { return fPedErr;    }
-  Float_t GetPedRms()    const { return fPedRms;    }
-  Float_t GetPedRmsErr() const { return fPedRmsErr; }
 
   ClassDef(MExtractBlindPixel, 0) // Task to fill the Extracted BlindPixel Containers from raw data
Index: /trunk/MagicSoft/Mars/mcalib/MExtractedSignalBlindPixel.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MExtractedSignalBlindPixel.cc	(revision 3269)
+++ /trunk/MagicSoft/Mars/mcalib/MExtractedSignalBlindPixel.cc	(revision 3270)
@@ -69,4 +69,9 @@
   fExtractedSignal    = gkSignalInitializer;
 
+  fPed                = gkSignalInitializer;;      
+  fPedErr             = gkSignalInitializer;;   
+  fPedRms             = gkSignalInitializer;;   
+  fPedRmsErr          = gkSignalInitializer;;  
+  
   fNumSaturated       = 0;
 }
