source: PSPA/madxPSPA/tests/test-ibs-2/test-ibs-2.madx @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.1 KB
Line 
1!! **************************************************************************************
2!!                                                                             
3!! CLIC Pre-Damping Ring design following the resonance free lattice concept   
4!!
5!! Racetrack configuration with 2 arc sections and two straight sections
6!! Arc cells: TME cells
7!! Straight Sections: FODO cells filled with damping wigglers
8!! Two Dispersion suppressions with space to add RF cavities, injection and extraction
9!!
10!! **************************************************************************************
11
12!! *****************
13!! Beam definition
14!! *****************
15
16beam, particle=positron, energy=2.86,bunched,npart=4.5E+11,
17      kbunch=312, EX = 1.250699e-6, EY = 1.250699e-3, ET = 7.5E-05,
18      SIGT=0.009, SIGE=0.015,radiate=TRUE;
19
20call, file="input/tme-ibs.seq";
21
22SELECT,FLAG=TWISS,RANGE=#S/#E,
23       COLUMN=NAME,KEYWORD,S,L,ANGLE,K1L,BETX,ALFX,MUX,BETY,ALFY,MUY,DX,DPX,DY,DPY;
24
25
26use, sequence=TME;
27
28twiss,sequence=TME,file=tme-twiss.tfs;
29
30!plot,haxis=s,vaxis1=betx,bety,vaxis2=dx,colour=100,title="TME cell",noversion=true;!,interpolate=true;
31
32mux=table(summ,q1);
33muy=table(summ,q2);
34show, mux, muy;
35
36twiss,centre;
37ibs,file=ibs-table.tfs;
38
Note: See TracBrowser for help on using the repository browser.