Except in the RFQ which uses the same structure and field to accelerate and focus the beam, the transverse focusing of the beam of protons is performed using magnetic lenses. In the low energy beam transport, right after the ion source, magnetic solenoids are used, in the DTL permanent quadrupole magnets are used and the rest of the linac uses electromagnetic quadrupoles.