Method for determining the thickness (d1, d2) of a contaminating layer (13) and/or the type of a contaminating material on a surface (7) in an optical system, in particular on a surface (7) in an EUV lithography system (101), comprising:
- irradiating the surface (7) on which plasmonic nanoparticles (8a,b) are formed with measurement radiation (10),
- detecting the measurement radiation (10a) scattered at the plasmonic nanoparticles (8a,b), and
- determining the thickness (d1, d2) of the contaminating layer (13) and/or the type of the contaminating material on the basis of the detected measurement radiation (10a).