Mass spectrometer in which the ions to be detected, with a selected value of m/z, absorb energy through the effect of a high-frequency electric field and a constant magnetic field perpendicular to the electric field. Maximum energy is gained by the ions that satisfy the cyclotron resonance condition and as a result they are separated from ions of different m/z