-
Notifications
You must be signed in to change notification settings - Fork 0
/
alexHistoProducer.sh
executable file
·53 lines (44 loc) · 1.52 KB
/
alexHistoProducer.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
#!/bin/bash
#enum sampleType { kHIDATA, kHIMC, kPPDATA, kPPMC, kPADATA, kPAMC};
# 0 1 2 3 4 5
#./alexHistoProducer.exe sampleType collision = kHIDATA, float photonPtThr=60, float photonPtThrUp=1000000, float jetPtThr=30, int icent =1
g++ alexHistoProducer.C $(root-config --cflags --libs) -Werror -Wall -g -o alexHistoProducer.exe || exit 1
rm ffFiles/*.root
#pp data and mc
for i in 2 3
do
./alexHistoProducer.exe $i 40 50 30 7
./alexHistoProducer.exe $i 50 60 30 7
./alexHistoProducer.exe $i 60 80 30 7
./alexHistoProducer.exe $i 100 9999 30 7
./alexHistoProducer.exe $i 80 9999 30 7
./alexHistoProducer.exe $i 60 9999 30 7
./alexHistoProducer.exe $i 50 9999 30 7
./alexHistoProducer.exe $i 40 9999 30 7
done
#PbPb data MC
for i in 0 1
do
for icent in 10030 13099
do
./alexHistoProducer.exe $i 40 50 30 $icent
./alexHistoProducer.exe $i 50 60 30 $icent
./alexHistoProducer.exe $i 60 80 30 $icent
./alexHistoProducer.exe $i 100 9999 30 $icent
./alexHistoProducer.exe $i 80 9999 30 $icent
./alexHistoProducer.exe $i 60 9999 30 $icent
./alexHistoProducer.exe $i 50 9999 30 $icent
./alexHistoProducer.exe $i 40 9999 30 $icent
done
done
#pPb data and MC
for i in 4 5
do
for icent in 1 #2 3
do
./alexHistoProducer.exe $i 40 50 30 $icent
./alexHistoProducer.exe $i 50 60 30 $icent
./alexHistoProducer.exe $i 60 80 30 $icent
./alexHistoProducer.exe $i 80 9999 30 $icent
done
done