forked from goni-zz/Jpsi_v2_PbPb2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv3mass_hist_weight.sh
executable file
·57 lines (48 loc) · 1.94 KB
/
v3mass_hist_weight.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
root -l -b <<EOF
.L v3mass_hist_weight_nominal_211012.C
.q
EOF
echo entering to the loop...
for pt in '3,4.5' '4.5,6.5' '3,6.5'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,20,120,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,20,120,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,20,120,1)'
done
for pt in '6.5,9' '9,12' '12,50'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,1)'
done
for pt in '3,4.5' '4.5,6.5' '3,6.5'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,40,80,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,40,80,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',1.6,2.4,40,80,1)'
done
for pt in '6.5,9' '9,12' '12,50'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,1)'
done
for cent in '0,40' '40,80'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C(6.5,50,0,2.4,'$cent',-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C(6.5,50,0,2.4,'$cent',0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C(6.5,50,0,2.4,'$cent',1)'
done
for pt in '12,15' '15,50'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,20,120,1)'
done
for pt in '12,15' '15,50'
do
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,-1)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,0)'
root -l -b -q 'v3mass_hist_weight_nominal_211012.C('$pt',0,2.4,40,80,1)'
done