Magneto-radiotherapy is the application of magnetic fields during radiotherapy procedures. It aims to improve the quality of cancer treatment by using magnetic fields to alter the dose-deposition of secondary electrons in tissue. This work compares the performance of PENELOPE and EGS4 MC codes for magnetic fields applied to conventional photon beams. It also investigates the effect of a magnetic field on the electron spectrum and explores the novel idea of applying magnetic fields to MRT (Microbeam Radiation Therapy) for the treatment infantile brain tumours