Three families of superconducting cavities accelerate the beam to its final energy of 2 GeV, firstly a section using double-spoke cavities up to an energy of ~216 Mev, then two families of elliptical cavities which are optimized for medium and high energy proton acceleration at a frequency of 704.42 MHz. Following the elliptical cavities, a transfer-line guides the beam to the target, and just before sending the beam to the target for producing spallation neutrons expands the beam and paints the target to dissipate the generated heat over a larger area.