#!/bin/sh
# \
exec tclsh "$0" "$@"

if ![file exists 79h2Twiss.log] {
    catch {exec elegant 79h2Twiss.ele > 79h2Twiss.log}
}
exec touschekLifetime 79h2touschek.out \
       -apertureFile=MomApertureMB.mmap \
       -twiss=MomApertureMB.twi \
       -charge=1.1528 \
       -rf=voltage=3.5,harmonic=864 \
       -coupling=0.01
       
       