Ionic charge state measurements in solar energetic particle events