22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Geant 3.16 GEANT User’s Guide HITS300<br />

Origin : R.Brun, W.Gebel Submitted: 10.08.84<br />

Revision : Revised: 18.12.93<br />

Documentation :<br />

Routines to store and retrieve DIGItisations<br />

CALL GSDIGI<br />

(ISET,IDET,LTRA,NTRA,NUMBV,KDIGI,IDIG*)<br />

ISET<br />

IDET<br />

LTRA<br />

NUMBV<br />

KDIGI<br />

IDIG<br />

(INTEGER) set number;<br />

(INTEGER) detector number;<br />

(INTEGER) array of NTRA track numbers producing this digitisation;<br />

(INTEGER) volume numbers corresponding to list NAMESV of GSDET;<br />

(INTEGER) array of current digisation elements;<br />

(INTEGER) stored digitisation number, if 0, digitisation has not been stored.<br />

Stores element values for current digitisation into the data structure JDIGI.<br />

CALL GPDIGI<br />

(CHSET,CHDET)<br />

CHSET<br />

CHDET<br />

(CHARACTER*4) set name, if ’*’ prints all JDIGI banks of all sets;<br />

(CHARACTER*4) detector name, if ’*’ prints digitisations in all detectors of set; CHSET<br />

Prints JDIGI banks for detector CHDET of set CHSET.<br />

CALL GFDIGI<br />

(CHSET,CHDET,NTDIM,NVDIM,NDDIM,NDMAX,NUMVS,<br />

LTRA*,NTRA*,NUMBV*,KDIGI*,NDIGI*)<br />

CHSET<br />

CHDET<br />

NTDIM<br />

NVDIM<br />

NDDIM<br />

NDMAX<br />

NUMVS<br />

LTRA<br />

NTRA<br />

NUMBV<br />

(INTEGER) set name;<br />

(INTEGER) detector name;<br />

(INTEGER) 1 s t dimension of LTRA, maxmum number of tracks contributing to each hit to be<br />

returned;<br />

(INTEGER)1 st dimension of arrays NUMVS, NUMBV, same as argument NV of GSDET;<br />

(INTEGER)1 st dimension of KDIGI, same as argument ND of GSDETD;<br />

(INTEGER) maximum number of digitisations to be returned, second dimension of arrays NTDIM,<br />

NUMBV and KDIGI;<br />

(INTEGER) is a 1-dim array of length NVDIM that contains the copy numbers identifying the<br />

detector to be selected, all 0 is interpreted as all copies of detector CHDET;<br />

(INTEGER) is a 2-dim array NTDIM,NDMAX that contains for each digitisation the numbers of<br />

the tracks which have produced it;<br />

(INTEGER) is a 1-dim array of length NDMAX that contains, for each digitisation, the number of<br />

tracks contributing, in case this number is greater than NTDIM, only the first NTDIM corresponding<br />

tracks are returned on LTRA;<br />

(INTEGER) is a 2-dim array NVDIM,NDMAX that contains, for each digitisation, the list of volume<br />

numbers which identify each detector;<br />

167 HITS300 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!