Program working (but very slow). The execution must be done without any visualization macros <*.mac>, then use the commands </run/beamOn N>, </vis/open vis_driver>. Added the resulting <*.root> file with energy and time histos, and the datasheet of the scintillator (since its usefull to compare with the results of the simulation).