#!/bin/csh

rm -f A1g_R*.gif
rm -f A1g_R*.ps
rm -f A1g_R*.sm
/home/colin/research/analysis/RUN/pot_two_exp_fit_run << END
/home1/REFINED_DATA/su3/B240_AR5_B/ref5_B24AR5
fits_A1g.log
y
/home1/REFINED_DATA/su3/B240_AR5_B/effmass5
0
1
1
2
1
4
1

2
7
2
16
1
1024
n
n
y
4
A1g_R1
n

2
2
4
1

2
7
1
15
1
1024
n
n
y
4
A1g_R2
n

2
3
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R3
n

2
4
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R4
n

2
5
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R5
n

2
6
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R6
n

2
7
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R7
n

2
8
4
1

2
7
1
16
1
1024
n
n
y
4
A1g_R8
n

9
END
/usr/local/bin/ps2gif A1g_R1
/usr/local/bin/ps2gif A1g_R2
/usr/local/bin/ps2gif A1g_R3
/usr/local/bin/ps2gif A1g_R4
/usr/local/bin/ps2gif A1g_R5
/usr/local/bin/ps2gif A1g_R6
/usr/local/bin/ps2gif A1g_R7
/usr/local/bin/ps2gif A1g_R8
grep "R=" A1g_R1.sm >! A1g_res.dat
grep "E=" A1g_R1.sm >> A1g_res.dat
grep "Q=" A1g_R1.sm >> A1g_res.dat
grep "R=" A1g_R2.sm >> A1g_res.dat
grep "E=" A1g_R2.sm >> A1g_res.dat
grep "Q=" A1g_R2.sm >> A1g_res.dat
grep "R=" A1g_R3.sm >> A1g_res.dat
grep "E=" A1g_R3.sm >> A1g_res.dat
grep "Q=" A1g_R3.sm >> A1g_res.dat
grep "R=" A1g_R4.sm >> A1g_res.dat
grep "E=" A1g_R4.sm >> A1g_res.dat
grep "Q=" A1g_R4.sm >> A1g_res.dat
grep "R=" A1g_R5.sm >> A1g_res.dat
grep "E=" A1g_R5.sm >> A1g_res.dat
grep "Q=" A1g_R5.sm >> A1g_res.dat
grep "R=" A1g_R6.sm >> A1g_res.dat
grep "E=" A1g_R6.sm >> A1g_res.dat
grep "Q=" A1g_R6.sm >> A1g_res.dat
grep "R=" A1g_R7.sm >> A1g_res.dat
grep "E=" A1g_R7.sm >> A1g_res.dat
grep "Q=" A1g_R7.sm >> A1g_res.dat
grep "R=" A1g_R8.sm >> A1g_res.dat
grep "E=" A1g_R8.sm >> A1g_res.dat
grep "Q=" A1g_R8.sm >> A1g_res.dat
echo " " >> A1g_res.dat
grep "*** Final fit result" fits_A1g.log >> A1g_res.dat
