%0 Report %A Moya Zamanillo, Victor %A Rosado Vélez, Jaime %A Arqueros Martínez, Fernando %T Implementation of x-rays production in legpy %J ArXiv, Physics, Accelerator Physics %D 2025 %U https://hdl.handle.net/20.500.14352/124412 %X The LegPy package has been upgraded by including the production of X-ray fluorescence based on a simple model. Several tests have been done to check the validity of our approximations. This simple model has been sufficient to fix severe deviations of LegPy with respect to the well-established code PENELOPE in those particular cases for which fluorescence emission has a relevant impact. %~