next up previous contents index
Next: Listing a Table Up: Tables Previous: Lattice Function Tables   Contents   Index


Listing Element Attributes

Most element attributes can be listed for a beam line or table. The elements for which the attributes should be listed are selected by a SELECT command. The attributes are specified by the command

ATTLIST,LINE=name,FILE=name,COLUMN={string,string,...,string};
Most element attributes can be listed as columns. At present, MAD-9 does not recognize ATTRIBUTES or attributes of a BEAMBEAM element. Example:

 SELECT, LINE=LIN1, FULL;
 ATTLIST, LINE=LIN1, FILE=TERM,
   COLUMN={NAME,CLASS,KEYWORD,TYPE,LENGTH,K0L,UNKNOWN};
This may produce the following output:

@ TYPE     %s  ATTRIBUTE
@ LINE     %s  LIN1
@ DATE     %s  11/10/1999
@ TIME     %s  14.08.14
@ ORIGIN   %s  MAD_9.3
@ COMMENT  %s  ""
* NAME CLASS KEYWORD TYPE L K0L UNKNOWN
$ %s %s %s %s %le %le %le
  #S MARKER MARKER Null 0 0 0
  L4 DRIFT DRIFT Null 1.57 0 0
  B1 RBEND RBEND Null 35.09 0.0113061 0
  L2 DRIFT DRIFT Null 0.56 0 0
  SF SEXT SEXTUPOLE Null 0.4 0 0
  L3 DRIFT DRIFT Null 0.28 0 0
  QF QUAD QUADRUPOLE MQ 1.6 0 0
  L1 DRIFT DRIFT Null 1.21 0 7
  B1 RBEND RBEND Null 35.09 0.0113061 0
  L2 DRIFT DRIFT Null 0.56 0 0
  SD SEXT SEXTUPOLE Null 0.76 0 0
  L3 DRIFT DRIFT Null 0.28 0 0
  QD QUAD QUADRUPOLE MQ 1.6 0 0
  #E MARKER MARKER Null 0 0 0
As it can be seen, empty strings are printed as the word ``Null''.



MAD User Guide, http://wwwslap.cern.ch/mad/