Volume Attributes

+-------------+                                               +----------##
| Geant 3.10  |               GEANT User's Guide              | GEOM500  ##
+-------------+                                               +----------##
                                   

Author(s) : R.Brun,P.Zanarini Submitted: 15.08.83 Origin : Same Revised: 22.04.86

             +----------------------------------------------+
             | CALL GSATT (NAME,IAT,IVAL) |
             +----------------------------------------------+
                                  

Changes the attribute IAT of the volume called NAME to the value IVAL.

  Attribute 1     'WORK'    0=Volume inactive 1=active
  Attribute 2     'SEEN'    0=unseen 1=seen -1,-2=(un)seen and tree unseen
  Attribute 3     'LSTY'    line style (1,2,3,4,..,etc.)
  Attribute 4     'LWID'    line width (1,2,3,4,5)
  Attribute 5     'COLO'    color code (1,2,3,4,5,6,7,8)
  Attribute 6     'FILL'    area filling with pattern (0,1,2,..,etc.)
  Attribute 7     'SET '    set number associated to this volume
  Attribute 8     'DET '    detector number associated to this volume
  Attribute 9     'DTYP'    detector type (1,2)
  Attribute 10    'NODE'    <>0=a node is created for 3D (PIONS,etc.)
                                  

NAME
Volume name
IAT
Name of the attribute to be set
IVAL
Value to which the attribute is to be set.
             +----------------------------------------------+
             |CALL GFATT (NAME,IAT,IVAL*) |
             +----------------------------------------------+
                                  

Returns in IVAL the attribute IAT of the volume called NAME. For the list of attributes see routine GSATT.

NAME
Volume name
IAT
Name of the attribute to be selected
IVAL
Attribute value returned.

 +----------------------------------------------------------------------+
 |CALL GFPARA (NAME,NR,INTEXT,NPAR*,NATT*,PAR*,ATT*) |
 +----------------------------------------------------------------------+
                                  

Returns parameters PAR(1..NPAR) and attributes ATT(1..NATT) for the volume NAME with user number NR. INTEXT is used to select internal or external parameters.

NAME
Volume name
NR
User number
INTEXT
Internal (INTEXT=1) or user parameter requested
NPAR
Number of parameters
NATT
Number of attributes
PAR
Array of parameters
ATT
Array of attributes.