1 | <head> |
---|
2 | <title>CRABCAVITY</title> |
---|
3 | <!-- Added by: R. Calaga, Sep 2010 --> |
---|
4 | </head> |
---|
5 | |
---|
6 | <body bgcolor="#ffffff"> |
---|
7 | |
---|
8 | <center> |
---|
9 | EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH |
---|
10 | <IMG SRC="http://cern.ch/madx/icons/mx7_25.gif" align=right> |
---|
11 | <h2>CRAB Cavity</h2> |
---|
12 | </center> |
---|
13 | |
---|
14 | <pre> |
---|
15 | |
---|
16 | label: CRABCAVITY, L=real,VOLT=real,LAG=real,FREQ=real, |
---|
17 | rv1=integer, rv2=integer, rv3=integer, rv4=integer, |
---|
18 | rph1=integer, rph2=integer,lagf=real; |
---|
19 | <!-- HARMON=integer, BETRF=real,PG=real, |
---|
20 | FREQ=real,SHUNT=real,TFILL=real; --> |
---|
21 | </pre> |
---|
22 | An CRABCAVITY has ten real attributes and seven integer attributes: |
---|
23 | <ul> |
---|
24 | <li>L: |
---|
25 | The length of the cavity (default: 0 m) |
---|
26 | <li>VOLT: |
---|
27 | The peak RF voltage (default: 0 MV). |
---|
28 | The effect of the cavity is |
---|
29 | <p> |
---|
30 | delta(<i>px</i>) = VOLT * sin( φ - &omega * t) <br> |
---|
31 | delta(<i>E</i>) = - VOLT * &omega * x * cos(φ - &omega * t) <br> |
---|
32 | (where, &phi = sin(2 π * (LAG - HARMON * <i>f<sub>0</sub> t</i>))) <br> |
---|
33 | <!--- delta(<i>E</i>) = VOLT * |
---|
34 | sin(2 pi * (LAG - HARMON * <i>f<sub>0</sub> t</i>)). --> |
---|
35 | <p> |
---|
36 | |
---|
37 | <li>LAG: |
---|
38 | The initial phase lag [2pi] (default: 0). |
---|
39 | <li>FREQ: |
---|
40 | The frequency [MHz] <i>fenergy</i>(no default). |
---|
41 | Note that if the RF frequency is not given, it is |
---|
42 | computed from the harmonic number |
---|
43 | and the revolution frequency <i>f<sub>0</sub></i> as before. However, |
---|
44 | for deflecting structures this makes no sense, |
---|
45 | and the frequency is mandatory. <br> |
---|
46 | |
---|
47 | <li>RV1: |
---|
48 | Number of initial turns with zero voltage(default: 0). |
---|
49 | <li>RV2: |
---|
50 | Number of turns to ramp voltage from zero to nominal(default: 0). |
---|
51 | <li>RV3: |
---|
52 | Number of turns with nominal voltage (default: VOLT). |
---|
53 | <li>RV4: |
---|
54 | Number of turns to ramp voltage from nominal to zero(default: 0). |
---|
55 | <br> |
---|
56 | <li>RPH1: |
---|
57 | Number of initial turns with nominal phase (default: 0). |
---|
58 | <li>EPHASE: |
---|
59 | Value of the final crab RF phase [2pi] with respect to nominal value (default: 0). |
---|
60 | <li>RPH2: |
---|
61 | Number of turns to ramp phase [2pi] from nominal to specified value(default: 0). |
---|
62 | <br> |
---|
63 | <li>HARMON: |
---|
64 | The harmonic number <i>h</i> (no default). Only if the frequency is not given. |
---|
65 | <!-- <li>BETRF: |
---|
66 | RF coupling factor (default: 0). |
---|
67 | <li>PG: |
---|
68 | The RF power per cavity (default: 0 MW). |
---|
69 | <li>SHUNT: |
---|
70 | The relative shunt impedance (default: 0 MOhm/m). |
---|
71 | <li>TFILL: |
---|
72 | The filling time of the cavity T<sub>fill</sub> |
---|
73 | (default: 0 microseconds). --> |
---|
74 | <li><font color=ff0000><i> Please take note, that the following |
---|
75 | MAD8 attributes: BETRF, PG, SHUNT and TFILL are currently not |
---|
76 | implemented in MAD-X!</i>< |
---|
77 | <li><i> Note that crab cavities are only implemented for tracking |
---|
78 | purposes. TWISS will ignore any effect of the crab cavity. |
---|
79 | <!-- as well that twiss is 4D only. As a consequence the TWISS |
---|
80 | parameters in the plane of non-zero dispersion may not close as |
---|
81 | expected. Therefore, it is best to perform TWISS in 4D only, i.e. with |
---|
82 | cavities switched off. If 6D is needed one has to use the |
---|
83 | |
---|
84 | <a href="../ptc_twiss/ptc_twiss.html">ptc_twiss</a> command. --> |
---|
85 | </i></font> |
---|
86 | </ul> |
---|
87 | A cavity requires the particle energy |
---|
88 | (<a href="beam.html#energy">ENERGY</a>) |
---|
89 | and the particle charge |
---|
90 | (<a href="beam.html#charge">CHARGE</a>) |
---|
91 | to be set by a <a href="beam.html">BEAM</a> command |
---|
92 | before any calculations are performed. |
---|
93 | <p> |
---|
94 | Example: |
---|
95 | <pre> |
---|
96 | BEAM, PARTICLE=PROTON, ENERGY=7000.0; |
---|
97 | CAVITY: CRABCAVITY, L=10.0, VOLT=5.0, LAG=0.0, FREQ=400, |
---|
98 | rv1=0, rv2=50, rv3=1000, rv4=50, rph1=100, rph2=500,lagf=0.125; |
---|
99 | |
---|
100 | </pre> |
---|
101 | The <a href="local_system.html#straight">straight reference system</a> |
---|
102 | for a cavity is a cartesian coordinate system. |
---|
103 | <p> |
---|
104 | <address> |
---|
105 | <a href="http://www.cern.ch/rcalaga">R. Calaga</a>, |
---|
106 | September 2010 |
---|
107 | </address> |
---|
108 | |
---|
109 | </body> |
---|