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 HITS299<br />

Origin : R.Brun Submitted: 01.11.83<br />

Revision : Revised: 18.12.93<br />

Documentation :<br />

The JHITS data structure<br />

NSET ISET JHITS<br />

NDET IDET JH NDET<br />

JHD<br />

1st hit<br />

2nd hit, etc.<br />

Figure 32: Layout of the JHITS data structure<br />

JH=LQ(JHITS-ISET) pointer to hits structure for set number ISET<br />

IQ(JH+IDET) number of words used for storing the hits of detector number IDET<br />

JHD=LQ(JH-IDET) pointer to hits bank for detector number IDET of set number ISET<br />

IQ(JHD+1)<br />

1 st word of 1 st hit<br />

IQ(JHD+NWH+1) 1 st word of 2 nd hit<br />

JS=LQ(JSET-ISET) pointer to the structure containing the description of set number ISET<br />

JD=LQ(JS-IDET) pointer to the bank containing the description of detector number IDET of set<br />

number ISET<br />

NWH=IQ(JD+3) number of words in which a hit of detector number IDET of set number ISET<br />

is stored<br />

The JHITS structure is filled with the routines GSAHIT and GSCHIT. The routine GFHITS can be used to get<br />

the hits for a detector IDET in set ISET.<br />

166 HITS299 – 1

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

Saved successfully!

Ooh no, something went wrong!