Cal. Penal Code § 1269b
(e) In adopting a uniform countywide schedule of bail for all bailable felony offenses the judges shall consider the seriousness of the offense charged. In considering the seriousness of the offense charged the judges shall assign an additional amount of required bail for each aggravating or enhancing factor chargeable in the complaint, including, but not limited to, additional bail for charges alleging facts that would bring a person within any of the following sections: Section 667.5, 667.51, 667.6, 667.8, 667.85, 667.9, 667.10, 12022, 12022.1, 12022.2, 12022.3, 12022.4, 12022.5, 12022.53, 12022.6, 12022.7, 12022.8, or 12022.9 of this code, or Section 11356.5, 11370.2, or 11370.4 of the Health and Safety Code.
In considering offenses in which a violation of Chapter 6 (commencing with Section 11350) of Division 10 of the Health and Safety Code is alleged, the judge shall assign an additional amount of required bail for offenses involving large quantities of controlled substances.
(f)
(g) Upon posting bail, the defendant or arrested person shall be discharged from custody as to the offense on which the bail is posted.
All money and surety bonds so deposited with an officer authorized to receive bail shall be transmitted immediately to the judge or clerk of the court by which the order was made or warrant issued or bail schedule fixed. If, in the case of felonies, an indictment is filed, the judge or clerk of the court shall transmit all of the money and surety bonds to the clerk of the court.