A B&M Pacific 4-6-2. Did this photo have a date on it? It'd be a late Thirties to mid Fifties time span.
https://www.lacityhistory.org/events/2021/01/13/webinar-a-talk-with-jared-nigro The tracks at LAUPT are stub-ended, so if a train cannot stop, this is what happens.