Cosmic ray neutron

Dear experts:
I tried to reproduce the results in this answer, but I couldn’t get the correct energy spectrum as expected, and the result I got is shown in the figure,


how to count dN/d(logE) in FLUKA

Xuyang dong
Thanks in advance!
Cosmic.inp (2.9 KB)
cydnp.txt (3.6 KB)
source_spectrum.f (10.5 KB)

Dear Xuyang,

you need to have a log-log plot, with the plotted Value set to <X>*Y.

Cheers,
David