Process mass spectrometer for direct analysis