The probability of pair production is proportional to the energy of the incoming photons and is affected by the material's atomic number. Pair production usually happens with energy levels over 25 MeV. Pair production happens sometimes in radiation therapy treatments with high-energy photon beams.