A magnetic tracking system is particularly adapted for a combination with an imaging system, for example with a rotational X ray device. The magnetic tracking system includes pairs of first and second field generators that are disposed on opposite sides of a measuring volume. The first field generators may particularly be attached to a radiation source and the second field generators to a detector of the X ray device. Moreover, the first and second field generators may be constituted by coils with opposite magnetic polarity. Due to the attachment of the field generators to the X ray device, motions of the X ray device do not disturb the magnetic field in a frame of reference fixed to the imaging system.