<p>A mass spectrometer is disclosed wherein a signal output from an ion detector is digitised using an Analogue to Digital Converter. A background or baseline level is dynamically subtracted from the digitised signal whilst the time of flight data is still being acquired. A threshold is also applied dynamically to the digitised signal in order to reduce electronic noise.</p>