#******************************************************************* # test file to read soleil multipole errors # # 1) input format of multipole error: # # key words/element name r0(radius where is error is measured) # n(order of error) Bn(n-th B component of the field) # An(n-th A component of the field) # n, Bn, An,...... # # 2)define format can be "key words" or lattice element name # # 3) key words: # dip dipole # quad quadrupole # sext sextupole # hcorr horizontal corrector # vcorr vorizontal corrector # qt skew quadrupole # # 4) Bn defines the upright component of the magnetic field, # for skew multipole error components, such as compoents # of skew quadrupole or vertical corrector, Bn = 0 # 5) An defines the skew component of the magnetic field, # for upright multipole error components, such as compoents # of dipole or quadrupole, An = 0 # # #******************************************************************* #dipole # dip 20e-3 2 2.2e-4 0.0 3 -3.0e-4 0.0 4 2.0e-5 0.0 5 -1.0e-4 0.0 6 -6.0e-5 0.0 7 -1.0e-4 0.0 dip 20e-3 2 2.2e-40 0.0 3 -3.0e-4 0.0 4 2.0e-5 0.0 5 -1.0e-4 0.0 6 -6.0e-5 0.0 7 -1.0e-4 0.0 #quadrupole #for all short quadrupoles quad 30e-3 6 2.4e-4 0.0 10 0.7e-4 0.0 14 0.9e-4 0.0 #for all long quadrupoles qp2 and qp7 qp2a 30e-3 6 0.7e-4 0.0 10 1.9e-4 0.0 14 1.0e-4 0.0 qp2b 30e-3 6 0.7e-4 0.0 10 1.9e-4 0.0 14 1.0e-4 0.0 qp7a 30e-3 6 0.7e-4 0.0 10 1.9e-4 0.0 14 1.0e-4 0.0 qp7b 30e-3 6 0.7e-4 0.0 10 1.9e-4 0.0 14 1.0e-4 0.0 #for all short quadrupoles,sextupole mesure quadrupoles longs quad 30e-3 3 -1.6e-4 0.0 4 -3.4e-4 0.0 #for long quadrupoles qp2 and qp7 qp2a 30e-3 3 2.9e-4 0.0 4 -8.6e-4 0.0 qp2b 30e-3 3 2.9e-4 0.0 4 -8.6e-4 0.0 qp7a 30e-3 3 2.9e-4 0.0 4 -8.6e-4 0.0 qp7b 30e-3 3 2.9e-4 0.0 4 -8.6e-4 0.0 # for sextupoles sext 32e-3 5 5.4e-4 0.0 7 3.3e-4 0.0 9 -4.7e-4 0.0 15 -9.0e-4 0.0 21 -20.9e-4 0.0 27 0.8e-4 0.0 # for horizontal correctors, all An=0 hcorr 35e-3 5 0.430 0.0 7 0.063 0.0 11 -0.037 0.0 # for vertical correctors, all Bn=0 vcorr 35e-3 5 0.0 -0.430 7 0.0 0.063 11 0.0 0.037 # for sextupole associated skew quadrupole, all Bn=0 # qt 35e-3 4 0.0 -0.0 qt 35e-3 4 0.0 -0.680