Update lhc_simulator.c