io_path{input =in,output=out,logfile=log.txt}
!---------------------------------------------------
 !!!!!!!! 90Degree
!---------------------------------------------------
lattice{
dipole      ! I1.BL.6.1A
          { position{rho=0.0,psi=0.0,marker=I1.BL.6.1A_in}
            properties{r=-1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.1A_out}
          }
multipole   ! I1.SC.1.1
          { position{delta_s=0.480482,marker=I1.SC.1.1A_in,duty=no}
            properties{poles=6,strength=-98.1752276194943,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.1A_out,duty=no}
          } 
quadrupole  ! I1.QI.17.1
          { position{delta_s=0.1,marker=I1.QI.17.1_in,duty=no}
            properties{strength=5.865493569,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.1_out,duty=no}
          }     
multipole   ! I1.SC.2.1
          { position{delta_s=0.1,marker=I1.SC.2.1A_in,duty=no}
            properties{poles=6,strength=-59.4821133431329,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.1A_out,duty=no}
          }          
dipole      ! I1.BL.7.1 
          { position{delta_s=0.140982,psi=0.0,marker=I1.BL.7.1A_in}
            properties{r=4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.1A_out}
          }
quadrupole  ! I1.QI.18.1
          { position{delta_s=0.508608,marker=I1.QI.18.1_in,duty=no}
            properties{strength=-5.906955582,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.18.1_out,duty=no}
          } 
dipole      ! I1.BL.7.1 
          { position{delta_s=0.508608,psi=0.0,marker=I1.BL.7.1B_in}
            properties{r=4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.1B_out}
          }     
multipole   ! I1.SC.2.1
          { position{delta_s=0.140982,marker=I1.SC.2.1B_in,duty=no}
            properties{poles=6,strength=-59.4821133431329,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.1B_out,duty=no}
          }   
quadrupole  ! I1.QI.17.2
          { position{delta_s=0.1,marker=I1.QI.17.2_in,duty=no}
            properties{strength=5.865493569,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.2_out,duty=no}
          }           
multipole   ! I1.SC.1.1
          { position{delta_s=0.1,marker=I1.SC.1.1B_in,duty=no}
            properties{poles=6,strength=-98.1752276194943,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.1B_out,duty=no}
          } 
dipole      ! I1.BL.6.1
          { position{delta_s=0.480482,psi=0.0,marker=I1.BL.6.1B_in}
            properties{r=-1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.1B_out}
          }
quadrupole  ! I1.QI.16H.2+I1.QI.16H.3
          { position{delta_s=0.201227,marker=I1.QI.16H.2.3_in,duty=no}
            properties{strength=-5.44476695,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.16H.2.3_out,duty=no}
          }  
dipole      ! I1.BL.6.1
          { position{delta_s=0.201227,psi=0.0,marker=I1.BL.6.1C_in}
            properties{r=-1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.1C_out}
          }      
multipole   ! I1.SC.1.1
          { position{delta_s=0.480482,marker=I1.SC.1.1C_in,duty=no}
            properties{poles=6,strength=-98.1752276194943,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.1C_out,duty=no}
          }     
quadrupole  ! I1.QI.17.3
          { position{delta_s=0.1,marker=I1.QI.17.3_in,duty=no}
            properties{strength=5.86549355,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.3_out,duty=no}
          }                       
multipole   ! I1.SC.2.1
          { position{delta_s=0.1,marker=I1.SC.2.1C_in,duty=no}
            properties{poles=6,strength=-59.4821133431329,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.1C_out,duty=no}
          }  
dipole      ! I1.BL.7.1 
          { position{delta_s=0.140982,psi=0.0,marker=I1.BL.7.1C_in}
            properties{r=4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.1C_out}
          } 
quadrupole  ! I1.QI.18.2
          { position{delta_s=0.508608,marker=I1.QI.18.2_in,duty=no}
            properties{strength=-5.90695560,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.18.2_out,duty=no}
          }           
dipole      ! I1.BL.7.1 
          { position{delta_s=0.508608,psi=0.0,marker=I1.BL.7.1D_in}
            properties{r=4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.1D_out}
          } 
multipole   ! I1.SC.2.1
          { position{delta_s=0.140982,marker=I1.SC.2.1D_in,duty=no}
            properties{poles=6,strength=-59.482113300,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.1D_out,duty=no}
          }            
quadrupole  ! I1.QI.17.4
          { position{delta_s=0.1,marker=I1.QI.17.4_in,duty=no}
            properties{strength=5.865493569,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.4_out,duty=no}
          }            
multipole   ! I1.SC.1.1
          { position{delta_s=0.1,marker=I1.SC.1.1D_in,duty=no}
            properties{poles=6,strength=-98.175227600,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.1D_out,duty=no}
          }        
dipole      ! I1.BL.6.1
          { position{delta_s=0.480482,psi=0.0,marker=I1.BL.6.1D_in}
            properties{r=-1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.1D_out}
          }                              
quadrupole  ! I1.QI.16H.4+I1.QI.16H.5
          { position{delta_s=0.2012268,marker=I1.QI.16H.4.5_in,duty=no}
            properties{strength=-5.444766974,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.16H.4.5_out,duty=no}
          }  
dipole      ! I1.BL.6.2
          { position{delta_s=0.2012268,psi=0.0,marker=I1.BL.6.2A_in}
            properties{r=1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.2A_out}
          }  
multipole   ! I1.SC.1.2
          { position{delta_s=0.480482,marker=I1.SC.1.2A_in,duty=no}
            properties{poles=6,strength=98.175227600,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.2A_out,duty=no}
          } 
quadrupole  ! I1.QI.17.5
          { position{delta_s=0.1,marker=I1.QI.17.5_in,duty=no}
            properties{strength=5.865493550,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.5_out,duty=no}
          }  
multipole   ! I1.SC.2.2
          { position{delta_s=0.1,marker=I1.SC.2.2A_in,duty=no}
            properties{poles=6,strength=+59.4821133431329,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.2A_out,duty=no}
          }
dipole      ! I1.BL.7.2
          { position{delta_s=0.1409819,psi=0.0,marker=I1.BL.7.2A_in}
            properties{r=-4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.2A_out}
          } 
quadrupole  ! I1.QI.18.3
          { position{delta_s=0.508608,marker=I1.QI.18.3_in,duty=no}
            properties{strength=-5.9069556,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.18.3_out,duty=no}
          }     
dipole      ! I1.BL.7.2
          { position{delta_s=0.508608,psi=0.0,marker=I1.BL.7.2B_in}
            properties{r=-4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.2B_out}
          } 
multipole   ! I1.SC.2.2
          { position{delta_s=0.1409819,marker=I1.SC.2.2B_in,duty=no}
            properties{poles=6,strength=+59.4821133431329,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.2B_out,duty=no}
          }
quadrupole  ! I1.QI.17.6
          { position{delta_s=0.1,marker=I1.QI.17.6_in,duty=no}
            properties{strength=5.86549355,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.6_out,duty=no}
          } 
multipole   ! I1.SC.1.2
          { position{delta_s=0.1,marker=I1.SC.1.2B_in,duty=no}
            properties{poles=6,strength=+98.17522760,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.2B_out,duty=no}
          } 
dipole      ! I1.BL.6.2
          { position{delta_s=0.480482,psi=0.0,marker=I1.BL.6.2B_in}
            properties{r=1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.2B_out}
          } 
quadrupole  ! I1.QI.16H.6+I1.QI.16H.9
          { position{delta_s=0.2012268,marker=I1.QI.16H.6.9_in,duty=no}
            properties{strength=-5.44476695,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.16H.6.9_out,duty=no}
          }  
dipole      ! I1.BL.6.2
          { position{delta_s=0.2012268,psi=0.0,marker=I1.BL.6.2C_in}
            properties{r=1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.2C_out}
          } 
multipole   ! I1.SC.1.2
          { position{delta_s=0.480482,marker=I1.SC.1.2C_in,duty=no}
            properties{poles=6,strength=+98.175227600,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.2C_out,duty=no}
          } 
quadrupole  ! I1.QI.17.9
          { position{delta_s=0.1,marker=I1.QI.17.9_in,duty=no}
            properties{strength=5.865493550,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.9_out,duty=no}
          }           
multipole   ! I1.SC.2.2
          { position{delta_s=0.1,marker=I1.SC.2.2C_in,duty=no}
            properties{poles=6,strength=+59.482113300,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.2C_out,duty=no}
          }       
dipole      ! I1.BL.7.2
          { position{delta_s=0.1409819,psi=0.0,marker=I1.BL.7.2C_in}
            properties{r=-4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.2C_out}
          }
quadrupole  ! I1.QI.18.5
          { position{delta_s=0.508608,marker=I1.QI.18.5_in,duty=no}
            properties{strength=-5.90695560,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.18.5_out,duty=no}
          }   
dipole      ! I1.BL.7.2
          { position{delta_s=0.508608,psi=0.0,marker=I1.BL.7.2D_in}
            properties{r=-4.68942}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.7.2D_out}
          }
