Index: trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 2848)
+++ trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 2849)
@@ -23,4 +23,18 @@
 !
 \* ======================================================================== */
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// MCerPhotPix
+//
+// Storage container for the signal in a pixel in number of photons.
+//
+// Version 2:
+// Added fIsSaturated, boolean variable set to kTRUE whenever one or more of 
+// the low gain FADC slices of the pixel is in saturation.
+//
+////////////////////////////////////////////////////////////////////////////
+
 #include "MCerPhotPix.h"
 
@@ -37,5 +51,5 @@
 //
 MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) :
-    fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot)
+  fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE)
 {
 } 
@@ -50,4 +64,5 @@
     gLog << (fRing>0?"   Used ":" Unused ");
     gLog << (fIsCore?" Core ":"      ");
+    gLog << (fIsSaturated?" Saturated ":"Not Saturated");
     gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl;
 }
Index: trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 2848)
+++ trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 2849)
@@ -14,4 +14,5 @@
     UShort_t fRing;      // NT: number of analyzed rings around the core pixels (fRing>0 means: used)
     Bool_t   fIsCore;    // the pixel is a Core pixel -> kTRUE
+    Bool_t   fIsSaturated; // the pixel is saturated
 
     Float_t  fPhot;      // The number of Cerenkov photons
@@ -41,4 +42,7 @@
     void     Set(Float_t np, Float_t ep) { fPhot = np; fErrPhot = ep; }
 
+    void     SetPixelSaturated()         { fIsSaturated = kTRUE; }
+    Bool_t   IsPixelSaturated() const    { return fIsSaturated; }
+
     void     AddNumPhotons(Float_t f)    { fPhot += f; }
 
@@ -47,5 +51,5 @@
     void     Print(Option_t *opt = NULL) const;
 
-    ClassDef(MCerPhotPix, 1)  // class containing information about the Cerenkov Photons in a pixel
+    ClassDef(MCerPhotPix, 2)  // class containing information about the Cerenkov Photons in a pixel
 };
 
