Particle beam therapy is increasingly being used to treat many types of cancer. It consists in subjecting tumours to beams of high-energy charged particles such as protons. Although more targeted than conventional radiotherapy using X-rays, this approach still damages surrounding normal tissue. To design the optimum treatment plan for each patient, it is essential to know the energy of the beam and its effect on tumour and normal tissue alike.