Code for electron track reconstruction studies