The beam of electrons represented by the broken lines 31 is bent through 90 and can either impinge on a target assembly 16 to produce X-rays or be bent in such a manner as to by-pass the target and emerge through a window along the axis of the existing collimating system