gen electron/photon matching