A method comprising: cleaning at least one workpiece, which is held in a treatment container by a workpiece carrier, by means of at least one nozzle which emits a cleaning jet directed at the workpiece, wherein the cleaning comprises: specifying a rotational speed (ω31) of the workpiece carrier and an orbital speed (ω21) of the at least one nozzle on an orbit around the workpiece carrier; rotating the workpiece carrier at the specified rotational speed (ω31); and moving the at least one nozzle at the specified orbital speed (ω21) around the workpiece carrier and pivoting the at least one nozzle by a pivoting device about a pivoting axis (B-B) parallel to an axis of rotation (A-A) of the workpiece carrier, in such a way that a predetermined point on a surface of the workpiece is repeatedly hit by the cleaning jet within a predetermined period of time, each time at a different angle, characterized in that the at least one nozzle is arranged on a nozzle pipe, and wherein the pivoting device comprises: a non-circular cam track; a lever arrangement which is coupled between the cam track and the nozzle pipe and which is designed to set a pivoting angle of the nozzle pipe depending on a current radial distance of the nozzle pipe from the cam track. cleaning at least one workpiece, which is held in a treatment container by a workpiece carrier, by means of at least one nozzle which emits a cleaning jet directed at the workpiece, wherein the cleaning comprises: specifying a rotational speed (ω31) of the workpiece carrier and an orbital speed (ω21) of the at least one nozzle on an orbit around the workpiece carrier; rotating the workpiece carrier at the specified rotational speed (ω31); and moving the at least one nozzle at the specified orbital speed (ω21) around the workpiece carrier and pivoting the at least one nozzle by a pivoting device about a pivoting axis (B-B) parallel to an axis of rotation (A-A) of the workpiece carrier, in such a way that a predetermined point on a surface of the workpiece is repeatedly hit by the cleaning jet within a predetermined period of time, each time at a different angle, characterized in that the at least one nozzle is arranged on a nozzle pipe, and wherein the pivoting device comprises: a non-circular cam track; a lever arrangement which is coupled between the cam track and the nozzle pipe and which is designed to set a pivoting angle of the nozzle pipe depending on a current radial distance of the nozzle pipe from the cam track. specifying a rotational speed (ω31) of the workpiece carrier and an orbital speed (ω21) of the at least one nozzle on an orbit around the workpiece carrier; rotating the workpiece carrier at the specified rotational speed (ω31); and moving the at least one nozzle at the specified orbital speed (ω21) around the workpiece carrier and pivoting the at least one nozzle by a pivoting device about a pivoting axis (B-B) parallel to an axis of rotation (A-A) of the workpiece carrier, in such a way that a predetermined point on a surface of the workpiece is repeatedly hit by the cleaning jet within a predetermined period of time, each time at a different angle, characterized in that the at least one nozzle is arranged on a nozzle pipe, and wherein the pivoting device comprises: a non-circular cam track; a lever arrangement which is coupled between the cam track and the nozzle pipe and which is designed to set a pivoting angle of the nozzle pipe depending on a current radial distance of the nozzle pipe from the cam track. a non-circular cam track; a lever arrangement which is coupled between the cam track and the nozzle pipe and which is designed to set a pivoting angle of the nozzle pipe depending on a current radial distance of the nozzle pipe from the cam track.