3
3
set -euo pipefail
4
4
5
5
grids=(
6
+ # # Ploughshare
7
+
6
8
# Group: applfast
7
9
" https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-atlas-dijets-appl-arxiv-1312.3524/applfast-atlas-dijets-appl-arxiv-1312.3524.tgz"
8
10
" https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-atlas-dijets-appl-arxiv-1711.02692/applfast-atlas-dijets-appl-arxiv-1711.02692.tgz"
@@ -82,6 +84,15 @@ grids=(
82
84
" https://ploughshare.web.cern.ch/ploughshare/db/xfitter/xfitter-na10-dimuon-286-inspire-212896/xfitter-na10-dimuon-286-inspire-212896.tgz"
83
85
" https://ploughshare.web.cern.ch/ploughshare/db/xfitter/xfitter-wa70-pi+prompt-photon-inspire-250394/xfitter-wa70-pi+prompt-photon-inspire-250394.tgz"
84
86
" https://ploughshare.web.cern.ch/ploughshare/db/xfitter/xfitter-wa70-pi-prompt-photon-inspire-250394/xfitter-wa70-pi-prompt-photon-inspire-250394.tgz"
87
+
88
+ # # Mitov's ttbar tables
89
+
90
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/LHC8-ttbar-2dim-CMS.tar.gz"
91
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/2d-ttbar-LHC-13TeV-3_masses.tar.gz"
92
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/LHC13-ttbar-CMS_bin-fastNLO.tar.gz"
93
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/LHC13-ttbar-CMS_bin-fastNLO-172_5.tar.gz"
94
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/fastNLO-ttbar-NNLO-LHC8-173_3-bin1.tar.gz"
95
+ " http://www.precision.hep.phy.cam.ac.uk/wp-content/results/fastNLOtables/fastNLO-ttbar-NNLO-LHC13-173_3-bin1.tar.gz"
85
96
)
86
97
87
98
tmp=$( mktemp -d)
@@ -92,16 +103,18 @@ trap "cd && rm -rf ${tmp}" EXIT SIGKILL
92
103
for grid in ${grids[@]} ; do
93
104
archive=${grid##*/ }
94
105
wget --no-verbose --no-clobber " ${grid} " -O /tmp/" ${archive} " || true
95
- tar xzf /tmp/" ${archive} "
106
+ mkdir subdir
107
+ tar xzf /tmp/" ${archive} " -C subdir
96
108
97
- for grid in $( find . \( -name ' *.appl' -o -name ' *.tab.gz' -o -name ' *.root' \) ) ; do
109
+ for grid in $( find subdir \( -name ' *.appl' -o -name ' *.tab ' -o -name ' *.tab.gz' -o -name ' *.root' \) ) ; do
98
110
if [[ $( basename $grid ) =~ ^\. .* ]]; then
99
111
continue
100
112
fi
101
113
102
114
converted_grid=" ${grid} " .pineappl.lz4
103
- pineappl --silence-lhapdf import --accuracy 1e-12 " ${grid} " " ${converted_grid} " NNPDF31_nnlo_as_0118_luxqed
115
+ pineappl import --accuracy 1e-12 " ${grid} " " ${converted_grid} " NNPDF31_nnlo_as_0118_luxqed
104
116
du -h " ${grid} " " ${converted_grid} "
105
117
done
106
- rm -r ${archive% .tgz}
118
+
119
+ rm -r subdir
107
120
done
0 commit comments