Characterization of a pulsed electron beam with a planar charge collector