High resolution spectrometry for relativistic heavy ions