Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3374)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3375)
@@ -4,4 +4,14 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/03/01: Nadia Tonello
+
+   * manalysis/MCerPhotEvt.cc
+     - TObject *MCerPhotEvtIter::Next() now returns Used pixels 
+	only if fUsedonly=kTRUE, otherwise it returns all the pixels 
+	in the array  
+ 
+
+
  2004/03/01: Sebastian Raducci
 
Index: trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc	(revision 3374)
+++ trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc	(revision 3375)
@@ -434,5 +434,5 @@
     MCerPhotPix *pix;
     while ((pix = (MCerPhotPix*)TObjArrayIter::Next()))
-        if (pix->IsPixelUsed())
+        if (!fUsedOnly || (fUsedOnly && pix->IsPixelUsed()))
             return pix;
     return pix;
