Son of a railroad engineer with ~40 years of service here. In case it isn't obvious, you can't exactly swerve to avoid stuff with a train. Most heavy freight trains take miles to come to a complete stop after being thrown into Emergency, and I'm fairly certain passenger trains take a pretty good distance to come down from 90 MPH too.
TL;DR: Real stories of train accidents and tidbits of wisdom on choo-choos.
1. Definitely feel bad for the driver. My father hit two kids trying to beat the train at a rural crossing, both were killed instantly. Not only does he have the vivid memory of taking two young lives, but in cases like this the family often tries to sue the railroad. In my father's case, the family was upset that there weren't gates and lights at the crossing, even though it was a dinky road in the middle of nowhere. They ended up suing the railroad, which meant a long string of inquiries, depositions, etc. that just dragged out the whole affair.
I can definitely see something like this happening in this accident; the case will be made that there should have been fences or something around the tracks, especially if it was in an urban area with heavy foot traffic.
To this day, my father refuses to take any shift that would have him on that stretch of track. I highly suspect it's why we moved when I was younger, so he'd have a different central terminal to work out of.
2. It was over fast, Trust me. The worst case scenario for being hit by a train is being thin enough to get pulled under the cowcatcher and dragged, but I've only heard of that happening once and it was a moron kid lying down in the tracks on a dare. Even the heavy locomotives that just haul freight do some pretty rough damage at 35, 40 MPH.
I've probably heard dozens of stories growing up of animals, people, cars, and junk (great entertainment for rednecks) getting hit, and it never ends well for anybody. The two specific stories that best describe this are as follows;
A man went to commit suicide-by-train and stood in the middle of the track, hunched down into a linebacker's stance. The force of the train against his aligned head and spine drove both completely free of his body, and landed about 50 yards away.
For whatever reason (size, behavior, etc) a deer on the tracks more or less explodes from the force of the train against it's body. No mangling, no severing, no dragging. Trains catch deer in just the right way that basically all of the force just blows the deer apart in all directions at once.
3. People are stupid when it comes to trains.
- Because of the way train tracks run to the horizon and the way trains coast over the landscape makes it very difficult to judge speed and distance at a crossing, and impossible in areas where trees grow along the tracks. Trying to beat a train at a crossing is probably the dumbest thing you can do in a car since trains eat cars for breakfast.
- Trains run in both directions all the time, and not always on specified tracks. I know a lot of people think specific tracks are for specific directions, but railroads switch em up all the time.
- Trains stop just before crossings all the time, to keep them clear for traffic. Of course, this means there's a big ass train blocking your view of other trains coming (which is what happened in Spain, of course).
- Trains can run almost 2 miles long and often carry dangerous chemicals (and rarely, radioactive waste). Somebody trying to beat a train or fuck around with the tracks can cause a derailment that can kill hundreds of people; derailing a tank car full of liquid ammonia or chlorine, for example, spills out into the air and kills anyone living nearby.
- Oh yeah, and because they're trying to eliminate jobs, I'll share this little railroad factoid; most of the major railroads are already testing remote controlled locomotives in their yard crews. So there won't even be a guy on the train, just a kid in an office with a remote control and a computer screen running things. And it won't be long before some smart ass kid hacks himself a train and takes a joyride soon.