In most cases, the officer will write you a traffic ticket and ask you to sign it before he gives you your copy. By signing, you are not admitting guilt; you are simply agreeing to appear in court. The appearance date is noted on the front of the ticket.
http://www.dmv.org/ca-california/traffic-tickets.php#Getting_Stopped