Anyone know what this is?

Amazing. Never new locomotives had such a thing.