Secondary electron spectra from charged particle interactions