Print the parent particle information corresponding to the current particle

@dcalzola
Thank you again for your patience and help.

You are right, the DETUP region is filled air, the primary photon rarely interacts in this zone, and my code logically does not record the first interaction, so it prints all zeros.

So, as you suggested, I ran other tests. First, I added the production cutoff threshold, and the production and transmission cutoff thresholds for both photons and electrons were set to 1kev. Second, I tested it in the MUSCLE region,the printed data does change, generating a lot of data, but all the data is about ICODE=210.I checked the manual, ICODE=210 stands for Møller secondaries, but according to EEDRAW, does ICODE=210 still mean particles are below the production threshold?



Comparison of.89 and.88 files shows that, for example, primary particles 16 and 25, secondary particles from generation 1 to 8 have Compton and Rayleigh scattering in the MUSCLE area, but this information is not printed, only ICODE=210,why is that?
I’m sorry I don’t know much about this Møller secondaries. On the other hand, according to EEDRAW, this is probably due to the particle below production threshold.What does this have to do with my EMFCUT?
I apologize for the questions, but I would appreciate it if you have any comments
ScaSim222.inp (3.2 KB)
mymgdraw_usdraw01.f (12.0 KB)
ScaSim222001_fort.88.txt (1.1 MB)
ScaSim222001_fort.89.txt (1.2 MB)