$Ea=844.489;  =>     844.489
$Hra1=sqrt(($Ea+$Me)*($Ea+$Me)-$Me*$Me)*1e11/$c;  =>   2818.6161
$EmitN=0.5e-4;  =>       5e-05
$EmitC=$Me/sqrt(($Ea+$Me)*($Ea+$Me)-$Me*$Me)*$EmitN;  =>3.0236893e-08
$MBA3C=    -0.0005;  =>     -0.0005
$GMBA8A=   0.070/300*844.489/3000;  =>6.56824778e-05
OptiM
Energy[MeV]=1159.25    Mass[MeV]=0.511006 
Emittance: ex[cm]=$EmitC  ey[cm]=$EmitC  DP/P=0.5e-04 
Initial:	BetaX[cm]=1000 	BetaY[cm]=1000 
	AlfaX=0 	AlfaY=0 
	DispersX[cm]=0 	DispersY[cm]=0 
	Dsp_PrimeX=0 	DspPrimeY=0 
	X[cm]=-8060 	Y[cm]=9997.800 	Z[cm]=-25831.45  	S[cm]=0.000    
	tetaX[deg]=-180     	tetaY[deg]=0
begin lattice. Number of periods=1  
oD7000 iITV2C00 oD7001 gMLA3C02 bMLA3C02 GMLA3C02 oD7002 kMBD3C00V oD7003 
iIPM3C00 oD7004 kMAT3C00H kMAT3C00V kMBD3C00AV oD7005 iIPM3C01 oD7006 qMQA3C01 
oD7007 kMBC3C01H oD7008a  oD7008b iIPM3C02 oD7006 qMQA3C02 oD7009 kMAT3C02V kMBC3C02V 
oD7010 kMAT3C02H oD7011a kMHF3C02V oD7011b  iIPM3C03 oD7006 qMQA3C03 oD7007 kMBC3C03H kMAT3C03H 
kMAT3C03V oD7012a  oD7012b gMBN3C04 bMBN3C04 GMBN3C04 oD7013a  oD7013b iIPM3C04 oD7006 qMQA3C04 
oD7007 kMBC3C04H oD7014 kMBC3C04V oD7015 kMAT3C04V oD7015 kMAT3C04H oD7016a kMHF3C04H oD7016b kMHF3C04V oD7016c 
iIPM3C05 oD7006 qMQA3C05 oD7009 kMAT3C05H kMBC3C05V 
oD7017c iIHA3C05 oD7017d  oD7017b iIPM3C06 oD7006 
qMQA3C06 oD7007 kMBC3C06H oD7015 kMBC3C06V oD7015 kMAT3C06H oD7015 kMAT3C06V
oD7018c kMHF3C06H oD7018d  
oD7018b iIPM3C07 oD7006 qMQA3C07 oD7019 kMBC3C07H oD7020 kMBC3C07V oD7015 
kMAT3C07H oD7015 kMAT3C07V oD7021a kMHF3C07H oD7021b kMHF3C07V oD7021c iIHA3C07A oD7022a kMRK3C07V oD7022b  iIPM3C07A oD7023 
iITV3C07A oD7024 kMRC3M01V oD7025 kMRC3M02H oD7026 iIHA3C07B oD7027a  oD7027b 
iIPM3C08 oD7006 qMQA3C08 oD7028 kMHF3C08H kMHF3C08V  kMAT3C08V oD7029 gMBA3C05 bMBA3C05 GMBA3C05 
oD7030 oD7031 kMBC3C09V oD7032 SMSA3C09 oD7029 gMBA3C06 bMBA3C06 
GMBA3C06 oD7033 iIPM3C10 oD7034 kMHF3C10H kMHF3C10V  oD7029 gMBA3C07 bMBA3C07 GMBA3C07 
oD7033 iIPM3C11 oD7006 qMQA3C11 oD7007 kMBC3C11V oD7032 SMSA3C11 oD7029 
gMBA3C08 bMBA3C08 GMBA3C08 oD7035 iIHA3C12A oD7036 iIPM3C12 oD7037 qMQA3C12 
oD7038 iIOR3C12 oD7039 iIHA3C12B oD7040 gMBA3C09 bMBA3C09 GMBA3C09 oD7041 
qMQA3C13 oD7007 kMBC3C13V oD7032 SMSA3C13 oD7029 gMBA3C10 bMBA3C10 GMBA3C10 
oD7033 iIPM3C14 oD7034 SMSA3C14 oD7029 gMBA3C11 bMBA3C11 GMBA3C11 oD7042 
kMKS3C15V oD7043 kMBC3C15V oD7044 gMBA3C12 bMBA3C12 GMBA3C12 oD7045 iIPM3C16 
oD7037 qMQA3C16 oD7007 kMBC3C16H oD7046 iIHA3C17A oD7047 iITV3C17A oD7048 
iIPM3C17 oD7049 qMQA3C17 oD7050 kMBC3C17V oD7051a iIBC3C17 oD7051b iIHA3C17B oD7052 bMBD3C17H 
oD7053 iIPM3C18 oD7006 qMQA3C18 oD7007 kMBC3C18V oD7007 kMBC3C18H oD7054 
iIPM3C19 oD7006 qMQA3C19 oD7007 kMBC3C19V oD7007 kMBC3C19H oD7055a kMVS3P01V 
gMMC3P01 bMMC3P01 bMMC3P01 GMMC3P01 oD7056a  kMIT3P01H oD7056b iIPM3P01 oD7057 kMVS3P02V gMMC3P02 bMMC3P02 bMMC3P02 
GMMC3P02 oD7058 iIPM3P02A oD7041a imatch iIHA3C19 oD7041a iIPM3P02B oD7058 kMVS3P03V 
gMMC3P03 bMMC3P03 bMMC3P03 GMMC3P03 oD7055 oD7015 kMIT3P03H oD7059c iIPM3P03A oD7059d ielecdet oD7059b kMVS3P04V 
gMMC3P04 bMMC3P04 bMMC3P04 GMMC3P04 oD7060 iIPM3C20 oD7006 qMQA3C20 oD7007 kMBC3C20V 
oD7007 kMBC3C20H oD7015 iIHA3C20 oD7061 iIPM3C21 oD7006 qMQA3C21 oD7007 
kMBC3C21V oD7007 kMBC3C21H oD7062 cSol1 oD7063 iMOLLER oD7063 cSol2 
oD7064 qMQF3M01 oD7065 QMQE3M02 oD7066 qMQE3M03 oD7067 iIPM3H02 oD7068 
kMBD3H02V oD7069 kMBD3H02H oD7070 kMFR3H03H oD7054a kMFR3H03V 
oD7071a kMAT3H04H oD7071b kMAT3H04V oD7071c
iIPM3H04 oD7072a qferr oD7072b iIPM3H04H iIPM3H04V iIBC3H04 oD7073 
#gMBE3H05 bMBE3H05 GMBE3H05 oD7074
bMBD3H05AV oD7074a bMBD3H05BV oD7074b
iIBC3H05 oD7075 
iIUN3H05 oD7076 iIBC3H05A oD7077 kMBD3H06V oD7078
#gMBZ3H06 bMBZ3H06 GMBZ3H06 oD7079
bMBD3H06AV oD7074a bMBD3H06BV kMBD3H06BV 
#oD7079b kMAP3H07H oD7080 
oD7090 kMAP3H07H oD7091a kMAT3H07H oD7091b kMAT3H07V oD7093 oD7080
iIPM3H07A oD7081 iIHA3H07A oD7082 iIPM3H07B oD7083 
iITV3H07 oD7084 iIHA3H07B oD7081 iIPM3H07C oD7085 
#need to add halo girder components before/after pivot 
 oD7031a iIHM3H08 oD7031b ipivot oD4070a iIPM3H08 oD4070b  iIBC3H08 oD4071 
