A fast data acquisition system for the study of transient events by high repetition rate time-of-flight mass spectrometry