multipole   ! I1.SC.2.2
          { position{delta_s=0.1409819,marker=I1.SC.2.2D_in,duty=no}
            properties{poles=6,strength=+59.48211330,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.2.2D_out,duty=no}
          }           
quadrupole  ! I1.QI.17.10
          { position{delta_s=0.1,marker=I1.QI.17.10_in,duty=no}
            properties{strength=5.86549355,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.2,marker=I1.QI.17.10_out,duty=no}
          }  
multipole   ! I1.SC.1.2
          { position{delta_s=0.1,marker=I1.SC.1.2D_in,duty=no}
            properties{poles=6,strength=98.175227600,alpha=0
                       horizontal_offset=0,vertical_offset=0}
            position{delta_s=0.1,marker=I1.SC.1.2D_out,duty=no}
          }                                         
dipole      ! BL.92.I1
          { position{delta_s=0.480482,psi=0.0,marker=I1.BL.6.2D_in}
            properties{r=1.80315}
            position{delta_s=0.2,psi=0.0,marker=I1.BL.6.2D_out}
          }          
 }
!---------------------------------------------------
! 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=I1.BL.6.2D_out,end_time_shift_c0=1.0
!               time_step_c0=0.2
!              }

!---------------------------------------------------
! 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=I1.BL.6.2D_out,end_time_shift_c0=1.00}

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

exit
