Characterization of deposited films and the electron beam generated in the pulsed plasma deposition gun