next up previous contents index
Next: GEANT hits by TZ Up: Detector description code and Previous: Hierarchy of keywords and

GEANT geometry by TZ titles

CMSIM offers a standard way of building sub-detector GEANT geometry from TZ titles. This is performed by the routines DCGEAN and DCGEOM which interpret the title blocks GEAN and GEOM respectively and make appropriate actions requested by these titles.

The title block for GEAN has the following structure:

 
*DO  GEAN  <idn>   -A4CW -c1/80     #. title header line
 :SDET          #. Subdetector keyword name (e.g. TRAK)
   ...
  followed by blocks of data with a 4-character keyword and values
   ...
The numeric identifier <idn> contains packed information with the level of description (in the least significant digit) and the alternate version number if any (in the higher digit). Zero in the least significant digit specifies that the title is valid for all levels of description (simple, average or detailed). The title block is selected if the requested action in GEOM data card for the sub-detector keyword SDET matches with the numeric identifier of the block.

The following keywords can be used:

The constants which follow each keyword are the same as the call parameters required by the respective GEANT routine with the exception that the material and media are defined by a character sequence instead of a number.

The parameters which follow each keyword are defined as follows:

The title block for GEOM takes care of special cases of some polygons and polycones (also invoked through the keyword MKPO in title block GEAN). The title block has the following structure:

 
*DO  GEOM  <idn>   -A4CW -c1/80     #. title header line
 :SDET          #. Subdetector keyword name (e.g. CMSE)
   ...
  followed by blocks of data for polycones or polygons
   ...
Each block contains the names of the current volume and the mother volume, the material content of the current volume, number of edges (0 for polycones), number of xy-planes and for each plane, the position with inner and outer radii. In the example
 :BTUB :BEAM  "C_Beryllium"   0.  2.0  0.00  5.85  6.00
                                      75.00  5.85  6.00
a beryllium tube BTUB is positioned inside the volume BEAM. The volume BTUB is constructed making use of a polycone defined through two planes at z = 0 and at z = 75 with inner and outer radii of 5.85 and 6.00 respectively.

As an example we present in Appendix A.5 a full description of the Silicon barrel detector.


next up previous contents index
Next: GEANT hits by TZ Up: Detector description code and Previous: Hierarchy of keywords and

Cms Computing
Mon Apr 27 02:30:35 MET DST 1998