-
Notifications
You must be signed in to change notification settings - Fork 5
/
runAllSamples.sh
67 lines (37 loc) · 1.39 KB
/
runAllSamples.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
58
59
60
61
62
63
64
day=`date | awk '{print $3}'`
version=71
day=0$day
for run in 1
do
infile=root://eoscms//eos/cms/store/caf/user/yjlee/pPb2013/promptReco/PA2013_HiForest_PromptRecofirstPR_forestv${version}.root
outfile=ntuple_data_pPb_akPu3PF_forest${version}_201302${day}_01.root
root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",0,0\)
files="$files $outfile"
done
echo "hadd data.root $files"
day=`date | awk '{print $3}'`
version=71
day=0$day
for run in 1
do
infile=root://eoscms//eos/cms/store/caf/user/yjlee/PbPHiForest2_PbPbPAHighPtJet80_cent50-100_pprereco.root
outfile=ntuple_data_PbPb_akPu3PF_forest${version}_201302${day}_01.root
root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",0,0\)
files="$files $outfile"
done
echo "hadd data.root $files"
day=0`date | awk '{print $3}'`
files=""
version=68
for pthat in 15 30 50 80 120 170 220 280
do
mergeversion=01
if [ ${pthat} -eq 15 ] || [ ${pthat} -eq 30 ] || [ ${pthat} -eq 50 ] || [ ${pthat} -eq 120 ]; then
mergeversion=02
fi
infile=root://eoscms//eos/cms/store/group/phys_heavyions/dgulhan/pPb/HP03/prod12/Hijing_Pythia_pt${pthat}/HiForest_v68_merged${mergeversion}/pt${pthat}_prod12_v68merged_forest_0.root
outfile=ntuple_mix_pt${pthat}_akPu3PF_forest${version}_d201302${day}_01.root
root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",1,0\)
files="$files $outfile"
done
echo "hadd mix.root $files"