Physica medica : PM : an international journal devoted to the applications of physics to medicine and biology : official journal of the Italian Association of Biomedical Physics (AIFB). 93
To evaluate the accuracy of electron transport in the magnetic field of Electron Gamma Shower version 5 (EGS5) by using the special Fano cavity test.To simulate electron transport in the magnetic field, the trajectory of the electron was reconstructed with a short step length to restrict fractional energy loss, and the maximum user step length (mxustep) was set at 0.01 cm or 0.001 cm. For the special Fano cavity test, three-layer slab Fano test geometry was used, and uniform and isotropic per unit mass mono-energetic electrons with 0.01, 0.1, 1.0, and 10 MeV were permitted from the central axis of geometry in 0.35 T and 1.5 T. Furthermore, the magnetic field strength was scaled based on the mass density of the material. The relative difference between the calculated dose to gap and the theoretical value was evaluated. Furthermore, the special Fano cavity test was also performed using EGSnrc with the electron-enhanced electric and magnetic field macros under the same conditions, and the results were compared with those of EGS5.Deviations in 0.35 T were within 0.3% regardless of the parameter settings. In 1.5 T, stable results within 0.3% were obtained using 0.001 cm as the mxustep, except for one at 10 MeV. Further, the accuracy of EGSnrc was within 0.2%, except for 10 MeV for a 0.2-cm gap in 1.5 T.EGS5 with the appropriate parameter settings enable electron transport in magnetic fields similar with the accuracy of EGSnrc.