Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ATLAS_1JET_13TEV_DIF/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arxiv=1711.02692
description=ATLAS double-differential inclusive jet cross section at 13 TeV jet radius R=0.4. Downloaded from ploughshare, central scale mu=HT_parton.
hepdata=10.17182/hepdata.79952.v1/t1, 10.17182/hepdata.79952.v1/t2, 10.17182/hepdata.79952.v1/t3, 10.17182/hepdata.79952.v1/t4, 10.17182/hepdata.79952.v1/t5, 10.17182/hepdata.79952.v1/t6
nnpdf_id=ATLAS_1JET_13TEV_DIF
x1_label=yj
x1_label_tex=$y_{\mathrm{jet}}$
x1_unit=
x2_label=ptj
x2_label_tex=$p_{\mathrm{T},\mathrm{jet}}$
x2_unit=GeV
y_label=d^2sig/dptdy
y_label_tex=$\frac{\mathrm{d}^2\sigma}{\mathrm{d}p_{\mathrm{T},\mathrm{jet}\mathrm{d}y}$
y_unit=pb/GeV
1 change: 1 addition & 0 deletions ATLAS_1JET_13TEV_DIF/ploughshare_link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-atlas-incjets-appl-arxiv-1711.02692/applfast-atlas-incjets-appl-arxiv-1711.02692.tgz
31 changes: 31 additions & 0 deletions ATLAS_1JET_13TEV_DIF/postrun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

mkdir tmp

# Bin mapping
bins[1]="0.0 <= |y| < 0.5"
bins[2]="0.5 <= |y| < 1.0"
bins[3]="1.0 <= |y| < 1.5"
bins[4]="1.5 <= |y| < 2.0"
bins[5]="2.0 <= |y| < 2.5"
bins[6]="2.5 <= |y| < 3.0"

# Convert the grids to pineappl format under the right names.
# We only take the first 6, as they correspond to mu=H_T.
for i in {0..5}; do
j=$((i+1))
src="grid_00${i}.appl"
dst="ATLAS_1JET_13TEV_DIF_PT-Y_BIN${j}.pineappl.lz4"
temp_dst="tmp/${dst}"
pineappl import "$src" "$temp_dst" NNPDF40_nnlo_as_01180
current_bin=${bins[$j]}
pineappl write --set-key-value kin_bin "${current_bin}" ${temp_dst} ${dst}
rm ${temp_dst}
rm ${src}
done

# Remove the non-H_T grids
rm *.appl
rm *.root

rmdir tmp
13 changes: 13 additions & 0 deletions ATLAS_1JET_7TEV/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arxiv=1410.8857
description=ATLAS double-differential inclusive jet cross section at 7 TeV jet radius R=0.6. Downloaded from ploughshare, central scale mu=HT_parton.
hepdata=10.17182/hepdata.69343.v1/t7, 10.17182/hepdata.69343.v1/t8, 10.17182/hepdata.69343.v1/t9, 10.17182/hepdata.69343.v1/t10, 10.17182/hepdata.69343.v1/t11, 10.17182/hepdata.69343.v1/t12
nnpdf_id=ATLAS_1JET_7TEV
x1_label=yj
x1_label_tex=$y_{\mathrm{jet}}$
x1_unit=
x2_label=ptj
x2_label_tex=$p_{\mathrm{T},\mathrm{jet}}$
x2_unit=GeV
y_label=d^2sig/dptdy
y_label_tex=$\frac{\mathrm{d}^2\sigma}{\mathrm{d}p_{\mathrm{T},\mathrm{jet}\mathrm{d}y}$
y_unit=pb/GeV
1 change: 1 addition & 0 deletions ATLAS_1JET_7TEV/ploughshare_link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-atlas-incjets-appl-arxiv-1410.8857/applfast-atlas-incjets-appl-arxiv-1410.8857.tgz
31 changes: 31 additions & 0 deletions ATLAS_1JET_7TEV/postrun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

mkdir tmp

# Bin mapping
bins[1]="0.0 <= |y| < 0.5"
bins[2]="0.5 <= |y| < 1.0"
bins[3]="1.0 <= |y| < 1.5"
bins[4]="1.5 <= |y| < 2.0"
bins[5]="2.0 <= |y| < 2.5"
bins[6]="2.5 <= |y| < 3.0"

# Convert the grids to pineappl format under the right names.
# We only take the first 6, as they correspond to mu=H_T.
for i in {0..5}; do
j=$((i+1))
src="grid_00${i}.appl"
dst="ATLAS_1JET_7TEV_R06_BIN${j}.pineappl.lz4"
temp_dst="tmp/${dst}"
pineappl import "$src" "$temp_dst" NNPDF40_nnlo_as_01180
current_bin=${bins[$j]}
pineappl write --set-key-value kin_bin "${current_bin}" ${temp_dst} ${dst}
rm ${temp_dst}
rm ${src}
done

# Remove the non-H_T grids
rm *.appl
rm *.root

rmdir tmp
13 changes: 13 additions & 0 deletions CMS_1JET_13TEV_R04/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arxiv=2111.10431
description=CMS double-differential inclusive jet cross section at 13 TeV jet radius R=0.4. Downloaded from ploughshare, central scale mu=HT_parton.
hepdata=10.17182/hepdata.115022.v2/t1, 10.17182/hepdata.115022.v2/t2, 10.17182/hepdata.115022.v2/t3, 10.17182/hepdata.115022.v2/t4
nnpdf_id=CMS_1JET_13TEV_DIF
x1_label=yj
x1_label_tex=$y_{\mathrm{jet}}$
x1_unit=
x2_label=ptj
x2_label_tex=$p_{\mathrm{T},\mathrm{jet}}$
x2_unit=GeV
y_label=d^2sig/dptdy
y_label_tex=$\frac{\mathrm{d}^2\sigma}{\mathrm{d}p_{\mathrm{T},\mathrm{jet}\mathrm{d}y}$
y_unit=pb/GeV
1 change: 1 addition & 0 deletions CMS_1JET_13TEV_R04/ploughshare_link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-cms-incjets-appl-arxiv-2111.10431/applfast-cms-incjets-appl-arxiv-2111.10431.tgz
46 changes: 46 additions & 0 deletions CMS_1JET_13TEV_R04/postrun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/bash

# There are two steps to the postprocess:
# Deleting bins that go beyond the available datapoints
# Adding kinematic info for each grid

STEP1="pre_kin_bin"
STEP2="pre_bin_deletion"

mkdir $STEP1
mkdir $STEP2

# Bin mapping
bins[1]="0.0 <= |y| < 0.5"
bins[2]="0.5 <= |y| < 1.0"
bins[3]="1.0 <= |y| < 1.5"
bins[4]="1.5 <= |y| < 2.0"

# Bins to be deleted (from the first two grids)
bin_range[1]="none"
bin_range[2]="none"
bin_range[3]="19"
bin_range[4]="16-17"

# Convert the grids to pineappl format under the right names.
# We only take the first 4, as they correspond to mu=H_T.
for i in {0..3}; do
j=$((i+1))
src="grid_00${i}.appl"
dst="CMS_1JET_13TEV_DIF_PT-Y-R04_BIN${j}.pineappl.lz4"
temp_dst="tmp/${dst}"
pineappl import "$src" "$STEP1/$dst" NNPDF40_nnlo_as_01180
current_bin=${bins[$j]}
pineappl write --set-key-value kin_bin "${current_bin}" "$STEP1/$dst" "$STEP2/$dst"
bins_to_delete=${bin_range[$j]}
if [ ${bins_to_delete} == "none" ]; then
mv "$STEP2/$dst" $dst
else
pineappl write --delete-bins "$bins_to_delete" "$STEP2/$dst" $dst
fi
rm ${src}
done

rm *.appl
rm -r $STEP1
rm -r $STEP2
12 changes: 12 additions & 0 deletions CMS_1JET_13TEV_R07/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
arxiv=2111.10431
description=CMS double-differential inclusive jet cross section at 13 TeV jet radius R=0.7. Downloaded from ploughshare, central scale mu=HT_parton.
hepdata=10.17182/hepdata.115022.v2/t21, 10.17182/hepdata.115022.v2/t2210.17182/hepdata.115022.v2/t2310.17182/hepdata.115022.v2/t24
x1_label=yj
x1_label_tex=$y_{\mathrm{jet}}$
x1_unit=
x2_label=ptj
x2_label_tex=$p_{\mathrm{T},\mathrm{jet}}$
x2_unit=GeV
y_label=d^2sig/dptdy
y_label_tex=$\frac{\mathrm{d}^2\sigma}{\mathrm{d}p_{\mathrm{T},\mathrm{jet}\mathrm{d}y}$
y_unit=pb/GeV
1 change: 1 addition & 0 deletions CMS_1JET_13TEV_R07/ploughshare_link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://ploughshare.web.cern.ch/ploughshare/db/applfast/applfast-cms-incjets-appl-arxiv-2111.10431/applfast-cms-incjets-appl-arxiv-2111.10431.tgz
45 changes: 45 additions & 0 deletions CMS_1JET_13TEV_R07/postrun.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

# There are two steps to the postprocess:
# Deleting bins that go beyond the available datapoints
# Adding kinematic info for each grid

STEP1="pre_kin_bin"
STEP2="pre_bin_deletion"

mkdir $STEP1
mkdir $STEP2

# Bin mapping
bins[1]="0.0 <= |y| < 0.5"
bins[2]="0.5 <= |y| < 1.0"
bins[3]="1.0 <= |y| < 1.5"
bins[4]="1.5 <= |y| < 2.0"

# Bins to be deleted (from the first two grids)
bin_range[1]="none"
bin_range[2]="none"
bin_range[3]="19"
bin_range[4]="16-17"

# Convert the grids to pineappl format under the right names.
# We only take the 8-11, as they correspond to mu=H_T and R=0.7.
for i in {8..11}; do
j=$((i-7))
printf -v src 'grid_0%02d.appl' "$i"
dst="CMS_1JET_13TEV_DIF_PT-Y-R07_BIN${j}.pineappl.lz4"
pineappl import "$src" "$STEP1/$dst" NNPDF40_nnlo_as_01180
current_bin=${bins[$j]}
pineappl write --set-key-value kin_bin "${current_bin}" "$STEP1/$dst" "$STEP2/$dst"
bins_to_delete=${bin_range[$j]}
if [ ${bins_to_delete} == "none" ]; then
mv "$STEP2/$dst" $dst
else
pineappl write --delete-bins "$bins_to_delete" "$STEP2/$dst" $dst
fi
rm ${src}
done

rm *.appl
rm -r $STEP1
rm -r $STEP2