Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3378)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3379)
@@ -4,4 +4,16 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/03/02: Abelardo Moralejo
+
+   * mmc/MMcCorsikaRunHeader.[h,cc]
+     - Added operator [] to get references to the objects in 
+       TObjArray fTelescopes.
+     - Added Print() function.
+
+   * mgeom/MGeomCorsikaCT.[h,cc]
+     - Added getter functions for telescope coordinates.
+     - Added Print() function.
+
 
  2004/03/02: Thomas Bretz
Index: trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.cc	(revision 3378)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.cc	(revision 3379)
@@ -65,2 +65,12 @@
   fCTfocal=ctfocal;
 }
+// --------------------------------------------------------------------------
+//
+// Print the geometry information of one pixel.
+//
+void MGeomCorsikaCT::Print(Option_t *opt) const
+{ 
+    //   information about a telescope
+  *fLog << all << "x = " << fCTx << ", y = " << fCTy << ", z = " 
+	<< fCTz << " cm " << endl;
+}
Index: trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.h
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.h	(revision 3378)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.h	(revision 3379)
@@ -18,5 +18,5 @@
     Float_t fCTtheta; // 
     Float_t fCTphi;   //
-    Float_t fCTdiam;  // Diamiter where the Cph are stored at MMCs level
+    Float_t fCTdiam;  // Diameter where the Cph are stored at MMCs level
     Float_t fCTfocal; // Focal of the CT
 
@@ -25,7 +25,13 @@
     MGeomCorsikaCT(const char *name=NULL, const char *title=NULL);
 
+    void Print(Option_t *opt=NULL) const;
+
     void Fill(Float_t ctx, Float_t cty, Float_t ctz,
 	      Float_t cttheta, Float_t ctphi,
 	      Float_t ctdiam, Float_t ctfocal);
+
+    Float_t GetCTx() { return fCTx; }
+    Float_t GetCTy() { return fCTy; }
+    Float_t GetCTz() { return fCTz; }
 
     ClassDef(MGeomCorsikaCT, 1)  // class containing information about CTelescope
