! lattice file to create markers for 3 IBMS detectors
! to use these fiber monitor markers, put this statemnent in your main lattice file:
!   call, file = ibms_lattic. 

! dlr, July 2019

!*********************************************
! IBMS GEOMETRICAL PARAMETERS
!*********************************************

! There are 3 fiber monitors

!*********************************************
! IBMS LATTICE ELEMENTS
!*********************************************

IBMS1:  marker, superimpose, ref = mark_inflector_ds, offset = -4.397,  ref_origin = beginning, x_offset=-0.045, tracking_method = custom, mat6_calc_method=bmad_standard
IBMS2:  marker, superimpose,  ref = mark_inflector_ds, offset = -1.9505,  ref_origin = beginning, x_offset=0.0109, tracking_method = custom, mat6_calc_method=bmad_standard
!IBMS3:  marker, superimpose,  ref = afree, offset = 8.175/360.*44.686,  ref_origin = beginning, x_offset =7181.2-7112. !, tracking_method = custom

!IBMS1[tracking_method]=custom

!ibms_line: line=(IBMS1,IBMS2,IBMS3)
!use ibms_line