an instrument for analyzing ionized particles by passing them through electric and magnetic fields, typically designed to focus particles of equal mass to a point where they are detected: used esp. to determine the abundance of chemical compounds or isotopes