Add n_photons and beam_cross_section in input.