7.67 touschek_scatter

&touschek_scatter  
        double charge = 0;  
        double frequency = 1;  
        double emit_x = 0;  
        double emit_nx = 0;  
        double emit_y = 0;  
        double emit_ny = 0;  
        double sigma_dp = 0;  
        double sigma_s = 0;  
        double distribution_cutoff[3] = {3, 3, 3};  
        double Momentum_Aperture_scale = 0.85;  
        STRING Momentum_Aperture = NULL;  
        STRING XDist = NULL;  
        STRING YDist = NULL;  
        STRING ZDist = NULL;  
        STRING TranDist = NULL;  
        STRING FullDist = NULL;  
        STRING bunch = NULL;  
        STRING loss = NULL;  
        STRING distribution = NULL;  
        STRING initial = NULL;  
        STRING output = NULL;  
        long nbins = 100;  
        double sbin_step = 1;  
        long n_simulated = 5000000;  
        double ignored_portion = 0.01;  
        long i_start = 0;  
        long i_end = 1;  
        long do_track = 0;  
        long match_position_only = 0;  
        long overwrite_files = 1;  
        long verbosity = 0;  
&end

Note: If using Pelegant to compute the momentum aperture with output_mode=1, it is necessary to first run the script reorganizeMmap to put the data into the form needed by touschekLifetime.

transmute_elements