A Novel Method of Studying Ion Formation and Fragmentation Using a Modified Time-of-Flight Mass Spectrometer