! Track the beam to check efficiency of injection

&run_setup
        lattice = lat_3_6mring_fineDrift.lte
        p_central_mev = 49.9973887,
        use_beamline = ring
        losses = %s.los
        acceptance = %s.acc
        centroid = %s.cen,
        sigma = %s.sig,
        final = %s.fin
&end

&twiss_output
        filename = %s.twi,
!        concat_order = 1,
        higher_order_chromaticity = 1,
        radiation_integrals = 1,
!        output_at_each_step = 1,
&end

&run_control
!        n_indices = 1
        n_passes = 2048
&end

!&rf_setup
!        harmonic = 6
!        over_voltage = 3799.73954052
!&end


&bunched_beam
        n_particles_per_bunch = 1000;
        beta_x = 0.26603;
        emit_x = 2e-8;
        beta_y = 1.485615;
        emit_y = 2e-8;
        alpha_x = -0.134245; 
        eta_x = 0.0642;
        alpha_y = -0.350889; 
        eta_y = -0.00232;
        Po = 0.0;
        sigma_dp = 0.005, sigma_s = 0.0066;
        dp_s_coupling = 0; 
        one_random_bunch = 1,
        bunch = %s.bun
&end

&track &end
