I lost my mind in San Francisco

Somewhere near Pennsylvania Railroad locomotive classification I got lost in: