1. A device for mass spectrometry comprising: a) an ionization source; b) a mass analyzer fluidly coupled to the ionization source; c) an electronic data acquisition system for processing signals provided by the mass analyzer; whereas the electronic data acquisition system comprises d) at least one analog-to-digital converter producing digitized data from the signals obtained from the mass analyzer; e) a fast processing unit receiving the digitized data from said analog-to-digital converter; wherein f) the fast processing unit is programmed to continuously, in real time inspect the digitized data for events of interest measured by the mass spectrometer; and g) the electronic data acquisition system is programmed to forward the digitized data representing mass spectra relating to events of interest for further analysis and to reject the digitized data representing mass spectra not relating to events of interest.