Project

General

Profile

Get-LatticeData.txt

Kyle Hazelwood, 01/15/2015 11:48 AM

 
1
I78/pa1973
2

    
3
Input lattice file preparation
4
---------------------------------
5

    
6
             step 1: make available the twiss text file in a PC directory, e.g.
7

    
8
		Y:\wu\Lattice_data\MAD_tape\RR_NOvA		   		   	   		\RR4NOVATWISS_09102014
9

    
10
	step 2: transfer the file from PC to a Linux directory, e.g.
11

    
12
		/usr/local/cbs_files/MI/MadTwiss/rn_091014.tape
13
		you can use FileZilla or WinSCP
14

    
15
	step 3: check and if needed modify  the data in file - header and tail lines
16

    
17
	   header line -
18
                SUN    x    TWISS10/09/1415.59.21 SUN   m       1       F   12371
19

    
20
	  - add any character string between 'SUN' and 'TWISS....', because
21
	   in Dave J's first line there was 'sun0' in the between.
22
 	  - '12371' is number of markers
23

    
24
Run I78/pa1973
25
-------------------
26

    
27
- Select a ring(the 1st menubar cmd)
28
- cmd - GET -> 'get lattice from MAD'
29
	Read in lattice data from MAD twiss TEXT 'tape' output file
30
             and store it in DB. 
31
	In the tape file marker name must be led by 4 characters type 	                 	followed by element name, e.g 'HKICH106'. After read in the I78 extract 		             the type "HKIC" and name "H106" and use them as keys for DB data 			records. The I78/pa1973 was designed based on the element type - name 			association information.
32

    
33
- follow messages until a file directory for select file# to save. (to create and save to new file or overwriten an existing file).