This PDF summarizes smoking laws around the country. California starts on page 8:
http://www.boma.org/SiteCollectionDocuments/Org/Docs/Advocacy/PublicPlaceSmokingLaws.pdf
The PDF doesn't mention the 50 feet number, but what I've heard in the past is that you can be asked to move if you're...