The trigger system of the CHORUS experiment