Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 5135)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 5136)
@@ -21,4 +21,9 @@
  2004/09/23: Markus Gaug
  
+   * msignal/MExtractBlindPixel.[h,cc]
+     - added enum DataType_t to set in which MRawEvtData container the 
+       blind pixel is found. The container of the blind pixel has changed 
+       from MRawEvtData to MRawEvtData2
+
    * mcalib/MCalibrationBlindCam.[h,cc]
      - added function SetPulserColor which was only available in 
Index: /trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.h
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.h	(revision 5135)
+++ /trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.h	(revision 5136)
@@ -14,4 +14,6 @@
 #endif
 
+class TGraphErrors;
+class TH2D;
 class MCalibrationQECam : public MCalibrationCam
 {
@@ -34,5 +36,5 @@
 
   MArrayD fCorningBlues;                   // Corning blues of the pixels (if available) 
-  MArrayD fCorningReds;                    //o Corning reds  of the pixels (if available) 
+  MArrayD fCorningReds;                    // Corning reds  of the pixels (if available) 
 
 public:
@@ -42,4 +44,10 @@
   void Clear( Option_t *o=""  );
   void Copy ( TObject& object ) const;
+
+  TGraphErrors *GetGraphQEvsCorningBlues() const;
+  TGraphErrors *GetGraphQEvsCorningReds() const;  
+  
+  TH2D *GetHistQEvsCorningBlues( const Int_t nbins=50, const Axis_t first=6., const Axis_t last=17.) const;
+  TH2D *GetHistQEvsCorningReds( const Int_t nbins=50, const Axis_t first=0., const Axis_t last=25.) const;  
   
   // Others
Index: /trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc
===================================================================
--- /trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc	(revision 5135)
+++ /trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc	(revision 5136)
@@ -94,5 +94,6 @@
     : fHiGainSignal(NULL),
       fHiGainFirstDeriv(NULL), 
-      fHiGainSecondDeriv(NULL)
+      fHiGainSecondDeriv(NULL),
+      fDataType(0)
 {
   
@@ -213,5 +214,14 @@
     return kFALSE;
 
-  
+  if (IsDataType(kRawEvt2))
+    fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData2"));
+  else
+    fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData"));
+
+  if (!fRawEvt)
+    {
+      *fLog << err << "MRawEvtData2 or MRawEvtData not found... aborting." << endl;
+      return kFALSE;
+    }
   return kTRUE;
 }
@@ -718,4 +728,16 @@
 // ------------------------------------------------------------------------------------
 //
+// Returns true if the Data type. Available are: kAmplitude, kIntegral and kFilter
+// The flags kIntegral and kFilter may be set both. 
+//
+Bool_t MExtractBlindPixel::IsDataType( const DataType_t typ )
+{
+  
+  return TESTBIT( fDataType, typ );
+
+}
+
+// ------------------------------------------------------------------------------------
+//
 // Returns true if the extraction type. Available are: kAmplitude, kIntegral and kFilter
 // The flags kIntegral and kFilter may be set both. 
@@ -730,4 +752,13 @@
 // --------------------------------------------------------------------------
 //
+// Sets the Data type. Available are: kAmplitude and kIntegral
+//
+void MExtractBlindPixel::SetDataType( const DataType_t typ )
+{
+  SETBIT( fDataType, typ );
+}
+
+// --------------------------------------------------------------------------
+//
 // Sets the extraction type. Available are: kAmplitude and kIntegral
 //
