+-------------+ +----------##
| Geant 3.10 | GEANT User's Guide | GEOM120 ##
+-------------+ +----------##
Author(s) : R.Brun,F.Bruyant,A.McPherson Submitted: 15.08.83
Origin : R.Brun,F.Bruyant,M.Maire Revised: 28.04.86
+--------------------------------------------------------------------------+
|CALL GSPOSP (NAME,NR,MOTHER,X,Y,Z,IROT,KONLY,PAR,NPAR) |
+--------------------------------------------------------------------------+
Places a copy of the volume NAME (previously defined by a call to
GSVOLU with NPAR=0) with user
number NR inside its mother MOTHER.
GSPOSP can be called several
times with the same name, to place copies of the same volume (and of all
its contents) with various parameters in various positions, either in the
same mother volume or in several different ones. The data structure is so
designed that, in any case, the substructure of a volume is defined and
stored only once. Reference is always made to the first one wherever the
volume is encountered.
- NAME
- A 4-character volume name (must have been
defined by a call to GSVOLU).
- NR
- Copy number of the volume NAME being placed
- MOTHER
- The 4-character mother name of this volume
(i.e. the volume within which this volume is to be placed). The master
reference system is defined by the top volume which does not need to be
positioned at all.
- X,Y,Z
- Position of the volume in the mother reference
system.
- IROT
- Rotation matrix number describing the
orientation of the volume relative to the coordinate system of the mother
(see routine GSROTM).
- KONLY
- A 4 character flag to indicate, at search time,
whether a point found to be in this volume may also be in other volumes
which are not direct descendants of it. If it is set to 'ONLY' then the
search routines will assume that, when in it, the only further searching
required is in its contents and their contents etc. The search will not
look at other volumes at the same or higher levels or in separate
branches. If it is set to 'MANY' the search will include other volumes
which are contents of the same parent and if the parent is also 'MANY' the
search will include volumes at that level and so on until an 'ONLY' volume
is reached. Eventually, a list of 'MANY' type volumes which are
descendants of the last (lowest) 'ONLY' type volume will be generated. Of
these the lowest level of search will be taken and if there are several at
that level the first of them which was found will be taken.
- PAR
- Array containing the parameters.
- NPAR
- Number of parameters.