next up previous contents
Next: C. Example of a Up: B. Example of a Previous: B.2 TESLA   Contents


B.3 Visualisation attributes file

The following is an example of a file assigning visalisation attributes to a geometry-description. It applies to the TESLA geometry files. It can
#   Example of an attribute setting file for plotdef.pl
#     Format:
#      Each line should contain
#           DET= element-name as given in the geometry file, with regular
#                           expressions (.* = any characters,
#                           $ = end of string, ...)
#           This declares which detectore (or set of detectors) the
#           line should be applied to.
#      Each line can contain:
#
#           COL= Colour to use, PAW convention 1=black, 2=red, 3=green,
#                           4=blue, 5=yellow, 6=magenta, 7=cyan
#           SOLIDST= (no value should be given, but the = is required)
#                 If present means start defining a solid colouring
#                 region. End any previous solid colouring that might
#                 be in progress.
#           SOLIDEND=  (no value should be given, but the = is required)
#                 If present, means end the current solid colouring
#                 region. (This is needed only if the region is followed
#                 by a region that should not be filled)
#
DET=BEAM.*        COL=1
DET=CCD$          COL=3
DET=TPC$          COL=2
DET=SET.*         COL=4
DET=SIT.*         COL=5
DET=FWD.*         COL=5
DET=FCH.*         COL=4
DET=MAGNET        COL=2
#   start a red filled area when entering the TPC (from the inside)
DET=TPC-IWALL$    COL=2 SOLIDST=
#   end red filled area when exiting the TPC (from the inside)
DET=TPC-OWALL$    COL=2 SOLIDEND=
DET=BEMCAL-MAT    COL=6 SOLIDST=
DET=FEMCAL-MAT    COL=6 SOLIDST=
DET=HAB-MAT       COL=5 SOLIDST=
DET=HAF-MAT       COL=5 SOLIDST=
DET=HAF2-MAT      COL=5
DET=YOKEB.*       COL=3 SOLIDST=
DET=YOKEF1.*      COL=3 SOLIDST=
DET=YOKEF2.*      COL=3 SOLIDST=
be found on the SGV_PAM directory with the name plot_attrs.dat.



Mikael Berggren 2003-03-27