#!/bin/csh

rm -f B1gp_gap_R*.gif
rm -f B1gp_gap_R*.ps
rm -f B1gp_gap_R*.sm
/home/colin/research/analysis/RUN/pot_sitwo_exp_fit_run << END
/home1/REFINED_DATA/su3/B240_AR5_B/ref5_B24AR5
fits_B1gp_gap.log
y
/home1/REFINED_DATA/su3/B240_AR5_B/effmass5
0
5
2
3
3
10
4
0
1

1
8
1
16
1
16
1
512
n
n
y
4
B1gp_gap_R3
n

3
4
10
4
0
1

1
8
1
16
1
12
1
512
n
n
y
4
B1gp_gap_R4
n

3
5
5
1

1
8
1
16
1
12
1
512
n
n
y
4
B1gp_gap_R5
n

3
6
5
1

1
8
1
16
1
13
1
512
n
n
y
4
B1gp_gap_R6
n

3
7
5
1

1
8
1
16
1
11
1
512
n
n
y
4
B1gp_gap_R7
n

3
8
5
1

1
8
1
16
1
10
1
512
n
n
y
4
B1gp_gap_R8
n

9
END
/usr/local/bin/ps2gif B1gp_gap_R3
/usr/local/bin/ps2gif B1gp_gap_R4
/usr/local/bin/ps2gif B1gp_gap_R5
/usr/local/bin/ps2gif B1gp_gap_R6
/usr/local/bin/ps2gif B1gp_gap_R7
/usr/local/bin/ps2gif B1gp_gap_R8
grep "R=" B1gp_gap_R3.sm >! B1gp_gap_res.dat
grep "Delta" B1gp_gap_R3.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R3.sm >> B1gp_gap_res.dat
grep "R=" B1gp_gap_R4.sm >> B1gp_gap_res.dat
grep "Delta" B1gp_gap_R4.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R4.sm >> B1gp_gap_res.dat
grep "R=" B1gp_gap_R5.sm >> B1gp_gap_res.dat
grep "Delta" B1gp_gap_R5.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R5.sm >> B1gp_gap_res.dat
grep "R=" B1gp_gap_R6.sm >> B1gp_gap_res.dat
grep "Delta" B1gp_gap_R6.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R6.sm >> B1gp_gap_res.dat
grep "R=" B1gp_gap_R7.sm >> B1gp_gap_res.dat
grep "Delta" B1gp_gap_R7.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R7.sm >> B1gp_gap_res.dat
grep "R=" B1gp_gap_R8.sm >> B1gp_gap_res.dat
grep "Delta" B1gp_gap_R8.sm >> B1gp_gap_res.dat
grep "Q=" B1gp_gap_R8.sm >> B1gp_gap_res.dat
echo " " >> B1gp_gap_res.dat
grep "*** Final fit result" fits_B1gp_gap.log >> B1gp_gap_res.dat
