Index: trunk/MagicSoft/Simulation/Detector/include-CORSIKA/COREventHeader.hxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-CORSIKA/COREventHeader.hxx	(revision 411)
+++ trunk/MagicSoft/Simulation/Detector/include-CORSIKA/COREventHeader.hxx	(revision 412)
@@ -193,4 +193,15 @@
                               ((CorePos[1][ncore])*(CorePos[1][ncore])) ) );
   }
+
+  // get the coreX position
+  inline Float_t get_coreX ( Int_t ncore = 0 ) {
+    return ( CorePos[0][ncore] ) ; 
+  }
+
+  // get the coreY position
+  inline Float_t get_coreY ( Int_t ncore = 0 ) {
+    return ( CorePos[1][ncore] ) ; 
+  }
+
 
   // show the seeds in the console
