Internally Detected Electron Photoexcitation Spectroscopy on Heterostructures