Compact ultrafast orthogonal acceleration time-of-flight mass spectrometer for on-line gas analysis by electron impact ionization and soft single photon ionization using an electron beam pumped rare gas excimer lamp as VUV-light source.