ROSI and GEANT4 – A comparison in the context of high energy X-ray physics