Dear FLUKA experts,
with the essential help of some of you I could modify and compile mgdraw_empty.f
to write the phase-space coordinates of protons crossing the border between two regions in ASCII files. The suggested code inserted in the modified user routine, which I attach here, includes writing ETRACK
, which I read in the FLUKA manual should be the particle energy. However, the number I obtain for propagation of, e.g., 100 MeV protons in vacuum is 1.0382723100000000E+00
. In which units is it? Or even, is it legitimate to write ETRACK
from inside BXDRAW
?
Thank you in advance for your replies,
Enrico
mgdraw_test.f (10.2 KB)