Routine ID: KINE100 | |
---|---|
Author(s): | Submitted: 01.06.83 |
Origin: R.Brun | Revised: 14.12.93 |
CALL GSVERT (VERT,NTBEAM,NTTARG,UBUF,NUBUF,NVTX*)
This routine stores the parameters of a vertex to which tracks should be attached via calls to GSKINE. Vertices are stored in the JVERTX data structure (see [KINE199]) and they are preserved for the whole duration of the event.
GEANT tracks one vertex at a time: all the particles of one vertex, and all the secondaries generated thereof must be transported before the particles of the next vertex are considered.
This routine should be called only from GUKINE when the initial kinematics of the event is defined. During tracking it is possible to add vertices to the JVERTX data structure, but this should be done via the GSKING routine and the appropriate variables in the /GCKING/ common block. Please see [TRAK300] for more information.
CALL GSVERU (NVTX,NUBUF,UBUF,IADR*)
This routine stores the first NUBUF words of array BUF in the user bank attached to vertex NVTX, starting at location IADR+1. On exit IADR is set to IADR+NUBUF, allowing subsequent filling. This allows effectively to add information to an existing vertex, whether or not it has already an user buffer. This is the only way to add user information to a vertex which has been created at tracking time by the routine GSKING via an appropriate setting of parameters in the common /GCKING/.
CALL GFVERT (NVTX,VERT*,NTBEAM*,NTTARG*,TOFG*,UBUF*,NUBUF*) Retrieves vertex parameters. The parameters have the same meaning than the ones of GSVERT.
Prints vertex parameters.
CALL GSKINE (PLAB,IPART,NV,UBUF,NUBUF,NT*)
This routine stores the parameters of a track in the JKINE data structure (see [KINE199]). This data structure survives for the whole event, and it is wiped out by GTRIGI at the beginning of each new event. There are two reasons to store tracks in the JKINE data structure:
CALL GSKINU (NT,NUBUF,UBUF,IADR*)
This routine stores the first NUBUF words of array BUF in the user bank attached to track NT, starting at location IADR+1. On exit IADR is set to IADR+NUBUF, allowing subsequent filling. This allows effectively to add information to an existing track, whether or not it has already an user buffer. This is the only way to add user information to a track which has been created at tracking time by the routine GSKING via an appropriate setting of parameters in the common /GCKING/.
CALL GFKINE (ITRA,VERT*,PVERT*,IPART*,NVERT*,UBUF*,NUBUF*) Retrieves long-life track parameters. The parameters have the same meaning than the ones of GSKINE.
CALL GPKINE (ITRA) Prints initial track parameters.