beam section (mandatory)

Here we define the main properties of the beam at the entrance of the linac. Note that with TraceWin, most of these properties are defined within it’s own .ini file. The units must be consistent with LightWin’s system of units, see also Units and conventions.

Entry

Type

Description

Allowed values

Mandatory?

e_rest_mev

float

Rest energy of particle in \(\mathrm{MeV}\)

q_adim

float

Adimensioned charge of particle

e_mev

float

Energy of particle at entrance in \(\mathrm{MeV}\)

f_bunch_mev

float

Beam bunch frequency in \(\mathrm{MHz}\)

i_milli_a

float

Beam current in \(\mathrm{mA}\)

sigma

list of list of float

Input \(\sigma\) beam matrix in \(\mathrm{m}\); \(\mathrm{rad}\)

Format for the sigma entry:

sigma = [
   [ 1e-6, -2e-7,  0e+0, 0e+0,  0e+0, 0e+0],
   [-2e-7,  8e-7,  0e+0, 0e+0,  0e+0, 0e+0],
   [ 0e+0,  0e+0, -2e-7, 8e-7,  0e+0, 0e+0],
   [ 0e+0,  0e+0, -2e-7, 8e-7,  0e+0, 0e+0],
   [ 0e+0,  0e+0,  0e+0, 0e+0, -2e-7, 8e-7],
   [ 0e+0,  0e+0,  0e+0, 0e+0, -2e-7, 8e-7]
 ]