Dear @hanhechong,
-
The mother particle for
JTRACK
is incoming one, and you would be interested in the target as well from what I understand. For your process, in addition to the proton, you could maybe have nuclei that you seem to be interested in.
From a separate question of yours, I see that you are using thestuprf.f
routine, but this will store the information from ALL the subsequent interactions, which might be too much. Alternatively, you could use themdstck.f
subroutine in a similar way.
To get the target nuclei, you would have to addINCLUDE 'resnuc.inc'
to access the parameters that you would be interested in. -
The isotopes will not have corresponding particle codes, but you can nevertheless retrieve their A and Z numbers, as suggested in this post:
IARES = MOD ( MOD ( IAZTRK , 1000000), 1000 )
IZRES = MOD ( IAZTRK, 1000000) / 1000
ISRES = IAZTRK/ 1000000
Hope this helps.
Best,
Daniel