Electrooptically switched multipass system for laser scattering diagnostics