locomotive class having powered the steam train