What the heck is this thing on some steam locomotives? using t&p 610 as an example

cityphoto 0 0

What the heck is this thing on some steam locomotives? using t&p 610 a…