Index: trunk/MagicSoft/Mars/mtemp/mifae/Changelog
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4527)
+++ trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4528)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/08/04 Javier Rico
+    * library/MIslands.[cc]
+     - Correct tiny compilation error
+    
+    * library/MDisplay.cc, library/MHillasDisplay.[h,cc]
+     - Print hillas source position dependent stuff
 
  2004/08/03 Ester Aliu Fusté
Index: trunk/MagicSoft/Mars/mtemp/mifae/library/MDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/library/MDisplay.cc	(revision 4527)
+++ trunk/MagicSoft/Mars/mtemp/mifae/library/MDisplay.cc	(revision 4528)
@@ -123,5 +123,5 @@
 
   // update the display contents
-  fDisplay->SetCamContent(*fCamEvent);
+  fDisplay->SetCamContent(*fCamEvent,fDisplayType);
   fCanvas->GetPad(1)->Modified();
   fCanvas->GetPad(1)->Update();
Index: trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc	(revision 4527)
+++ trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.cc	(revision 4528)
@@ -57,4 +57,5 @@
 #include "MGeomCam.h"
 #include "MHillas.h"
+#include "MHillasSrc.h"
 #include "MNewImagePar.h"
 #include "MSrcPosCam.h"
@@ -73,5 +74,5 @@
 //
 MHillasDisplay::MHillasDisplay(MCerPhotEvt* event, MGeomCam* geom, Int_t type, const char* name, const char* title) 
-  :  MDisplay(event,geom,type), fHillas(NULL), fNewImage(NULL), fSrcPos(NULL), fIslands(NULL)
+  :  MDisplay(event,geom,type), fHillas(NULL), fHillasSrc(NULL), fNewImage(NULL), fSrcPos(NULL), fIslands(NULL)
 {
   fName  = name  ? name  : gsDefName.Data();
@@ -99,4 +100,9 @@
     }
 
+  // Look for src dependent hillas parameters container
+  if(!fHillasSrc)
+    fHillasSrc = (MHillasSrc*)pList->FindObject(AddSerialNumber("MHillasSrc"), "MHillasSrc");
+
+
   // Look for the MNewImagePar container  
   if(!fNewImage)
@@ -133,4 +139,6 @@
       if(fHillas)
 	fHillas->Print();
+      if(fHillasSrc)
+	fHillasSrc->Print();
       if(fNewImage)
 	fNewImage->Print();
Index: trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h	(revision 4527)
+++ trunk/MagicSoft/Mars/mtemp/mifae/library/MHillasDisplay.h	(revision 4528)
@@ -10,4 +10,5 @@
 class MGeomCam;
 class MHillas;
+class MHillasSrc;
 class MIslands;
 class MNewImagePar;
@@ -17,4 +18,5 @@
  private:
   MHillas*      fHillas;    // pointer to container with the hillas parameters
+  MHillasSrc*   fHillasSrc; // pointer to container with source dependent hillas parameters
   MNewImagePar* fNewImage;  // pointer to container with the new image parameters
   MSrcPosCam*   fSrcPos;    // pointer to the source position in camera
Index: trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc
===================================================================
--- trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc	(revision 4527)
+++ trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc	(revision 4528)
@@ -59,5 +59,5 @@
 // Print the island parameters to *fLog
 //
-void MIslands::Print(Option_t *opt=NULL) const
+void MIslands::Print(Option_t *opt) const
 {
     *fLog << all;
