Fix Runtime Crashing Issues

* The code has been ported to the new Geant4
* Remaining issues:
   * Material maps are not built, see line 205 in MaterialBudgetData.cc
   * Event number is not printed