Dose Kernel question

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!

_Geant4 Version:_11.0.2
_Operating System:_ubuntu
_Compiler/Version:_GNU 13.3.0
_CMake Version:_3.28.3


I am trying to work on dose kernels. However, the result I’m getting does not look exactly like what I find online.

This is what I get for 6MeV photon.

The code is here: GitHub - Rohit9987/kernel_geant4 at radial_coordinates_SA

Can anyone advise if this is how it should be or any suggestions for altering the code?

Thank you,
R.