Skip to content

Commit

Permalink
Fix the LHCb DY (which includes both Z0 and W) datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Nov 20, 2024
1 parent c41c49d commit 8b25432
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_kinematics(hepdata: dict, bin_index: list, boson: str = "Z") -> list:
ymax = float(rapbins[bins]["high"])
kin_value = {
"y": {"min": ymin, "mid": 0.5 * (ymin + ymax), "max": ymax},
"M2": {"min": None, "mid": MAP_BOSON[boson] ** 2, "max": None},
"m_V2": {"min": None, "mid": MAP_BOSON[boson] ** 2, "max": None},
"sqrts": {"min": None, "mid": SQRT_S, "max": None},
}
kinematics.append(kin_value)
Expand Down
66 changes: 33 additions & 33 deletions nnpdf_data/nnpdf_data/commondata/LHCB_DY_7TEV_MUON/kinematics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bins:
min: 2.0
mid: 2.0625
max: 2.125
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -15,7 +15,7 @@ bins:
min: 2.125
mid: 2.1875
max: 2.25
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -27,7 +27,7 @@ bins:
min: 2.25
mid: 2.3125
max: 2.375
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -39,7 +39,7 @@ bins:
min: 2.375
mid: 2.4375
max: 2.5
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -51,7 +51,7 @@ bins:
min: 2.5
mid: 2.5625
max: 2.625
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -63,7 +63,7 @@ bins:
min: 2.625
mid: 2.6875
max: 2.75
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -75,7 +75,7 @@ bins:
min: 2.75
mid: 2.8125
max: 2.875
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -87,7 +87,7 @@ bins:
min: 2.875
mid: 2.9375
max: 3.0
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -99,7 +99,7 @@ bins:
min: 3.0
mid: 3.0625
max: 3.125
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -111,7 +111,7 @@ bins:
min: 3.125
mid: 3.1875
max: 3.25
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -123,7 +123,7 @@ bins:
min: 3.25
mid: 3.3125
max: 3.375
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -135,7 +135,7 @@ bins:
min: 3.375
mid: 3.4375
max: 3.5
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -147,7 +147,7 @@ bins:
min: 3.5
mid: 3.5625
max: 3.625
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -159,7 +159,7 @@ bins:
min: 3.625
mid: 3.6875
max: 3.75
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -171,7 +171,7 @@ bins:
min: 3.75
mid: 3.8125
max: 3.875
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -183,7 +183,7 @@ bins:
min: 3.875
mid: 3.9375
max: 4.0
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -195,7 +195,7 @@ bins:
min: 4.0
mid: 4.125
max: 4.25
M2:
m_V2:
min: null
mid: 8.31517839e+03
max: null
Expand All @@ -207,7 +207,7 @@ bins:
min: 2.0
mid: 2.125
max: 2.25
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -219,7 +219,7 @@ bins:
min: 2.25
mid: 2.375
max: 2.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -231,7 +231,7 @@ bins:
min: 2.5
mid: 2.625
max: 2.75
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -243,7 +243,7 @@ bins:
min: 2.75
mid: 2.875
max: 3.0
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -255,7 +255,7 @@ bins:
min: 3.0
mid: 3.125
max: 3.25
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -267,7 +267,7 @@ bins:
min: 3.25
mid: 3.375
max: 3.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -279,7 +279,7 @@ bins:
min: 3.5
mid: 3.75
max: 4.0
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -291,7 +291,7 @@ bins:
min: 4.0
mid: 4.25
max: 4.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -303,7 +303,7 @@ bins:
min: 2.0
mid: 2.125
max: 2.25
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -315,7 +315,7 @@ bins:
min: 2.25
mid: 2.375
max: 2.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -327,7 +327,7 @@ bins:
min: 2.5
mid: 2.625
max: 2.75
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -339,7 +339,7 @@ bins:
min: 2.75
mid: 2.875
max: 3.0
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -351,7 +351,7 @@ bins:
min: 3.0
mid: 3.125
max: 3.25
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -363,7 +363,7 @@ bins:
min: 3.25
mid: 3.375
max: 3.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -375,7 +375,7 @@ bins:
min: 3.5
mid: 3.75
max: 4.0
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand All @@ -387,7 +387,7 @@ bins:
min: 4.0
mid: 4.25
max: 4.5
M2:
m_V2:
min: null
mid: 6.46383840e+03
max: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ implemented_observables:
description: "Inclusive cross-section for DY production (Z, W+/-) in bins of muon pseudorapidity"
label: r"$d\sigma / d|y|$"
units: "[fb]"
process_type: "EWK_RAP"
process_type: "DY_2L"
tables: [1, 4]
ndata: 33
npoints: [17, 16]
plotting:
kinematics_override: ewk_rap_sqrt_scale
kinematics_override: identity
dataset_label: "LHCb $W,Z \\to \\mu$ 8 TeV"
plot_x: y
y_label: '$d\sigma/dy$ (fb)'
Expand Down Expand Up @@ -70,11 +70,11 @@ implemented_observables:
"$W^-$",
"$W^-$",
]
kinematic_coverage: [y, M2, sqrts]
kinematic_coverage: [y, m_V2, sqrts]
kinematics:
variables:
y: {description: "Muon rapidity", label: "$y$", units: ""}
M2: {description: "W/Z boson Mass", label: "$M^2$", units: "$GeV^2$"}
m_V2: {description: "W/Z boson Mass", label: "$M^2$", units: "$GeV^2$"}
sqrts: {description: "Center of Mass Energy", label: '$\sqrt{s}$', units: "$GeV$"}
file: kinematics.yaml
data_central: data.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_kinematics(hepdata: dict, bin_index: list, boson: str = "Z") -> list:
ymax = float(rapbins[bins]["high"])
kin_value = {
"y": {"min": ymin, "mid": 0.5 * (ymin + ymax), "max": ymax},
"M2": {"min": None, "mid": MAP_BOSON[boson] ** 2, "max": None},
"m_V2": {"min": None, "mid": MAP_BOSON[boson] ** 2, "max": None},
"sqrts": {"min": None, "mid": SQRT_S, "max": None},
}
kinematics.append(kin_value)
Expand Down
Loading

0 comments on commit 8b25432

Please sign in to comment.