RT Journal Article T1 An easy tool for the Monte Carlo simulation of the passage of photons and electrons through matter A1 Moya Zamanillo, Victor A1 Rosado Vélez, Jaime A1 Arqueros Martínez, Fernando AB A simple Monte Carlo (MC) algorithm for the simulation of the passage of low-energy gamma rays and electrons through any material medium is presented. The algorithm includes several approximations that accelerate the simulation while maintaining reasonably accurate results. Notably, pair production and Bremsstrahlung are ignored, which limits the applicability of the algorithm to low energies (≲5MeV, depending on the medium). Systematic comparisons for both photons and electrons have been made against the MC code PENELOPE and experimental data to validate the algorithm, showing deviations in the deposited energy smaller than or around 10% in the energy interval of 0.1–5 MeV in light media. The simulation is also valid for heavy media, but with less accuracy as a consequence of the abovementioned approximations. Also X-ray fluorescence is ignored leading to some limitations for photons with energies slightly over the K-shell. The algorithm has been implemented in an open-source Python package called LegPy, which provides an easy-to-use framework for rapid MC simulations aiming to be useful for applications that do not require the level of detail of available well-established MC programs. PB Elsevier SN 1350-4487 YR 2023 FD 2023-10-16 LK https://hdl.handle.net/20.500.14352/103006 UL https://hdl.handle.net/20.500.14352/103006 LA eng NO Víctor Moya, Jaime Rosado, Fernando Arqueros, An easy tool for the Monte Carlo simulation of the passage of photons and electrons through matter, Radiation Measurements, Volume 169, 2023, 107029, ISSN 1350-4487, https://doi.org/10.1016/j.radmeas.2023.107029. NO 2023 Acuerdos transformativos CRUE NO Agencia Estatal de Investigación (España) NO NextGenerationEU DS Docta Complutense RD 12 abr 2025