1. A device for carrying out irradiation of a moving object, the device comprising: a beam outlet configured to direct a treatment beam onto the moving object, an imaging unit comprising an x-ray detector and an x-ray emitter opposite the x-ray detector, the imaging unit being operable to be positioned around the moving object independently of a position of the beam outlet, the imaging unit being configured to record x-ray images from different directions by moving the imaging unit relative to the position of the beam outlet, the moving and the recording occurring during application of the treatment beam, a computer unit configured to reconstruct a series of digital tomosynthesis images of the moving object from the recorded x-ray images, the reconstruction being performed online, and a control unit configured to evaluate at least some of the digital tomosynthesis images and to control an irradiation profile based on the evaluation.