Index: trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx	(revision 1597)
+++ trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx	(revision 1598)
@@ -185,4 +185,7 @@
   // get information about the EventHeader
 
+  // get the event number
+  inline Float_t get_evt_number (void) {return EvtNumber;}
+
   // get the primary type (GEANT code)
   inline Float_t get_primary ( void ) { return ( PrimaryID ); }
@@ -190,5 +193,14 @@
   // get the total primary energy
   inline Float_t get_energy ( void ) { return ( Etotal ); }
-  
+
+  // get Thick0
+  inline Float_t get_thick0 (void) { return Thick0;}
+
+  // get First Target
+  inline Float_t get_first_target (void) {return FirstTarget;}
+
+  // get z first interaction
+  inline Float_t get_z_first_int (void) {return zFirstInt;}
+
   // get the initial zenith angle
   inline Float_t get_theta ( void ) { return ( Theta ); }
@@ -295,4 +307,13 @@
     *t2 = TimeLast;
     return ( TimeLast - TimeFirst );
+  }
+
+  inline Float_t get_NKGfit(Float_t *Nmax, Float_t *t0, Float_t *tmax,
+			    Float_t *a,    Float_t *b,  Float_t *c){
+    *Nmax=longi_Nmax; *t0=longi_t0; *tmax=longi_tmax;
+    *a=longi_a;       *b=longi_b;   *c=longi_c;
+    
+    return longi_chi2;
+
   }
 
