The tracks generated by the tracking package, and optionally stored in the data structure JXYZ, can be displayed by the routine GDXYZ (corresponding to the interactive command DXYZ).
The names of the particles and or the track numbers can be added by the routine GDPART (corresponding to the interactive command DPART).
A special routine has been provided to visualise the tracks during the transport process (GDCXYZ), that could be called for instance by GUSTEP. That routine shows the tracks while they are transported by the tracking package of GEANT, providing a useful interactive debugging tool.
Draws track number ITRA for which space points have been stored in bank JXYZ via calls to the routine GSXYZ. The view parameters are taken from /GCDRAW/.
(blue) | dotted line for gammas | |
(red) | solid line for charged particles (except muons) | |
(black) | blank/dotted line for neutral hadrons or neutrinos | to 3mm. |
(green) | dashed line for muons | to 3mm- |
(yellow) | dotted line for Cerenkov photons |
CALL GDPART (ITRA,ISEL,SIZE) Draws the particle names and/or the track numbers of track ITRA, supposing that its space points had been stored in the bank JXYZ via the routine GSXYZ. At present only primary tracks are displayed by GDPART and their name or number is written at the end the track trajectory. The view parameters are taken from /GCDRAW/.
Here we give an example of the use of GDPART:
CALL GSATT('HB','FILL',3) CALL GSATT('HE','FILL',1) - - - - - - - - - - CALL GDRAWC('OPAL',2,5.,10.,10.,0.013,0.013) CALL GDXYZ(0) CALL GDPART(0,11,0.25)
S.Giani, F.Carminati