+-------------+ +----------## | Geant 3.15 | GEANT User's Guide | DRAW210 ## +-------------+ +----------##
Author(s) : P.Zanarini, S.Giani Submitted: 15.01.84 Origin : Same Revised: 26.05.92
The logical geometrical tree is a hierarchical representation of the overall structure of the detector, based on the mother-daughter relationship among the various objects composing it. The GDTREE routine (correspoonding to the DTREE interactive command) allows the drawing of the logical tree, displaying the name, the multiplicity and other information about the volumes.
+----------------------------------------------------+ |CALL GDTREE (CHNAME,LEVMAX,ISEL) | +----------------------------------------------------+
Draws the tree of the volume data structure starting from the volume CHNAME, for LEVMAX depth levels; a continuation link line is drawn for those elements at the last level on the picture but having descendants. For every node, as many red arrows as the number of existing levels below it are plotted on the link; vice versa, as many green arrows as the number of existing levels before it are also plotted. When running GEANT interactively, control can be given to the mouse after issuing the DTREE command. This allows the display of various volume parameters and the navigation of the geometrical tree by clicking the mouse buttons. The size of the picture and the dimensions of each element and arrows are computed automatically. It is still possible to call GDTREE in batch mode just giving the third parameter ISEL.
Here follows an example of use of GDTREE:
In an interactive session, control can be given to the mouse:
When running with the X-windows software, the drawing of the specification (DSPEC) appears in a different window to speed up the scanning of the tree. Iterating this procedure it is possible to analyse very easily and quickly any kind of geometry. This drawing tree capability can be very useful when tuning the detector geometry. See the interactive section [XINT] for examples.