| CPC H01J 49/0009 (2013.01) | 13 Claims |

|
1. A mass spectrometer for analyzing a sample, the mass spectrometer comprising:
a frame which is a container having conductivity;
a needle provided in the frame;
an electrode provided apart from the needle in the frame;
a detector configured to detect an ion amount based on electrons that are emitted from an ionized sample generated based on the sample;
a controller configured to display a current amount measured by the detector;
a first power supply configured to apply a first voltage to the needle;
a second power supply configured to apply a second voltage to the electrode;
a first current detection unit connected in series between a ground of the first power supply and the frame; and
a second current detection unit connected in series between a ground of the second power supply and the frame, wherein
the controller respectively determines presence or absence of first electric discharge between the needle and a component of an ion source other than the electrode and presence or absence of second electric discharge between the needle and the electrode based on current amounts respectively measured by the first current detection unit and the second current detection unit.
|