source: PSPA/madxPSPA/tests/test-ptc-twiss-old6/MB.measurementsb1.fix.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.6 KB
Line 
1!------------------------------------------------------------------------
2!      SIMULATE THE RESULTS OF OFF/ON-LINE MAGNETIC MEASUREMENTS
3!------------------------------------------------------------------------
4Select,flag=ERROR, clear;
5Select,flag=ERROR, class=MB;
6Esave,file="temp/MB.errors",order=0,radius=Rr;
7System,"grep R1 temp/MB.errors > temp/MB.12";
8System,"grep L2 temp/MB.errors >> temp/MB.12";
9
10System,"grep R2 temp/MB.errors > temp/MB.23";
11System,"grep L3 temp/MB.errors >> temp/MB.23";
12
13System,"grep R3 temp/MB.errors > temp/MB.34";
14System,"grep L4 temp/MB.errors >> temp/MB.34";
15
16System,"grep R4 temp/MB.errors > temp/MB.45";
17System,"grep L5 temp/MB.errors >> temp/MB.45";
18
19System,"grep R5 temp/MB.errors > temp/MB.56";
20System,"grep L6 temp/MB.errors >> temp/MB.56";
21
22System,"grep R6 temp/MB.errors > temp/MB.67";
23System,"grep L7 temp/MB.errors >> temp/MB.67";
24
25System,"grep R7 temp/MB.errors > temp/MB.78";
26System,"grep L8 temp/MB.errors >> temp/MB.78";
27
28System,"grep R8 temp/MB.errors > temp/MB.81";
29System,"grep L1 temp/MB.errors >> temp/MB.81";
30
31System,"perl read.magnet.errors temp/MB.12"; Call,file="temp/MB.12.mad";
32System,"perl read.magnet.errors temp/MB.23"; Call,file="temp/MB.23.mad";
33System,"perl read.magnet.errors temp/MB.34"; Call,file="temp/MB.34.mad";
34System,"perl read.magnet.errors temp/MB.45"; Call,file="temp/MB.45.mad";
35System,"perl read.magnet.errors temp/MB.56"; Call,file="temp/MB.56.mad";
36System,"perl read.magnet.errors temp/MB.67"; Call,file="temp/MB.67.mad";
37System,"perl read.magnet.errors temp/MB.78"; Call,file="temp/MB.78.mad";
38System,"perl read.magnet.errors temp/MB.81"; Call,file="temp/MB.81.mad";
39
40return;
Note: See TracBrowser for help on using the repository browser.