Linac simulation.