Index: trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader.hxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader.hxx	(revision 735)
+++ trunk/MagicSoft/Simulation/Detector/include-MC/MCEventHeader.hxx	(revision 1065)
@@ -140,4 +140,16 @@
   }
 
+  // get the theta range of this run
+  inline void get_theta_range ( Float_t *thlow, Float_t *thup ) { 
+    *thlow = ThetaMin;   
+    *thup = ThetaMax;
+  }
+
+  // get the energy range of this run
+  inline void get_phi_range ( Float_t *plow, Float_t *pup ) { 
+    *plow = PhiMin;   
+    *pup = PhiMax;
+  }
+
   // get the core position
   inline Float_t get_core ( Float_t *x, Float_t *y, Int_t ncore = 0 ) {
