RE: unique particle identifier

From: Fasso, Alberto <fasso_at_SLAC.Stanford.EDU>
Date: Sat, 21 Aug 2010 07:25:31 -0700

Hi Makis,

there are a certain number of user flags available, that can be used for ma=
ny purposes. By default (i.e. if the
user doesn't change it) the user routine stuprf.f sets the last of those fl=
ags to a number which is unique to each
particle that is loaded on stack. This flag is copied to the variable ISPUS=
R(MKBMX2) in common(TRACKR). Thus, you can use ISPUSR(MKBMX2) to identify e=
ach particle at run time.

From: [] On Be=
half Of Chrysostomos Valderanis []
Sent: Thursday, August 19, 2010 11:16 PM
Subject: unique particle identifier

Content-Type: text/plain; charset=3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I am trying to calculate programmatially, as a toy problem, the energy
deposition of e.g. a proton passing through copper. I have found in the
archives of the mailing list the way to use the DTRACK(I) variable in
MGDRAW subroutine.

What I haven't found yet is a way to uniquely identify the proton.
What if two protons in the same event pass through the same region. The
JTRACK variable cannot descriminate between them. What variable in
(TRACKR) or in another common can?

Any answer, hint, advice, comment is welcomed,
Received on Sat Aug 21 2010 - 18:04:10 CEST

This archive was generated by hypermail 2.2.0 : Sat Aug 21 2010 - 18:04:11 CEST