Drawing Volume Specifications

+-------------+                                               +----------##
| Geant 3.15  |               GEANT User's Guide              | DRAW220  ##
+-------------+                                               +----------##
                                   

Author(s) : F.Carminati, P.Zanarini Submitted: 01.11.83 Origin : P.Zanarini Revised: 09.11.92

The geometrical parameters of the volumes can be displayed via the GDSPEC routine (corresponding to the DSPEC interactive command). This facility gives a detailed picture of a particular piece of the detector. Three drawings of the volume (a projection view and two cut views), its shape type and dimensions and a scale are presented together in a single graphic frame. Together with the given volume, its daughters (one level down in the geometrical tree) are displayed. The set of geometrical specifications of all the descendants of a given node on the tree, can be obtained each on a separate picture with the routine GDFSPC (DFSPC interactive command).

                +----------------------------------------+
                |CALL GDSPEC (CHNAME) |
                +----------------------------------------+
                                  

Draws a picture showing all specifications for a given volume. The information displayed includes:

  1. a space view of the volume (with theta=45 and phi=135);
  2. a front view cut;
  3. a side view cut;
  4. the axes of the local coordinate system;
  5. a human figure;
  6. the scale;
  7. the shape type;
  8. all the numerical parameters that define the volume.

In drawing the volumes GDSPEC sets visibility ('SEEN' attribute of GSATT) only for the volume CHNAME itself and its next level descendents.

CHNAME
(CHARACTER*4) volume name

          +----------------------------------------------------+
          |CALL GDFSPC (CHNAME,ISORT,INTER) |
          +----------------------------------------------------+
                                  

Draws on separate pictures the full set of GDSPEC for the geometrical tree starting from CHNAME, i.e. calls GDSPEC for the volume CHNAME and for all its descendants.

CHNAME
(CHARACTER*4) volume name;
ISORT
(INTEGER) alphabetic sorting flag;
=1
all the volumes will be drawn in ascending alphabetic order according to their name;
!=0
the volumes will be drawn in the order in which the detectors are stored in memory;
INTER
interactive/batch version flag
=1
the routine will prompt the user at each plot before doing a clear screen;
!=0
the routine will clear automatically the screen before starting a new frame.
Note: INTER should be set to 1 when using the interactive version of GEANT and to any other value when using a batch version.

Example of GDSPEC output: