Index: /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 2055)
+++ /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc	(revision 2056)
@@ -23,5 +23,4 @@
 !
 \* ======================================================================== */
-
 #include "MCerPhotPix.h"
 
@@ -42,17 +41,4 @@
 // --------------------------------------------------------------------------
 //
-// Sets the information of one pixel.  The pixel is assumed as used and
-// not a core pixel.
-//
-void MCerPhotPix::SetPixelContent(Int_t pix, Float_t phot, Float_t errphot)
-{
-    fPixId   = pix;
-    fRing    = 1;
-    fPhot    = phot;
-    fErrPhot = errphot;
-}
-
-// --------------------------------------------------------------------------
-//
 //  Print information to gLog.
 //
@@ -64,17 +50,2 @@
     gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl;
 }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 2055)
+++ /trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h	(revision 2056)
@@ -12,8 +12,7 @@
     Int_t    fPixId;     // the pixel Id
 
-    UShort_t fRing;      // NT: number of analyzed rings around the core pixels
-    Bool_t   fIsCore;    // the pixel is a Core pixel          --> kTRUE
+    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
 
-    UShort_t fRing;      // NT: number of analyzed rings around the core pixels
     Float_t  fPhot;      // The number of Cerenkov photons
     Float_t  fErrPhot;   // the error of fPhot
@@ -28,10 +27,10 @@
     Float_t  GetErrorPhot() const        { return fErrPhot; }
 
-    Bool_t   IsPixelUsed() const      { return fRing>0; }
-    void     SetPixelUnused()         { fRing=0; }
-    void     SetPixelUsed()           { fRing=1; }
+    Bool_t   IsPixelUsed() const         { return fRing>0; }
+    void     SetPixelUnused()            { fRing=0; }
+    void     SetPixelUsed()              { fRing=1; }
 
-    void     SetRing(UShort_t r)      { fRing = r;   }
-    Short_t  GetRing() const          { return fRing;}
+    void     SetRing(UShort_t r)         { fRing = r;   }
+    Short_t  GetRing() const             { return fRing;}
 
     void     SetPixelCore()              { fIsCore = kTRUE; }