oD4072  oD4073 iIPM3H09 oD4074 iIHA3H09A 
oD4075a iIPM3H09A oD4075b iIOR3H09 oD4076 iIHA3H09B oD4077 iIPM3H09B oD7086a
 iqwtarg oD7087 iIDUMP  
end lattice
begin list
iITV2C00 	L[cm]=0        	Tilt[deg]=0  
gMLA3C02 	B[kG]=-0.4696959   Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=0  
bMLA3C02 	L[cm]=230        	B[kG]=-0.4696959   	G[kG/cm]=0        	Tilt[deg]=0
GMLA3C02 	B[kG]=-0.4696959   Angle[deg]=1.6  EffLen[cm]=0  Tilt[deg]=0  
kMHF3C02V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMHF3C04H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMHF3C04V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMHF3C06H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMHF3C07V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMHF3C07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMHF3C08H 	L[cm]=7.5        	B[kG]=0   	Tilt[deg]=0
kMHF3C08V 	L[cm]=7.5        	B[kG]=0   	Tilt[deg]=90
kMHF3C10H 	L[cm]=7.5        	B[kG]=0   	Tilt[deg]=0
kMHF3C10V 	L[cm]=7.5        	B[kG]=0   	Tilt[deg]=90
kMBD3C00V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBD3C00AV 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C00V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C00H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C02H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C02V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C03V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C03H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C04V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C04H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C05H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C06V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C06H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C07V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3C07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3C08V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBC3C04V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBC3C06V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBC3C07V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
iIPM3C01 	L[cm]=0        	Tilt[deg]=0  
iIPM3C00 	L[cm]=0        	Tilt[deg]=0  
kMBC3C01H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIPM3C02 	L[cm]=0        	Tilt[deg]=0  
qMQA3C01 	L[cm]=30         	G[kG/cm]=0.2572952 	Tilt[deg]=0
qMQA3C02 	L[cm]=30         	G[kG/cm]=-0.4134875 	Tilt[deg]=0
qMQA3C03 	L[cm]=30         	G[kG/cm]=0.2572952 	Tilt[deg]=0
kMBC3C02V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kaMAZ3C02V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
iIPM3C03 	L[cm]=0        	Tilt[deg]=0  
kMBC3C03H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
gMBN3C04 	B[kG]=-1.0803009   Angle[deg]=1.6  EffLen[cm]=0  Tilt[deg]=0  
bMBN3C04 	L[cm]=100        	B[kG]=-1.0803009   	G[kG/cm]=0        	Tilt[deg]=0
GMBN3C04 	B[kG]=-1.0803009   Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=0  
iIPM3C04 	L[cm]=0        	Tilt[deg]=0  
qMQA3C04 	L[cm]=30         	G[kG/cm]=0.3353893 	Tilt[deg]=0
qMQA3C05 	L[cm]=30         	G[kG/cm]=-0.2470851 	Tilt[deg]=0
qMQA3C06 	L[cm]=30         	G[kG/cm]=0.1357516 	Tilt[deg]=0
qMQA3C07 	L[cm]=30         	G[kG/cm]=-0.1257641 	Tilt[deg]=0
qMQA3C08 	L[cm]=30         	G[kG/cm]=0.1841294 	Tilt[deg]=0
#qMQA3C04 	L[cm]=30         	G[kG/cm]=0.4282927 	Tilt[deg]=0
#qMQA3C05 	L[cm]=30         	G[kG/cm]=-0.2348964 	Tilt[deg]=0
#qMQA3C06 	L[cm]=30         	G[kG/cm]=0.1365392 	Tilt[deg]=0
#qMQA3C07 	L[cm]=30         	G[kG/cm]=-0.1815565 	Tilt[deg]=0
#qMQA3C08 	L[cm]=30         	G[kG/cm]=0.2078118 	Tilt[deg]=0
kMBC3C04H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kaMAZ3C04H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIPM3C05 	L[cm]=0        	Tilt[deg]=0  
kMBC3C05V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
bMBC3C05V 	L[cm]=1e-06      	B[kG]=186994.06   	G[kG/cm]=0        	Tilt[deg]=90
iIPM3C06 	L[cm]=0        	Tilt[deg]=0  
kMBC3C06H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIPM3C07 	L[cm]=0        	Tilt[deg]=0  
iIHA3C07A 	L[cm]=0        	Tilt[deg]=0  
iIPM3C07A 	L[cm]=0        	Tilt[deg]=0  
iITV3C07A 	L[cm]=0        	Tilt[deg]=0  
kmokickV 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMRC3M01V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMRC3M02H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIHA3C07B 	L[cm]=0        	Tilt[deg]=0  
kMBC3C07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMRK3C07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMRK3C07V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
iIPM3C08 	L[cm]=0        	Tilt[deg]=0  
KMBC3C08H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
SMSA3C08 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C05 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C05 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=-9.014911e-05  	Tilt[deg]=0
GMBA3C05 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
iIHA3C05 	L[cm]=0        	Tilt[deg]=0  
qMQA3C09 	L[cm]=30         	G[kG/cm]=0       	Tilt[deg]=0
kMBC3C09V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
SMSA3C09 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C06 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C06 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=-9.014911e-05  	Tilt[deg]=0
GMBA3C06 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
iIPM3C10 	L[cm]=0        	Tilt[deg]=0  
iIPM3C11 	L[cm]=0        	Tilt[deg]=0  
qMQA3C10 	L[cm]=30         	G[kG/cm]=0       	Tilt[deg]=0
KMBC3C10H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
SMSA3C10 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C07 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C07 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=-9.014911e-05  	Tilt[deg]=0
GMBA3C07 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
kMBC3C11V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
SMSA3C11 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C08 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C08 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=-9.014911e-05  	Tilt[deg]=0
GMBA3C08 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
iIHA3C12A 	L[cm]=0        	Tilt[deg]=0  
iIPM3C12 	L[cm]=0        	Tilt[deg]=0  
qMQA3C11 	L[cm]=30         	G[kG/cm]=-0.1575238 	Tilt[deg]=0
qMQA3C12 	L[cm]=30         	G[kG/cm]=0.3155003 	Tilt[deg]=0
qMQA3C13 	L[cm]=30         	G[kG/cm]=-0.1416951 	Tilt[deg]=0
KMBC3C12H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIOR3C12 	L[cm]=0        	Tilt[deg]=0  
iIHA3C12B 	L[cm]=0        	Tilt[deg]=0  
gMBA3C09 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C09 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=0        	Tilt[deg]=0
GMBA3C09 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
kMBC3C13V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
SMSA3C13 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C10 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C10 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=0        	Tilt[deg]=0
GMBA3C10 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
iIPM3C14 	L[cm]=0        	Tilt[deg]=0  
qMQA3C14 	L[cm]=30         	G[kG/cm]=0       	Tilt[deg]=0
KMBC3C14H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
SMSA3C14 	L[cm]=15         	S[kG/cm/cm)]=0   Tilt[deg]=0
gMBA3C11 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C11 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=0        	Tilt[deg]=0
GMBA3C11 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
kMBC3C15V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMKS3C15V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
gMBA3C12 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
bMBA3C12 	L[cm]=300        	B[kG]=-0.96495849   	G[kG/cm]=0        	Tilt[deg]=0
GMBA3C12 	B[kG]=-0.96495849   Angle[deg]=2.14375  EffLen[cm]=0  Tilt[deg]=0  
iIPM3C16 	L[cm]=0        	Tilt[deg]=0  
kMBC3C16H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIHA3C17A 	L[cm]=0        	Tilt[deg]=0  
iITV3C17A 	L[cm]=0        	Tilt[deg]=0  
iIPM3C17 	L[cm]=0        	Tilt[deg]=0  
iIPM3C17A 	L[cm]=0        	Tilt[deg]=0  
kMBC3C17V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIHA3C17B 	L[cm]=0        	Tilt[deg]=0  
bMBD3C17H 	L[cm]=15         	B[kG]=-0.075294945   	G[kG/cm]=0        	Tilt[deg]=0
cSol1 	L[cm]=6.1        	B[kG]=0          	Aperture[cm]=0       
cSol2 	L[cm]=6.1        	B[kG]=0          	Aperture[cm]=0       
iMOLLER 	L[cm]=0        	Tilt[deg]=0  
qMQA3C16 	L[cm]=30         	G[kG/cm]=0.2152342 	Tilt[deg]=0
qMQA3C17 	L[cm]=30         	G[kG/cm]=-0.2209244 	Tilt[deg]=0
qMQA3C18 	L[cm]=30         	G[kG/cm]=0.3954498 	Tilt[deg]=0
qMQA3C19 	L[cm]=30         	G[kG/cm]=-0.3817781 	Tilt[deg]=0
#qMQA3C20 	L[cm]=30         	G[kG/cm]=0 	Tilt[deg]=0
#qMQA3C19 	L[cm]=30         	G[kG/cm]=-0.2781629 	Tilt[deg]=0
qMQA3C20 	L[cm]=30         	G[kG/cm]=-0.1247091 	Tilt[deg]=0
qMQA3C21 	L[cm]=30         	G[kG/cm]=-0.1625466 	Tilt[deg]=0
qMQF3M01 	L[cm]=35.24      	G[kG/cm]=0.2939762 	Tilt[deg]=0
QMQE3M02 	L[cm]=99.06      	G[kG/cm]=0       	Tilt[deg]=0
qMQE3M03 	L[cm]=99.06      	G[kG/cm]=-0.0402691 	Tilt[deg]=0
qferr 	L[cm]=25         	G[kG/cm]=0       	Tilt[deg]=0
kMVS3P01V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMVS3P02V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMVS3P03V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMVS3P04V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
gMMC3P01 	B[kG]=5.417735   Angle[deg]=0  EffLen[cm]=2  Tilt[deg]=90  
bMMC3P01 	L[cm]=63         	B[kG]=5.417735   	G[kG/cm]=0        	Tilt[deg]=90
GMMC3P01 	B[kG]=5.417735   Angle[deg]=10.1103  EffLen[cm]=2  Tilt[deg]=90  
gMMC3P02 	B[kG]=-5.417735   Angle[deg]=10.1103  EffLen[cm]=2  Tilt[deg]=90  
bMMC3P02 	L[cm]=63         	B[kG]=-5.417735   	G[kG/cm]=0        	Tilt[deg]=90
GMMC3P02 	B[kG]=5.417735   Angle[deg]=0  EffLen[cm]=2  Tilt[deg]=90  
gMMC3P03 	B[kG]=-5.417735   Angle[deg]=0  EffLen[cm]=2  Tilt[deg]=90  
bMMC3P03 	L[cm]=63         	B[kG]=-5.417735   	G[kG/cm]=0        	Tilt[deg]=90
GMMC3P03 	B[kG]=5.417735   Angle[deg]=10.1103  EffLen[cm]=2  Tilt[deg]=90  
gMMC3P04 	B[kG]=5.417735   Angle[deg]=10.1103  EffLen[cm]=2  Tilt[deg]=90  
bMMC3P04 	L[cm]=63         	B[kG]=5.417735   	G[kG/cm]=0        	Tilt[deg]=90
GMMC3P04 	B[kG]=5.417735   Angle[deg]=0  EffLen[cm]=2  Tilt[deg]=90  
kMIT3P01H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
iIPM3P02A 	L[cm]=0        	Tilt[deg]=0  
iIPM3P02B 	L[cm]=0        	Tilt[deg]=0  
iIPM3P03A 	L[cm]=0        	Tilt[deg]=0  
iIPM3P04 	L[cm]=0        	Tilt[deg]=0  
kMIT3P03H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
imatch 	L[cm]=0        	Tilt[deg]=0  
iIHA3C19 	L[cm]=0        	Tilt[deg]=0  
ielecdet 	L[cm]=0        	Tilt[deg]=0  
iIPM3P01 	L[cm]=0        	Tilt[deg]=0  
iIPM3C18 	L[cm]=0        	Tilt[deg]=0  
iIPM3C20 	L[cm]=0        	Tilt[deg]=0  
iIPM3C21 	L[cm]=0        	Tilt[deg]=0  
iIPM3H04 	L[cm]=0        	Tilt[deg]=0  
iIHA3C20 	L[cm]=0        	Tilt[deg]=0  
iIBC3H05 	L[cm]=0        	Tilt[deg]=0  
iIBC3H05A 	L[cm]=0        	Tilt[deg]=0  
iIUN3H05 	L[cm]=0        	Tilt[deg]=0  
kMBC3C18H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMBC3C18V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBC3C19H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMBC3C19V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
iIPM3C19 	L[cm]=0        	Tilt[deg]=0  
kMBD3H02H 	L[cm]=15         	B[kG]=0   	Tilt[deg]=0
kMBD3H02V 	L[cm]=15         	B[kG]=0   	Tilt[deg]=90
kMBD3H2AV 	L[cm]=15         	B[kG]=0   	Tilt[deg]=0
iIPM3C20A 	L[cm]=0        	Tilt[deg]=0  
iIPM3Hcav 	L[cm]=0        	Tilt[deg]=0  
iIPM3H04V 	L[cm]=0        	Tilt[deg]=0  
iIPM3H04H 	L[cm]=0        	Tilt[deg]=0  
iIBC3H04 	L[cm]=0        	Tilt[deg]=0  
kMBC3C20H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMBC3C20V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBC3C21H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMBC3C21V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMFR3H03H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMFR3H03V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
iIPM3H02 	L[cm]=0        	Tilt[deg]=0  
iIPM3H00 	L[cm]=0        	Tilt[deg]=0  
bMBD3H05AV 	L[cm]=15         	B[kG]=-0.80401474   	G[kG/cm]=0        	Tilt[deg]=90
bMBD3H05BV 	L[cm]=15         	B[kG]=0          	G[kG/cm]=0        	Tilt[deg]=90
bMBD3H06AV 	L[cm]=15         	B[kG]=0.80401474   	G[kG/cm]=0        	Tilt[deg]=90
bMBD3H06BV 	L[cm]=15         	B[kG]=0          	G[kG/cm]=0        	Tilt[deg]=90
gMBE3H05 	B[kG]=0          Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=90  
bMBE3H05 	L[cm]=100        	B[kG]=-0.22300036   	G[kG/cm]=0        	Tilt[deg]=90
GMBE3H05 	B[kG]=0          Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=90  
gMBZ3H06 	B[kG]=0          Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=90  
bMBZ3H06 	L[cm]=200        	B[kG]=0.11150018   	G[kG/cm]=0        	Tilt[deg]=90
GMBZ3H06 	B[kG]=0          Angle[deg]=0  EffLen[cm]=0  Tilt[deg]=90  
kMBD3H06V 	L[cm]=15         	B[kG]=0   	Tilt[deg]=90
kMBD3H06BV 	L[cm]=1e-06      	B[kG]=1e+06   	Tilt[deg]=90
kMAP3H07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3H04H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3H04V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3H07H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3H07V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMAT3HG0H 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=0
kMAT3HG0V 	L[cm]=1e-06      	B[kG]=0   	Tilt[deg]=90
kMBD3H09H 	L[cm]=0          	B[kG]=0   	Tilt[deg]=0
kMBD3H09V 	L[cm]=0          	B[kG]=0   	Tilt[deg]=90
iIPM3H07A 	L[cm]=0        	Tilt[deg]=0  
iIHA3H07B 	L[cm]=0        	Tilt[deg]=0  
iITV3H07 	L[cm]=0        	Tilt[deg]=0  
iIPM3H07B 	L[cm]=0        	Tilt[deg]=0  
iIPM3H07A 	L[cm]=0        	Tilt[deg]=0  
iIHA3H07A 	L[cm]=0        	Tilt[deg]=0  
iIPM3H07C 	L[cm]=0        	Tilt[deg]=0  
iIBC3H07 	L[cm]=0        	Tilt[deg]=0  
irad 	L[cm]=0        	Tilt[deg]=0  
ipivot 	L[cm]=0        	Tilt[deg]=0  
iqwtarg 	L[cm]=0        	Tilt[deg]=0  
iIG0targ 	L[cm]=0        	Tilt[deg]=0  
iIDUMP 	L[cm]=0        	Tilt[deg]=0  
iIBC3H08 	L[cm]=0        	Tilt[deg]=0  
iIHM3H08 	L[cm]=0        	Tilt[deg]=0  
iIPM3H08 	L[cm]=0        	Tilt[deg]=0  
iIPM3H09 	L[cm]=0        	Tilt[deg]=0  
iIHA3H09B 	L[cm]=0        	Tilt[deg]=0  
iIOR3H09 	L[cm]=0        	Tilt[deg]=0  
iIHA3H09A 	L[cm]=0        	Tilt[deg]=0  
iIPM3H09A 	L[cm]=0        	Tilt[deg]=0  
iIPM3H09B 	L[cm]=0        	Tilt[deg]=0  
iMolDet 	L[cm]=0        	Tilt[deg]=0  
oD7000 	L[cm]=44.55    
oD7001 	L[cm]=35.45    
oD7002 	L[cm]=126.3    
oD7003 	L[cm]=86.7     
oD7004 	L[cm]=163.3    
oD7005 	L[cm]=736.235  
oD7006 	L[cm]=22.465   
oD7007 	L[cm]=19.315   
oD7008 	L[cm]=158.22   
oD7008a 	L[cm]=58.22    
oD7008b 	L[cm]=100      
oD7009 	L[cm]=38.924   
oD7010 	L[cm]=16.076   
oD7011 	L[cm]=122.535  
oD7011a 	L[cm]=62.535   
oD7011b 	L[cm]=60       
oD7012a 	L[cm]=600      
oD7012b 	L[cm]=580.68   
oD7012 	L[cm]=1180.68  
oD7013 	L[cm]=77.535   
oD7013a 	L[cm]=70       
oD7013b 	L[cm]=7.535    
oD7014 	L[cm]=20.685   
oD7015 	L[cm]=20       
oD7016 	L[cm]=197.535  
oD7016a 	L[cm]=55       
oD7016b 	L[cm]=68.535   
oD7016c 	L[cm]=74       
oD7017 	L[cm]=638.611  
oD7017a 	L[cm]=138.611  
oD7017b 	L[cm]=500      
oD7017c 	L[cm]=49.561   
oD7017d 	L[cm]=89.05    
oD7018 	L[cm]=398.22   
oD7018a 	L[cm]=298.22   
oD7018b 	L[cm]=100      
oD7018c 	L[cm]=90       
oD7018d 	L[cm]=208.22   
oD7019 	L[cm]=19.314   
oD7020 	L[cm]=19.61    
oD7021 	L[cm]=166.116  
oD7021a 	L[cm]=38       
oD7021b 	L[cm]=71       
oD7021c 	L[cm]=57.116   
oD7022 	L[cm]=103.158  
oD7022a 	L[cm]=46       
oD7022b 	L[cm]=57.158   
oD7023 	L[cm]=28.666   
oD7024 	L[cm]=33.776   
oD7025 	L[cm]=40.6     
oD7026 	L[cm]=43.64    
oD7027 	L[cm]=62.655   
oD7027a 	L[cm]=32.655   
oD7027b 	L[cm]=30       
oD7028 	L[cm]=34.497   
oD7029 	L[cm]=60.503   
oD7030 	L[cm]=28.15    
oD7031 	L[cm]=101.165  
oD7031a 	L[cm]=176.304  
oD7031b 	L[cm]=24.858   
oD7032 	L[cm]=15.182   
oD7033 	L[cm]=57.535   
oD7034 	L[cm]=86.962   
oD7035 	L[cm]=35.42    
oD7036 	L[cm]=22.19    
oD7037 	L[cm]=22.39    
oD7038 	L[cm]=40.46    
oD7039 	L[cm]=34.43    
oD7040 	L[cm]=35.11    
oD7041 	L[cm]=80       
oD7041a 	L[cm]=69.527   
oD7042 	L[cm]=69.315   
oD7043 	L[cm]=60       
oD7044 	L[cm]=90.685   
oD7045 	L[cm]=57.61    
oD7046 	L[cm]=175.285  
oD7047 	L[cm]=48.097   
oD7048 	L[cm]=13.868   
oD7049 	L[cm]=24.335   
oD7050 	L[cm]=21.9     
oD7051 	L[cm]=49.23    
oD7051a 	L[cm]=24.23    
iIBC3C17 	L[cm]=0        	Tilt[deg]=0  
oD7051b 	L[cm]=25       
oD7052 	L[cm]=6.938    
oD7053 	L[cm]=32.18    
oD7054 	L[cm]=40       
oD7054a 	L[cm]=40.639   
oD7055 	L[cm]=32.95    
oD7055a 	L[cm]=47.469   
oD7056 	L[cm]=101.6886 
oD7056a 	L[cm]=96.2686  
oD7056b 	L[cm]=50.033   
oD7057 	L[cm]=52.077   
oD7058 	L[cm]=39.973   
oD7059 	L[cm]=133.88   
oD7059a 	L[cm]=103.88   
oD7059c 	L[cm]=50.03    
oD7059d 	L[cm]=55.4     
oD7059b 	L[cm]=40       
oD7060 	L[cm]=135.222  
oD7061 	L[cm]=24.7     
oD7062 	L[cm]=44.522   
oD7063 	L[cm]=4.7      
oD7064 	L[cm]=56.42    
oD7065 	L[cm]=117.6846 
oD7066 	L[cm]=34.249   
oD7067 	L[cm]=294.76   
oD7068 	L[cm]=7.214    
oD7069 	L[cm]=4.519    
oD7070 	L[cm]=48.889   
oD7071 	L[cm]=117.946  
oD7071a 	L[cm]=75.204   
oD7071b 	L[cm]=15       
oD7071c 	L[cm]=26.495   
oD7072 	L[cm]=302.3    
oD7072a 	L[cm]=22.304   
oD7072b 	L[cm]=252      
oD7073 	L[cm]=89.078   
oD7074 	L[cm]=80.3     
oD7074a 	L[cm]=10       
oD7074b 	L[cm]=140.3    
oD7075 	L[cm]=27.5     
oD7076 	L[cm]=34       
oD7077 	L[cm]=48.985   
oD7078 	L[cm]=25.879   
oD7079 	L[cm]=28.058   
oD7079b 	L[cm]=88.058   
oD7080 	L[cm]=29.21    
oD7081 	L[cm]=25.298   
oD7082 	L[cm]=70.42    
oD7083 	L[cm]=48.969   
oD7084 	L[cm]=21.387   
oD7085 	L[cm]=34.516   
oD7086 	L[cm]=439.42   
oD7086a 	L[cm]=138.806  
oD7087 	L[cm]=4738.194 
oD7090 	L[cm]=38.073   
oD7091 	L[cm]=12.5     
oD7091a 	L[cm]=28.5     
oD7091b 	L[cm]=15       
oD7092 	L[cm]=37.5     
oD7093 	L[cm]=6.5      
oD4069 	L[cm]=1072.048 
oD4070 	L[cm]=116.85   
oD4070a 	L[cm]=89.967   
oD4070b 	L[cm]=26.884   
oD4071 	L[cm]=46.274   
oD4072 	L[cm]=19.05    
oD4073 	L[cm]=30.481   
oD4074 	L[cm]=25.295   
oD4075 	L[cm]=185.316  
oD4075a 	L[cm]=102.059  
oD4075b 	L[cm]=83.261   
oD4076 	L[cm]=18.946   
oD4077 	L[cm]=25.3     
oD4078 	L[cm]=673.3    
iIBC3H3G0Z 	L[cm]=0        	Tilt[deg]=0  
iIHM3HG0 	L[cm]=0        	Tilt[deg]=0  
iIPM3HG0 	L[cm]=0        	Tilt[deg]=0  
iIHA3HG0 	L[cm]=0        	Tilt[deg]=0  
iIOR3HG0 	L[cm]=0        	Tilt[deg]=0  
iIHA3HG0A 	L[cm]=0        	Tilt[deg]=0  
iIPM3HG0B 	L[cm]=0        	Tilt[deg]=0  
end list

