-
Notifications
You must be signed in to change notification settings - Fork 5
/
varyEtaWindow.sh
executable file
·42 lines (23 loc) · 1.25 KB
/
varyEtaWindow.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
day=`date | awk '{print $3}'`
day=0$day
for eta in 2.5 3.0 3.5 4.0
do
version=71
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}_etaMax${eta}_01.root
# root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",0,1,${eta}\)
infile=root://eoscms//eos/cms/store/caf/user/yjlee/PbPHiForest2_PbPbPAHighPtJet80_cent50-100_pprereco.root
outfile=ntuple_data_PbPb_akPu3PF_forest${version}_201302${day}_etaMax${eta}_01.root
# root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",0,0,${eta}\)
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}_etaMax${eta}_01.root
root -b -q analyzeForest.C+\(\"$infile\",\"$outfile\",1,0,${eta}\)
done
done