Each county jail must contain a sufficient number of rooms to allow all persons belonging to either one of the following classes to be confined separately and distinctly from persons belonging to either of the other classes:
1. Persons committed on criminal process and detained for trial;
2. Persons already convicted of crime and held under sentence;
3. Persons detained as witnesses or held under civil process, or under an order imposing punishment for a contempt.
(Amended by Stats. 1975, Ch. 592.)