Add an enum ElectronType to store candidate type