The subjective ability to cope with extraneous noise is really neither here nor there. It's clearly a situation far from ideal for any hotel to be located alongside a suburban railway track.
That said my subjective report is that i quickly become habituated to the noise: just as well, trains pass between eight and twenty times an hour.