Index: trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc	(revision 594)
+++ trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc	(revision 595)
@@ -6,5 +6,5 @@
 
 #include "MCamGeom.h"
-//#include "MCamDisplay.h"
+#include "MCamDisplay.h"
 #include "MHexagon.h"
 
@@ -62,13 +62,10 @@
   // 
   
-  //   MCamDisplay disp(fType)  ; 
+  MCamDisplay *disp = new MCamDisplay(fType)  ; 
   
-  //   for (Int_t i=0; i<fNbPixels; i++)
-  //     {
-  //       disp.SetPixelColor( ((MNphotPix *) fPixels->At(i))->GetPixId(), 
-  // 			  ((MNphotPix *) fPixels->At(i))->GetPhotons()) ; 
-  //     } 
-  //   disp.Draw() ; 
+  disp->Draw( this ) ; 
   
+  //  disp->Draw() ; 
+
 }
 
@@ -106,2 +103,11 @@
 }
   
+Int_t MNphotEvent::GetPixelId(Int_t i ) 
+{ 
+  return ( ( (MNphotPix *) fPixels->At(i))->GetPixId() ) ; 
+} 
+
+Float_t MNphotEvent::GetPhotons(Int_t i ) 
+{ 
+  return ( ( (MNphotPix *) fPixels->At(i))->GetPhotons() ) ; 
+} 
Index: trunk/MagicSoft/Mars/manalysis/MNphotEvent.h
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MNphotEvent.h	(revision 594)
+++ trunk/MagicSoft/Mars/manalysis/MNphotEvent.h	(revision 595)
@@ -62,5 +62,5 @@
   MNphotEvent(const char *name=NULL, const char *title=NULL) ; 
 
-  void Draw(Option_t* option) ; 
+  void Draw(Option_t* option = "" ) ; 
 
   Int_t    GetNbPixels() ; 
@@ -72,5 +72,8 @@
   void Print() ; 
 
-  ClassDef(MNphotEvent, 1)    // class for Nphotons Events
+  Int_t GetPixelId(Int_t i ) ; 
+  Float_t GetPhotons(Int_t i ) ; 
+  
+    ClassDef(MNphotEvent, 1)    // class for Nphotons Events
 };
 
