The mass of each compound can be determined in the chemical ionization mode and detection of positive or negative ions.