Gamma rays are a
Single energy from an isotope like cobalt 60, used in the gamma knife.
It is a photon. High energy x-rays are spectral - and these can be delivered by linacs. Sophisticated beam arrangement are done by treatment planning, intensity modulated (imrt) or conformal. Puttng energy into tumor target/avoid tissues that don't need it. Old methods didn't do this.