Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 3071)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 3072)
@@ -10,4 +10,7 @@
       single and double phe events
 
+  * mcalib/MCalibrationCalc.cc
+    - fill histograms of single-phe events with higain and logain
+      sampls
 
 
Index: /trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc	(revision 3071)
+++ /trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc	(revision 3072)
@@ -87,4 +87,5 @@
 
 #include <TSystem.h>
+#include <TH1.h>
 
 #include "MLog.h"
@@ -527,4 +528,17 @@
                   "Overflow or Underflow occurred filling Blind Pixel sum = " << blindpixelsumhi << endl;
               
+              Byte_t *hiptr = pixel.GetHiGainSamples();
+              Byte_t *loptr = pixel.GetHiGainSamples();
+              
+              TH1I *hist = blindpixel.GetSinglePheFADCSlices();
+
+              if (blindpixelsumhi > 100.)
+                {
+                  for (Int_t i=0;i<15;i++)
+                    hist->Fill(i,*hiptr++);
+                  for (Int_t i=15;i<30;i++)
+                    hist->Fill(i,*loptr++);
+                }
+              
             } /* if use blind pixel */
           
