Mass spectrometry doesn't use electromagnetic radiation, hence why it is not called Mass spectroscopy. Instead Mass spectrometry uses high energy electrons to ionize the sample molecules, which helps determine the mass of the molecules and any fragmented ions from the parent ion.