MADX Demo: Input and Output
TFS(citation not found: TFS) is a an acronym for the “Table File System”. TFS files have been used in the LEP control system. The \madprogram knows only coded TFS files. The TFS format has been chosen for all table output of \madx. TFS formatted tables can be read back into \madx, and may then be further processed.
the following descriptors in all tables:
COMMENT: The current title string from the most recent TITLE command.
ORIGIN: The version of \madxused.
DATE: The date of the \madxrun.
TIME: The wall clock time of the \madxrun.
TYPE: The type of the table: e.g. TWISS
The column formats used are listed below:
|C format||Meaning||C format|
|%ks||String of length k||(”\(\backslash\)”-18s\(\backslash\)””)|
Control lines begin with the TFS control character, followed by a blank. Data lines begin with two blanks. Columns are also separated by one blank character. The column width is chosen such as to accommodate the largest of the column name and the width of data values of the column.