implement EG electron selection variables. optimize gen particle information