A system for irradiating a predetermined target volume in a body with a particle beam is constructed to direct the particle beam at a multiplicity of target points in the body in succession, in order to produce at each of the target points a predetermined dose distribution. For the system there is determined a planning target volume by first determining, in a fictive homogeneous body, a target volume equivalent to the minimum target volume in the body. The equivalent target volume is extended by a safety margin, in order to determine the planning target volume.