Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 4399)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 4400)
@@ -35,4 +35,7 @@
       MHCalibrationChargeBlindCam
     - Getter for fSinglePheCut
+    - adapted Draw for the "datacheck" option
+    - use variable histogram range depending on whether amplitude
+      or integral has been extracted
 
 
Index: /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindCam.h
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindCam.h	(revision 4400)
+++ /trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindCam.h	(revision 4400)
@@ -0,0 +1,66 @@
+#ifndef MARS_MHCalibrationChargeBlindCam
+#define MARS_MHCalibrationChargeBlindCam
+
+#ifndef ROOT_TObjArray
+#include <TObjArray.h>
+#endif
+
+#ifndef MARS_MH
+#include "MH.h"
+#endif
+#ifndef MARS_MCamEvent
+#include "MCamEvent.h"
+#endif
+
+#ifndef MARS_MBadPixelsPix
+#include "MBadPixelsPix.h"
+#endif
+
+class MExtractedSignalBlindPixel;
+class MCalibrationChargeBlindCam;
+class MRawRunHeader;
+class MHCalibrationChargeBlindPix;
+class MHCalibrationChargeBlindCam : public MH
+{
+private:
+
+  MExtractedSignalBlindPixel *fSignal;     //!  Extracted Signal class
+  MCalibrationChargeBlindCam *fCam;        //!  Calibration Cam with the results
+  MRawRunHeader              *fRunHeader;  //!  Run Header
+  
+  TObjArray *fBlindPixelsArray;          //-> Array of calibration pixels, one per pixel
+
+public:
+
+  MHCalibrationChargeBlindCam(const char *name=NULL, const char *title=NULL);
+  ~MHCalibrationChargeBlindCam();
+
+  Bool_t SetupFill( const MParList *pList);
+  Bool_t ReInit   (       MParList *pList);
+  Bool_t Fill     ( const MParContainer *par, const Stat_t w=1);
+  Bool_t Finalize ( );
+
+  // Clone
+  TObject *Clone(const char *) const;
+  
+  // Draw
+  void   Draw(const Option_t *opt);
+  
+  const Int_t    GetSize       ()    const  { return fBlindPixelsArray->GetSize(); }
+  
+      MHCalibrationChargeBlindPix  &operator[]            (UInt_t i);
+  const MHCalibrationChargeBlindPix  &operator[]            (UInt_t i)  const;
+  
+  ClassDef(MHCalibrationChargeBlindCam, 0)	// Histogram class for Blind Pixel Calibration
+};
+
+#endif
+
+
+
+
+
+
+
+
+
