I feel for you. I used to live down near the railroad tracks. It’s completely unnecessary for them to honk the horn so much during the middle of the night. You should complain to the city about it. Some towns have passed local ordinances to ban or limit it.