22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Geant 3.16 GEANT User’s Guide DRAW220<br />

Origin : P.Zanarini Submitted: 01.11.83<br />

Revision : Revised: 13.12.93<br />

Documentation : P.Zanarini, S.Giani, F.Carminati<br />

Drawing volume specifications<br />

The geometrical parameters of the volumes can be displayed via the GDSPEC routine (corresponding to the<br />

DSPEC interactive command). This facility provides a detailed picture of a particular piece of the detector.<br />

The set of geometrical specifications of all the descendants of a given node on the tree, can be obtained each<br />

on a separate picture with the routine GDFSPC (DFSPC interactive command).<br />

CALL GDSPEC<br />

(CHNAME)<br />

CHNAME<br />

(CHARACTER*4) volume name;<br />

Draws a picture showing all specifications for a given volume. An example of use of GDSPEC can be found<br />

in Fig. 15.<br />

The following information on the volume are presented in a single frame:<br />

• the volume daughters (one level down in the geometrical tree);<br />

• a space view of the volume (with θ=45 and φ=135);<br />

• a front view cut;<br />

• a side view cut;<br />

• the axes of the local coordinate system;<br />

• a human figure;<br />

• the scale;<br />

• the shape type;<br />

• all the numerical parameters that define the volume.<br />

In drawing the volumes GDSPEC turns on the sets visibility (’SEEN’) attribute for the volume CHNAME itself<br />

and its direct descendents. The setting of drawing options (HIDE, CVOL, FILL ...) will be respected, allowing<br />

to customise the drawing. An example is shown in Fig. 16.<br />

CALL GDFSPC (CHNAME,ISORT,INTER)<br />

Draws on separate pictures the full set of GDSPEC for the geometrical tree starting from CHNAME, i.e. calls<br />

GDSPEC for the volume CHNAME and for all its descendants.<br />

CHNAME<br />

ISORT<br />

INTER<br />

(CHARACTER*4) volume name;<br />

(INTEGER) alphabetic sorting flag;<br />

=1 all the volumes will be drawn in ascending alphabetic order according to their name;<br />

≠1 the volumes will be drawn in the order in which they have been created;<br />

(INTEGER) interactive/batch version flag;<br />

=1 the routine will prompt the user at each plot before doing a clear screen;<br />

≠0 the routine will clear automatically the screen before starting a new frame.<br />

Note: INTER should be set to 1 when using the interactive version of GEANT and to any other<br />

value when using a batch version.<br />

89 DRAW220 – 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!