Index: trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx	(revision 2342)
+++ trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader_2.hxx	(revision 2343)
@@ -240,4 +240,9 @@
   }
 
+  inline void get_viewcone ( Float_t *rmin, Float_t *rmax){
+    *rmin=viewcone_angles[0];
+    *rmax=viewcone_angles[1];
+}
+
   // get the energy range of this run
   inline void get_phi_range ( Float_t *plow, Float_t *pup ) { 
