I am going to use the Cosmic-ray Shower Library (CRY) to be my source particle. The spectra is like this to some extent.
The way I “link” the CRY and Geant4 is like this:
However , in terms of uniform sampling of neutrons, The probability of being at the point(10^-7Mev) is approximately seventeen orders of magnitude higher than the probability of being at the point(10^6Mev).
So， I really want to increase the sampling of the high energy of neutrons and reduce these particles weight at the same time which is like “sb card” in MCNP.
Would you please help me ?Any help will be greatly appreciated. Wish you have a nice day!
By the way, I am not smart because of my poor level of c++ and everything… if you have any suggestions for me, please give us as much detail as possible. Thank you