When a cavity is in the beam line it cuts the beam in longitudinal direction.
Run the Injector 2 with cavities in.
injector_2