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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

+SEQ /GCUNIT/<br />

Description of logical units<br />

C<br />

COMMON/GCUNIT/LIN,LOUT,NUNITS,LUNITS(5)<br />

INTEGER LIN,LOUT,NUNITS,LUNITS<br />

COMMON/GCMAIL/CHMAIL<br />

CHARACTER*132 CHMAIL<br />

LIN<br />

LOUT<br />

NUNITS<br />

LUNITS<br />

CHMAIL<br />

input unit to read data records;<br />

output unit;<br />

number of additional units;<br />

list of additional units;<br />

character string containing the message to be printed by GMAIL.<br />

LIN and LOUT are defined in GINIT through ZEBRA. NUNITS and LUNITS are reserved for user ZEBRA files.<br />

+SEQ /GCVOLU/<br />

Current geometrical information<br />

C<br />

COMMON/GCVOLU/NLEVEL,NAMES(15),NUMBER(15),<br />

+LVOLUM(15),LINDEX(15),INFROM,NLEVMX,NLDEV(15),LINMX(15),<br />

+GTRAN(3,15),GRMAT(10,15),GONLY(15),GLX(3)<br />

NLEVEL<br />

NAMES<br />

NUMBER<br />

LVOLUM<br />

LINDEX<br />

INFROM<br />

NLEVMX<br />

NLDEV<br />

LINMX<br />

GTRAN<br />

GRMAT<br />

GONLY<br />

GLX<br />

level in the geometrical tree reached by the last successful search;<br />

volume names at each level in the current tree (ASCII codes stored in an integer, 4 characters<br />

per word);<br />

volume copy or division numbers at each level in the tree;<br />

volume numbers in the JVOLU bank at each level in the tree;<br />

number of the daughter where the current track is at each level in the tree;<br />

daughter of the current volume from which the particle exited;<br />

maximum number of levels in the geometry tree;<br />

number of the volumes at each level whose structure has been developed;<br />

number of positioned contents or cells from division at each level;<br />

x,y,z offsets of the cumulative coordinate transformation from the master system to the system<br />

at each level;<br />

rotation matrix elements for the cumulative transformation from the master system to the system<br />

at each level; GRMAT(10, LEVEL)=0indicates the null rotation;<br />

flag indicating if the volume is ONLY (1) or MANY (0) at each level in the tree;<br />

current point in local coordinates system (local use only!).<br />

+SEQ /GCVOL2/<br />

Back-up for /GCVOLU/<br />

The variables have the same meaning of the variables in common /GCVOLU/ with similar names.<br />

444 ZZZZ010 – 27

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

Saved successfully!

Ooh no, something went wrong!