io_path{input =in,output=out,logfile=log.txt}
!---------------------------------------------------
!!!!!!Vertical Bending magnets
!---------------------------------------------------
lattice{
        dipole !I1.BB.1.1
          {position {rho=0, psi=0.0, marker=d1a}
properties {r = -3.5}
           position {rho=0.5, psi=0.0, marker=d1b}
             }
        dipole !I1.BB.1.2
          {position {rho=1.5, psi=0.0, marker=d2a}
properties {r = 3.5}
           position {rho=2.0, psi=0.0, marker=d2b}
             }
        dipole !I1.BB.1.3
          {position {rho=3.5, psi=0.0, marker=d3a}
properties {r = 3.5}
           position {rho=4.0, psi=0.0, marker=d3b}
             }
        dipole !I1.BB.1.4
          {position {rho=5.0, psi=0.0, marker=d4a}
properties {r = -3.5}
           position {rho=5.5, psi=0.0, marker=d4b}
             }
   }
!---------------------------------------------------
! particle distribution
!---------------------------------------------------
particles{reference_momentum  = reference_particle
          reference_point_x   =0.0
          reference_point_y   =0.0
          reference_point_phi =0.0
          format=fmt1,array=#file{name=in.fmt1}
         }

!---------------------------------------------------
! online monitors
!---------------------------------------------------
! online_monitor{name=p.fmt2,type=phase,format=fmt2,particle=all
!               start_time_c0=now
!               end_time_marker=d4b,end_time_shift_c0=1.0
!               time_step_c0=0.25
!              }

!---------------------------------------------------
! force definition
!---------------------------------------------------
forces{type = projected sigma_long=relative relative_long=0.1 par1=1 par2=5000 test=no}
!---------------------------------------------------
! tracking
!---------------------------------------------------
  track_step{precondition=yes
             iterative=2
             error_per_ct=0.001
             error_weight_momentum=0.0

             ct_step_min=0.01
             ct_step_max=0.05
             ct_step_first=0.05
             increase_factor=1.2
             arc_factor=0.3
             duty_steps=yes
            }

  tracker{end_time_marker=d4b,end_time_shift_c0=1.00}

!---------------------------------------------------
! offline monitors
!---------------------------------------------------
  monitor{format=fmt1,name=out.fmt1}

exit
