First find out the time of flight , that is time between x -ray signal from plasma and the ion pulse reaching detector.Divide the distance of target to ion detector by this time of flight. It will give information about the speed of ion. Its energy can be obtained by calculating 1/2 mV2.
If you are using ion collector then by dividing distance of flight by time of flight (TOF) at the peak of ion signal (which is a combination of ion signals of different charge states) you can calculate most probable ion energy and similarly by dividing distance of flight by TOF at the start and end of ion signal you can get maximum and minimum ion energy respectively. In case you are using ion energy analyzer or any other mass spectrometer, which can resolve ions of various charge states, then by dividing flight distance by TOF of each ion, energy of ions can be calculated.
When applying TOF to reconstruct the ion energy distribution, f(E), you have to take into account the Jacobian of the function, i.e,. g(t)=f(ml2/t2).(dE/dt). dt...See for example G Scoles, Atomic and Molecular Beam Methods, Oxford University Press. (1988)