This is interesting: SFist picked up an item from Minnesota about bars working around the smoking ban by holding “theater nights,” where customers can smoke because they are considered “actors.” According to the original story, Minnesota law allows actors to smoke on stage. California’s code is apparently similar.
But you don’t have to wait for theater night. There are a handful of bars in the city at which you can smoke legally, whether they have ventilated-to-code smoking rooms, are owner operated or just don’t care. The following Gridskipper post from last year will get you started on those.