Gas chromatography–mass spectrometry
After the molecules travel the length of the column, pass through the transfer line and enter into the mass spectrometer they are ionized by various methods. Typically only one ionization method being used at any given time.  Once the sample is fragmented it will then be detected, usually by an electron multiplier diode. The diode treats the ionized mass fragment like an electrical signal that is then detected.