notice the slot between tracks?
Seems that (flat) Market Street 'streetcars'/trams, Not-trolleys ... were cable cars!
They do work on the flats, of course, but the expense. Maybe they did beat out a maze of overhead wires, when all the costs were plotted.
I used to wander all over Market as a tad; seem to have missed in this the Powell St. entry (on left) which later featured a turntable, where most tourist photos happened: you could help the brakeman, driver turn the sucker around!
Ladies, in no uniform for hustling -- playing chicken with the photg car!!