The invention relates to a radiation system for generating a beam of radiation. The radiation system includes an extreme ultraviolet source constructed and arranged to generate extreme ultraviolet radiation, a contamination barrier constructed and arranged to trap contamination from the radiation source, and a temperature sensor constructed and arranged to sense a temperature of the contamination barrier.