+-------------+ +----------## | Geant 3.10 | GEANT User's Guide | GEOM100 ## +-------------+ +----------##
Author(s) : R.Brun Submitted: 15.08.83 Origin : R.Brun,A.McPherson Revised: 28.04.86
+------------------------------------------------------------------+ | CALL GSVOLU (NAME,SHAPE,NMED,PAR,NPAR,IVOLU*) | +------------------------------------------------------------------+
Defines a volume with a given name, shape, tracking medium number and shape parameters. There is a way for the user to indicate that dimensions are to be chosen automatically by the supplied routines. If the user specifies a dimensional parameter to be negative, then, in each case where the user places this volume within another, this dimension will be chosen to be the maximum that will fit inside the mother volume. This facility is of principal use in conjunction with the slice division of volumes using GSDVN, GSDVT, and GSDVX. It is implemented only in the absence of a relative rotation and only for rectangles and trapezoids within each other and for cylinders and cones or segments thereof within each other in the case of no offset in x or y.
Examples
DIMENSION PECAL(6) DATA PECAL/1.71,4.,0.2,3*0./ CALL GSVOLU('ECAL','BOX ',1,PECAL,6,IVOLU)
+----------------------------------------+ | CALL GPVOLU (IVOLU) | +----------------------------------------+
Prints the volume parameters