Energetic particles along the spacecraft trajectories