BetaFitBlock  dL[cm]=0.01  dB[kGs]=0.01  dG[kGs/cm]=0.001
#Required parameters and their accuracy listed below(dPARM<=0. - no fitting)
#Maximum Betas[cm] and MomentumCompaction are on the next line
BtXmax=20000  dBtXmax=-100  BtYmax=20000  dBtYmax=-50  Alfa=0  dAlfa=0
#Fitting parameters at the end of the lattice
Beta_X[cm]=100 	dBeta_X[cm]=0 	Alfa_X=0  	dAlfa_X=0
Beta_Y[cm]=100 	dBeta_Y[cm]=0 	Alfa_Y=0  	dAlfa_Y=0 
Disp_X[cm]=0 	dDisp_X[cm]=0 	D_prime_X=0 	dD_prime_X=0 
Disp_Y[cm]=0 	dDisp_Y[cm]=0 	D_prime_Y=0 	dD_prime_Y=0 
Qx=0 	dQx=0 
Qy=0 	dQy=0 
Fit at element with number =261
Beta_X[cm]=400 	dBeta_X[cm]=-5 	Alfa_X=0.2  	dAlfa_X=-0.01
Beta_Y[cm]=400 	dBeta_Y[cm]=-5 	Alfa_Y=0.2  	dAlfa_Y=-0.01 
Disp_X[cm]=0 	dDisp_X[cm]=0 	D_prime_X=0 	dD_prime_X=0 
Disp_Y[cm]=0 	dDisp_Y[cm]=0 	D_prime_Y=0 	dD_prime_Y=0 
Qx=0 	dQx=0 
Qy=0 	dQy=0 
Fit at element with number =387
Beta_X[cm]=4000 	dBeta_X[cm]=5 	Alfa_X=-0.9  	dAlfa_X=0.01
Beta_Y[cm]=4000 	dBeta_Y[cm]=5 	Alfa_Y=-0.9  	dAlfa_Y=0.01 
Disp_X[cm]=0 	dDisp_X[cm]=0 	D_prime_X=0 	dD_prime_X=0 
Disp_Y[cm]=0 	dDisp_Y[cm]=0 	D_prime_Y=0 	dD_prime_Y=0 
Qx=0 	dQx=0 
Qy=0 	dQy=0 
#To create a Fitting at intermidiate element: uncomment the line above, 
# write the correct element number and insert six lines describing the
# fit parameters. You can use up to 4 intermidiate points
#Each point has to be determined as described above
#
#Insert groups of elements below. Each group has to be located on one line.
#Start from the letter describing the type of changable parameter such as: L:, B:, G: 
#G: qMQA3C04
#G: qMQA3C05
#G: qMQA3C06
#G: qMQA3C07
#G: qMQA3C08
#G: qMQA3C11
#G: qMQA3C12
#G: qMQA3C13
#G: qMQA3C16
#G: qMQA3C17
#G: qMQA3C18
#G: qMQA3C19
G: qMQA3C20
G: qMQA3C21
G: qMQF3M01
G: qMQE3M03
EndBetaFitBlock

TrajParamBlock
	X[cm]=0. 	Teta_X[rad]=0.
	Y[cm]=0. 	Teta_Y[rad]=0.
	s[cm]=0. 	DeltaP/P=0.
EndTrajParamBlock
