Electron identification using a synchrotron radiation detector