A type of mass spectrometry that involves bombarding a sample with high-energy electrons to generate charged ions.