Investigation of the production of singly charged ions in a rf quadrupole ion trap