-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.sh
42 lines (35 loc) · 781 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
set -x
mkdir -p calc
mkdir -p log
mkdir -p logcombine
cd calc
for a in $(ls -1 ../cards/E0*input| grep ZZZZ ); do
:
b=$(basename $a)
for i in `seq 200 205`; do
../eerad3 -i $a -n $i &> ../log/$b'_'$i'.log' &
done
done
for a in $(ls -1 ../cards/Et*input | grep '\.NLO'| grep ZZZZ); do
:
b=$(basename $a)
for i in `seq 200 205`; do
../eerad3 -i $a -n $i &> ../log/$b'_'$i'.log' &
done
done
for a in $(ls -1 ../cards/Et*input | grep '\.NNLO' | grep ZZZ); do
:
b=$(basename $a)
for i in `seq 200 205`; do
../eerad3 -i $a -n $i &> ../log/$b'_'$i'.log' &
done
done
wait
for a in $(ls -1 ../cards/E*combine); do
b=$(basename $a)
../eerad3_combine -i $a &> ../logcombine/$b'.log'
done
../eerad3_dist -i ../cards/eerad3_dist.input
#cd doc
#sh bin/convert_predictions.sh