-
Notifications
You must be signed in to change notification settings - Fork 0
/
full_bbb.sh
executable file
·38 lines (28 loc) · 1.75 KB
/
full_bbb.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
if (( "$#" != "1" ))
then
echo "args = [folder]"
exit
fi
folder=$1
TERMTMP=$TERM
unset TERM
add_bbb_errors.py 'em:7TeV:01,03,04:Fakes' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'em:8TeV:01,03,04,05:Fakes' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'et:7TeV:01,02,04,05:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'et:7TeV:06:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'et:8TeV:01,02,04,05,06,07:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'mt:7TeV:01,02,04:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'mt:7TeV:05:ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'mt:7TeV:06:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
add_bbb_errors.py 'mt:8TeV:01,02,04,05,06,07:ZL,ZJ,QCD>W' --normalize -f --in setups/$folder --out setups/$folder-tmp --threshold 0.10
rm -r setups/$folder; mv setups/$folder-tmp setups/$folder
export TERM=$TERMTMP
echo $TERM