CERN Accelerating science

You are here

OpticsBuilder documentation

2019-04-16 16_51_20-Survey file to SynRad+ converter.png

OpticsBuilder is a tool to help you generate 3D geometries and magnetic regions from a list of aperture descriptions of an accelerator.

In accelerator physics, the beam-screen is a succession of rectangular, racetrack or ellipse profiles. There is only one coordiante, defining length along the optimal beam path, and an orientation (theta), describing the tangent vector of the beam. Each element has a length, optionally a bending angle, an offset from the ideal position, etc.

In 3D modeling, followed by Molflow, Synrad but also CAD programs, coordinates are absolute (X,Y,Z). Besides, Synrad only models non-drift regions (dipoles, quadrupoles, wigglers) that produce synchrotron radiation.

The tool allows to automate the repetitive task of calculating global coordinates from accelerator. Although it has four tabs (Sequence file import, manual table input, LHC database extraction and export), only the following functions are finished for the moment:

In both cases, since you only define a sequence of elements, the absolute coordinates are calculated once you define a reference point. For example, you can set the very first element to begin at (0,0,0) and facing the Z axis (theta=0).

Meaning of the columns

Meaning of the buttons and text fields

You can't save the input of the tool, but you can select the whole table and copy-paste it to Excel, from which you can later paste it back.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer