Dynamically assisted gated trapping for Fourier transform ion cyclotron mass spectrometry.