; ------
;
; Included segments: mebt, dtl, spokes_hb, hebt
;
; Included matching families: 
;
; ------

; Origin: ~/Dropbox/ESS_Linac/3.0_MEBT/Beam_Physics/2014.v1/lat.mebt_2014.v1_nom.dat
; ONLY MEBT
;==================================================
;
; - This is MEBT 2014.v1 
;
; - The input is from RFQ of 2013.10.
; - Matching in z is done with a python script.
; - The error are standard tolerances presented in TAC 2014.06.
;
; - An error study for the MEBT col in Oct 2014 is done with a wrong set of
;   dynamic errors for the MEBT buncher cavities. See below. 
;
;==================================================

;-------- Error ratio and RFQ output beam error

ERROR_SET_RATIO 0.01

ERROR_BEAM_STAT 1 0.3 0.3 0 1 1 0.01 5 5 5 5 5 5 0.625 0 0 0 0 0 0 0 0 0 0 0 0

;-------- MEBT 2014.v1

ERROR_QUAD_NCPL_STAT 1000 1 0.2 0.2 0 0 0.06 0.5 0
ERROR_CAV_NCPL_STAT 1000 1 0.5 0.5 0.115 0.115 1 1 0

ERROR_CAV_NCPL_DYN 1000 1 0 0 0 0 0.2 0.2 0
; The dynamic errors used for a collimation study mentioned above.
;ERROR_CAV_NCPL_DYN 1000 1 0 0 0 0 0.1 0.1 0

DRIFT 150 18.4 0

DRIFT 10 18.4 0
DIAG_POSITION 1 0 0 0.2
ADJUST_STEERER 2
STEERER 0 0 0 0 0 0
;MATCH_FAM_GRAD 66 8
QUAD 80 -16.1578 18.4 0 0 0 0 0 0
DRIFT 10 18.4 0


END
