Electron PID using a Likelihood method