Next: Element Classes
Up: Physical Elements and Markers
Previous: Physical Elements and Markers
  Contents
  Index
Element Input Format
All physical elements are defined by statements of the form
label:keyword,attribute,...,attribute
Example:
QF: QUADRUPOLE,L=1.8,K1=0.015832;
where
- label
-
Is the name to be given to the element (in the example QF),
it is an identifier.
- keyword
-
Is a keyword,
it is an element type keyword (in the example QUADRUPOLE),
- attribute
-
normally has the form
attribute-name=attribute-value
- attribute-name
-
selects the attribute from the list defined for the element type
keyword (in the example L and K1).
It must be an identifier
- attribute-value
-
gives it a value
(in the example 1.8 and 0.015832).
Omitted attributes are assigned a default value, normally zero.
MAD User Guide, http://wwwslap.cern.ch/mad/