Here’s a link to a report by the UK Rail Accident Investigation Branch about a train that struck a worker near the tracks:

How do you keep your workers safe from moving vehicles?

One interesting point in this report was that the train’s horn probably could not be heard by the track workers because of the noise generated by the equipment they were using.