|LCLS Lattice Description|
|Accelerator Directorate||LCLS NC Accelerator Systems||LCLS SC Accelerator Systems||Lattice Descriptions||LCLS Device Database|
This was the home page of the lattice descriptions of the Linac Coherent Light Source (LCLS) facility. These materials are now DEPRECATED . Please now (as of April 24, 2019) refer to the new LCLS lattice home page, where you will find the lattice files for both normal conducting (NC) and the new superconducting (SC) beampaths of the combined LCLS accelerator complex.
The lattice descriptions are expressed in the Methodical Accelerator Design (MAD) language (version 8).
The following are the LCLS lattice description files in SLAC's CVS, as input to MAD:
|Main command file||LCLS_main.mad8|
|Matching command file||LCLS_match.mad8|
|Linac 1 definitions||LCLS_L1.xsif|
|Linac 1 for Elegant||LCLS_L1e.xsif|
|Linac 2 definitions||LCLS_L2.xsif|
|Linac 2 for Elegant||LCLS_L2e.xsif|
|Linac 3 definitions||LCLS_L3.xsif|
|Linac 3 for Elegant||LCLS_L3e.xsif|
The output results of "official" MAD runs are in timestamped directories under
/afs/slac/www/grp/ad/model/output/lcls. The latest output is always in
Modelled element and device data are available in SLAC's Oracle Database. See the Elements and Symbols tabs (they contain largely the same information).
These are the Twiss parameter plots resulting from the latest deck, for each beampath. Click on an image for the set of plots of that beampath.
The following are descriptions of each electron beam traversal through the "LCLS" accelerator complex. In the context of the LCLS-II project now under construction, these represent the CU related beampaths of the future. The paths described here, are as they are now.
|Primary RF||Description||Status||MAD output filename prefix||Beampath ID||Lines file file||Map Link|
|cu||Gun to HXR dump||In Operation||LCLS||CU_HXR||LCLS_lines.dat|
|cu||Gun to 135MeV Spectrometer||In Operation||SPEC||CU_SPEC||SPEC_lines.dat|
|cu||Gun to Gun Spectrometer||In Operation||GSPEC||CU_GSPEC||GSPEC_lines.dat|
|cu||Gun to A-line||In Operation||LCLSA||CU_ALINE||LCLSA_lines.dat|
The mapping from elements to EPICS PV names (or at least the device name part of PV names) is defined by the file elementdevices.dat. These lines files and maps were created using an awk script mad2dot.awk. mad2dot takes as input the print and survey files as output from Mad (see header of mad2dot), plus one or more element/devices files - the main one being elementdevices.dat. mad2dot creates the lines file (for consumption by the directory service, so on-line apps know the device-line hierarchy), and a dot file, for instance LCLS.dot, for each beampath. We then use the unix command dot, or Graphviz, to create a PDF from the dot file.
For those people who need to change the lattice files, there is a
README in CVS, in the same directory as the lattice files. That README describes how to do the CVS, and use a makefile to publish the output files to
|Operated by Stanford University for the U.S. Dept. of Energy|