A device (1, 1', 60, 60', 70, 80) for performing an analysis of a lump of dough (2, 2', 2", 30, 61, 61', 71), wherein said device comprising: a distance sensor (3, 12, 33) configured for contactless measuring a distance (d, d') between the device (1, 1', 60, 60', 70, 80) and a surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), and a nozzle (4, 53, 63, 73, 81 - 85) configured for directing a jet (5, 35, 64, 74, 86 - 90) of pressurized fluid to a position (6, 93) on the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the jet (5, 35, 64, 74, 86 - 90) of pressurized fluid is configured for providing a deformation of the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the distance sensor (3, 12, 33) is arranged for measuring the distance (d, d') between the device (1, 1', 60, 60', 70, 80) and the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71) where the jet (5, 35, 64, 74, 86 - 90) of pressurized fluid is and/or has been directed to for monitoring a development and/or a decrease or removal of the deformation of the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the distance sensor (3, 12, 33) comprises: an illuminating beam source for projecting a light beam at least to the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), and a light collecting unit for receiving light reflected from said surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the light collecting unit is configured for providing a measure of the distance (d, d') between the light collecting unit and the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71) where the light beam impinges on said surface, and wherein the device (1, 1', 60, 60', 70, 80) comprises a supply tube for supplying said fluid, wherein said supply tube comprises a first branch for providing at least part of said fluid in the supply tube to the light collecting unit for blowing dust away from the light collecting unit, or wherein the device (1, 1', 60, 60', 70, 80) comprises a first supply tube for supplying said fluid, and a second supply tube for supplying a cleaning fluid to the light collecting unit for blowing dust away from the light collecting unit. a distance sensor (3, 12, 33) configured for contactless measuring a distance (d, d') between the device (1, 1', 60, 60', 70, 80) and a surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), and a nozzle (4, 53, 63, 73, 81 - 85) configured for directing a jet (5, 35, 64, 74, 86 - 90) of pressurized fluid to a position (6, 93) on the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the jet (5, 35, 64, 74, 86 - 90) of pressurized fluid is configured for providing a deformation of the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the distance sensor (3, 12, 33) is arranged for measuring the distance (d, d') between the device (1, 1', 60, 60', 70, 80) and the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71) where the jet (5, 35, 64, 74, 86 - 90) of pressurized fluid is and/or has been directed to for monitoring a development and/or a decrease or removal of the deformation of the surface of said lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the distance sensor (3, 12, 33) comprises: an illuminating beam source for projecting a light beam at least to the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), and a light collecting unit for receiving light reflected from said surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the light collecting unit is configured for providing a measure of the distance (d, d') between the light collecting unit and the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71) where the light beam impinges on said surface, and wherein the device (1, 1', 60, 60', 70, 80) comprises a supply tube for supplying said fluid, wherein said supply tube comprises a first branch for providing at least part of said fluid in the supply tube to the light collecting unit for blowing dust away from the light collecting unit, or wherein the device (1, 1', 60, 60', 70, 80) comprises a first supply tube for supplying said fluid, and a second supply tube for supplying a cleaning fluid to the light collecting unit for blowing dust away from the light collecting unit. an illuminating beam source for projecting a light beam at least to the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), and a light collecting unit for receiving light reflected from said surface of the lump of dough (2, 2', 2", 30, 61, 61', 71), wherein the light collecting unit is configured for providing a measure of the distance (d, d') between the light collecting unit and the position (6, 93) on the surface of the lump of dough (2, 2', 2", 30, 61, 61', 71) where the light beam impinges on said surface, and wherein the device (1, 1', 60, 60', 70, 80) comprises a supply tube for supplying said fluid, wherein said supply tube comprises a first branch for providing at least part of said fluid in the supply tube to the light collecting unit for blowing dust away from the light collecting unit, or wherein the device (1, 1', 60, 60', 70, 80) comprises a first supply tube for supplying said fluid, and a second supply tube for supplying a cleaning fluid to the light collecting unit for blowing dust away from the light collecting unit.