All members of the California Highway Patrol may investigate accidents resulting in personal injuries or death and gather evidence for the purpose of prosecuting the person or persons guilty of any violation of the law contributing to the happening of such accident.
Ca. Veh. Code § 2412