Mass quadrupole spectrometry applied to laser-produced plasmas and microwave ignited plasmas