[fluka-discuss]: problem with particle latching

From: maestro <paolo.maestro_at_pi.infn.it>
Date: Wed, 04 Dec 2013 08:40:36 +0100

Dear FLUKA experts
I would like to tag and write in a collision tape all the backscattered
particles produced
in e.m./hadronic showers generated by beam particles impinging a
calorimeter.
For each backscattered particle, I am interested in recording
some properties of the parent (i.e.:ETRACK, JTRACK, LTRACK, etc.).
To do that I have followed the procedure
explained in this forum message "Particle latching using
MGDRAW+STUPRE+STUPRF"
(Alberto Fasso', 22/05/2008).
In the USDRAW routine, I copied the parent properties
in the SPAUSR and ISPUSR variables of TRACKR.
That works well when USDRAW is called from Kascad and Kasneu, but
it does not work when USDRAW is called from Emfsco.
For instance, with an electron as beam particle, whenever a
Moller scattering occurs, the secondary electron does not inherit the
parent properties (i.e. all the SPAUSR/ISPUSR variables of TRACKR are
zero but
ISPUSR(11)). Instead in photonuclear interaction, the products
correctly recall the parent properties.
As far as I understood, the TRACKR user variables
are copied by stuprf.f and stupre.f to the FLKSTK and EMFSTK particle
stacks respectively,
and then copied back to the TRACKR user variables when a secondary is
downloaded from the stack to be transported.
However in my simulation, I suspect this last step does not occur with
EMFSTK.
Why? Am I doing anything wrong ?
Thank you
Best regards
         Paolo Maestro
Received on Wed Dec 04 2013 - 09:35:15 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 04 2013 - 09:35:16 CET