Detection of energetic heavy ions