Index: trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 3446)
+++ trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 3466)
@@ -41,4 +41,8 @@
 //  - added fIsSaturated
 //
+// Version 4:
+// ----------
+//  - added fIsHGSaturated
+//
 ////////////////////////////////////////////////////////////////////////////
 #include "MCerPhotPix.h"
@@ -56,5 +60,5 @@
 //
 MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) :
-  fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE)
+  fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE)
 {
 } 
@@ -69,4 +73,5 @@
     gLog << (fRing>0?"   Used ":" Unused ");
     gLog << (fIsCore?" Core ":"      ");
+    gLog << "High gain " << (fIsHGSaturated?"   ":"not") << " saturated";
     gLog << (fIsSaturated?"   ":"Not") << " saturated";
     gLog << " Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl;
Index: trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 3446)
+++ trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 3466)
@@ -18,5 +18,6 @@
     Float_t  fErrPhot;   // the error of fPhot
 
-    Bool_t   fIsSaturated; // the pixel is saturated
+    Bool_t   fIsSaturated;   // the pixel's low gain is saturated
+    Bool_t   fIsHGSaturated; // the pixel's high gain is saturated
 
     // FIXME: arrival time t, and it's error sigma t
@@ -48,4 +49,7 @@
     Bool_t   IsPixelSaturated() const    { return fIsSaturated; }
 
+    void     SetPixelHGSaturated()         { fIsHGSaturated = kTRUE; }
+    Bool_t   IsPixelHGSaturated() const    { return fIsHGSaturated; }
+
     void     AddNumPhotons(Float_t f)    { fPhot += f; }
 
@@ -54,5 +58,5 @@
     void     Print(Option_t *opt = NULL) const;
 
-    ClassDef(MCerPhotPix, 3)  // class containing information about the Cerenkov Photons in a pixel
+    ClassDef(MCerPhotPix, 4)  // class containing information about the Cerenkov Photons in a pixel
 };
 
