Time duration of output pulse in electron-beam-pumped CdS laser