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? |
---|---|---|---|---|
|
float |
Rest energy of particle in \(\mathrm{MeV}\) |
✅ |
|
|
float |
Adimensioned charge of particle |
✅ |
|
|
float |
Energy of particle at entrance in \(\mathrm{MeV}\) |
✅ |
|
|
float |
Beam bunch frequency in \(\mathrm{MHz}\) |
✅ |
|
|
float |
Beam current in \(\mathrm{mA}\) |
❌ |
|
|
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]
]