Abstract: A method of detecting a broken foil that closes the opening of the window of the reaction vessel of an apparatus for treating waste gas with irradiation is disclosed. The detection is accomplished by monitoring a change in the window cooling gas.