next up previous index
Next: GEOM120 Positioning a Up: GEANT Previous: GEOM100 Creation of

GEOM110 Positioning a volume inside its mother

Routine ID: GEOM110
Author(s): Submitted: 15.08.83
Origin: R.Brun, A.McPhersonRevised: 16.11.93

CALL GSPOS (CHNAME,NR,CHMOTH,X,Y,Z,IROT,CHONLY) Places a copy of a volume previously defined by a call to GSVOLU inside its mother volume CHMOTH.

CHNAME
( CHARACTER*4) name of the volume being positioned;
NR
( INTEGER) copy number of the volume CHNAME being positioned;
CHMOTH
( CHARACTER*4) name of the volume in which copy NR of CHNAME is positioned;
X
( REAL) x position of the volume in the mother reference system;
Y
( REAL) y position of the volume in the mother reference system;
Z
( REAL) z position of the volume in the mother reference system;
IROT
( INTEGER) rotation matrix number describing the orientation of the volume relative to the coordinate system of the mother;
CHONLY
( CHARACTER*4) flag to indicate whether a point found to be in this volume may also be in other volumes which are not direct descendants of it -- possible values are ONLY and MANY.

The following points are important for a correct use of GSPOS:

The data structure is so designed that, in any case, the parameters of a volume and the information about the number and position of its daughters are stored only once. This allows the creation of very complex geometries without correspondingly large storage requirements.

GEOM120


next up previous index
Next: GEOM120 Positioning a Up: GEANT Previous: GEOM100 Creation of


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995