next up previous index
Next: DRAW300 Handling View Up: GEANT Previous: Interactive use

DRAW220 Drawing volume specifications

Routine ID: DRAW220
Author(s): Submitted: 01.11.83
Origin: P.ZanariniRevised: 13.12.93

The geometrical parameters of the volumes can be displayed via the GDSPEC routine (corresponding to the DSPEC interactive command). This facility provides a detailed picture of a particular piece of the detector. 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)

CHNAME
( CHARACTER*4) volume name;
Draws a picture showing all specifications for a given volume. An example of use of GDSPEC can be found in Fig. gif.

 

 


Figure: Example of use of GDSPEC

The following information on the volume are presented in a single frame:

In drawing the volumes GDSPEC turns on the sets visibility ( 'SEEN') attribute for the volume CHNAME itself and its direct descendents. The setting of drawing options ( HIDE, CVOL, FILL ... ) will be respected, allowing to customise the drawing. An example is shown in Fig. gif.

 

 


Figure: Example of use of GDSPEC

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;
≠1

the volumes will be drawn in the order in which they have been created;
INTER
( INTEGER) 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.

P.Zanarini, S.Giani, F.Carminati

DRAW300


next up previous index
Next: DRAW300 Handling View Up: GEANT Previous: Interactive use


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