+-------------+ +----------##
| Geant 3.10 | GEANT User's Guide | HITS300 ##
+-------------+ +----------##
Author(s) : W.Gebel Submitted: 10.08.84
Origin : R.Brun,W.Gebel Revised: 20.05.86
+------------------------------------------------------------------------+
| CALL GSDIGI (ISET,IDET,LTRA,NTRA,NUMBV,KDIGI,IDIG*) |
+------------------------------------------------------------------------+
Stores element values for current digitisation into the data structure
JDIGI.
- ISET
- set number
- IDET
- detector number
- LTRA
- list of NTRA track numbers producing this
digitisation
- NUMBV
- volume numbers corresponding to list NAMESV of
GSDET
- KDIGI
- integer array of values for current digisation
elements
- IDIG
- on return, current digitisation number. If =0
digitisation has not been stored.
+----------------------------------------------+
| CALL GPDIGI (IUSET,IUDET) |
+----------------------------------------------+
Prints JDIGI banks for detector IUDET of set IUSET.
- IUSET
- user set identifier
if IUSET=0 prints all JDIGI banks of all sets
- IUDET
- user detector identifier
if IUDET=0 prints digitisations in all detectors of set IUSET
+-------------------------------------------------------------------------------------------------------------+
|CALL GFDIGI (IUSET,IUDET,NTDIM,NVDIM,NDDIM,NDMAX,NUMVS, LTRA*,NTRA*,NUMBV*,KDIGI*,NDIGI*) |
+-------------------------------------------------------------------------------------------------------------+
Returns the digitisations for the physical volume specified by the list
NUMVS with generic volume name IUDET belonging to set IUSET.
- IUSET
- user set identifier
- IUDET
- user detector identifier (name of the
corresponding sensitive volume)
- NTDIM
- 1st dimension of LTRA (max. number of tracks
contributing)
- NVDIM
- 1st dimension of NUMVS, NUMBV (argument NV of
GSDET)
- NDDIM
- 1st dimension of KDIGI (argument ND of
GSDETD)
- NDMAX
- is the maximum number of digitisations to be
returned
- NUMVS
- is a 1-Dim array that must contain on input the
geometric path of the detector volume to be selected. All 0 interpreted as
'all physical volumes with generic name IUDET
- LTRA
- is a 2-Dim array that will contain on output for
each digitisation the numbers of the tracks which have produced it
- NTRA
- is a 1-Dim array that will contain on output for
each digitisation the total number of tracks contributing. In case this
number is greater than NTDIM, only the first NTDIM corresponding tracks
can be returned on LTRA
- NUMBV
- is a 2-Dim array that will contain on output
for each digitisation the list of volume numbers which identify each
physical volume
- KDIGI
- is a 2-Dim array that will contain the NDIGI
digitisations
- NDIGI
- is the total number of digitisations in this
detector. In case the total number of digitisations is greater than NDMAX,
NDIGI is set to NDMAX+1 and only NDMAX digitisations are returned
- KDIGI(1,I) = digitisation type 1 for digitisation number
I
- NUMBV(1,I) = volume number 1 for digitisation number
I
- LTRA (1,I) = first track number contributing to digitisation
number I
In the calling routine, the arrays LTRA, NTRA, NUMVS, NUMBV, KDIGI must be
dimensioned to:
LTRA (NTDIM,NDMAX)
NTRA (NDMAX)
NUMVS(NVDIM)
NUMBV(NVDIM,NDMAX)
KDIGI(NDDIM,NDMAX)