Charge exchange mass spectrometry at high energy