1. OPAL - MADX Conversion Guide
We note with \alpha
,\beta
and
\gamma
the Twiss parameters.
\begin{aligned}
\sigma_{beam} &=& \begin{pmatrix}\sigma_{x} & \sigma_{x p_{x}}\\\sigma_{x p_{x}} & \sigma_{ p_{x}}\end{pmatrix}
= \begin{pmatrix} \sigma_{x} & \delta\cdot\sqrt{\sigma_{x}\sigma_{ p_{x}}}\\\delta\cdot\sqrt{\sigma_{x}\sigma_{ p_{x}}} & \sigma_{ p_{x}}\end{pmatrix}
= \begin{pmatrix} <x^{2}> & <x p_{x}>\\<x p_{x}> & < p_{x}^{2}> \end{pmatrix} \\
&=& \begin{pmatrix}
\frac{1}{N}\sum_{i=1}^{N}x_{i}^{2} & \frac{1}{N}\sum_{i=1}^{N}x_{i} p_{x_{i}}\\
\frac{1}{N}\sum_{i=1}^{N}x_{i} p_{x_{i}} & \frac{1}{N}\sum_{i=1}^{N} p_{x_{i}}^{2}
\end{pmatrix}
= \epsilon\cdot\begin{pmatrix} \beta & -\alpha\\ -\alpha & \gamma\end{pmatrix}
\end{aligned}
\begin{aligned}
\bar{p}_{x} & = & \sqrt{\frac{1}{N}\sum_{i=1}^{N} p_{x_{i}}^{2}} & = & \sqrt{\sigma_{ p_{x}}} & & \bar{x} & = & \sqrt{\frac{1}{N}\sum_{i=1}^{N}x_{i}^{2}} \\
\bar{p}_{y} & = & \sqrt{\frac{1}{N}\sum_{i=1}^{N}p_{y_{i}}^{2}} & = & \sqrt{\sigma_{p_{y}}} & & \bar{y} & = & \sqrt{\frac{1}{N}\sum_{i=1}^{N}y_{i}^{2}} \\
\\
\\
\gamma & = & \frac{E_{kin}+m_{p}}{m_{p}} & & & & \beta & = & \sqrt{1-\frac{1}{\gamma^{2}}} = \frac{v}{c} \\
(\beta\gamma) & = & \frac{E_{kin}+m_{p}}{m_{p}}\cdot\sqrt{1-\frac{1}{\gamma^{2}}}& = & \frac{\beta}{\sqrt{1-\beta^{2}}} & & \text{B}\rho & = & \frac{\left(\beta\gamma\right)\cdot m_{p}\cdot 10^{9}}{c}~\left[\text{T m}\right] \\
m_{p} & = & 0.939277 [GeV] & & & & c & = & 299792458 [m/s]
\end{aligned}
Quantity | MADX |
Conversion | OPAL-Output | ||||
---|---|---|---|---|---|---|---|
Momenta |
|
[rad] |
|
= |
|
|
[ |
Correlation of |
|
[1] |
|
= |
|
|
[1] |
= |
|
||||||
Emittance |
|
[m rad] |
|
= |
|
|
[m |
= |
|
||||||
= |
|
||||||
Twiss Parameter |
|
[1] |
|
= |
|
|
[1] |
= |
|
||||||
Twiss Parameter |
|
[m/rad] |
|
= |
|
|
[m/ |
= |
|
||||||
Twiss Parameter |
|
[rad/m] |
|
= |
|
|
[ |
= |
|
||||||
Focusing strength |
|
|
|
= |
|
|
|
Quantity |
|
Conversion |
|
||||
Element Position |
|
|
|
= |
(Center of the element) - (Length of the element)/2 |
|
|
Center of the element |
Begin of the element |
||||||
Quantity |
|
Conversion |
|
||||
Momenta |
|
|
|
= |
|
|
[eV] |