Interplanetary ions during an energetic storm particle event - The distribution function from solar wind thermal energies to 1.6 MeV