The efficiency of the existing systems of introscopy, tomography and customs control is largely determined by the loss of quanta of bremsstrahlung radiation in systems to collimation, especially in the primary collimator. This article discusses a system of preliminary "cooling" of an electron beam and a decrease in the angular divergence of the flux of quanta due to multiple passes of the electron beam in a chamber placed in a transverse magnetic field. "Cooling" of the electron beam is provided by a special configuration of the magnetic field. In the proposed scheme, the phase portrait undergoes the simplest changes, namely, it increases abruptly in the foil, as if "stretching" in the vertical direction, but then, as it were, "rotates" around the origin, while reaching a horizontal position after "focusing". Thus, the transverse dimensions of the beam increase, and the angular spread, at least, does not increase, as without "cooling".