Irradiating fumes with electron or light beams