A Segmented Time-of-Flight Mass Spectrometer