Skip to content

Commit

Permalink
Edited metadata - need to check this
Browse files Browse the repository at this point in the history
  • Loading branch information
ecole41 committed Nov 21, 2024
1 parent e3ca58c commit c0a854c
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def filter_ATLAS_WPWM_7TEV_46FB_data_kinematic():
yaml.dump(kinematics_yaml, file, sort_keys=False)


def filter_ATLAS_Z0_7TEV_49FB_systematics():
def filter_ATLAS_WPWM_7TEV_46FB_systematics():
"""
This function writes the systematics to a yaml file.
"""
Expand Down Expand Up @@ -84,4 +84,4 @@ def filter_ATLAS_Z0_7TEV_49FB_systematics():

if __name__ == "__main__":
filter_ATLAS_WPWM_7TEV_46FB_data_kinematic()
filter_ATLAS_Z0_7TEV_49FB_systematics()
filter_ATLAS_WPWM_7TEV_46FB_systematics()
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ def get_kinematics():
for i, M in enumerate(input_1["independent_variables"][0]['values']):

kin_value = {
'k1': {
'abs_eta': {
'min': None,
'mid': (0.5 * (M['low'] + M['high'])),
'max': None,
}, # absolute lepton eta
'k2': {'min': None, 'mid': 6463.838404, 'max': None},
'k3': {'min': None, 'mid': 7000.0, 'max': None},
'm_W2': {'min': None, 'mid': 6463.838404, 'max': None},
'sqrts': {'min': None, 'mid': 7000.0, 'max': None},
}

kin.append(kin_value)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,133 +1,133 @@
bins:
- k1:
- abs_eta:
min: null
mid: 0.105
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 0.315
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 0.525
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 0.735
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 9.45000000e-01
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 1.21
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 1.445
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 1.63
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 1.845
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 2.065
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
- k1:
- abs_eta:
min: null
mid: 2.34
max: null
k2:
m_W2:
min: null
mid: 6.46383840e+03
max: null
k3:
sqrts:
min: null
mid: 7000.0
max: null
Expand Down
30 changes: 15 additions & 15 deletions nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
setname: ATLAS_WPWM_7TEV_46FB
version: 1
version_comment: Port of old commondata
version_comment: Reimplementation of old commondata
nnpdf_metadata:
nnpdf31_process: DY CC
experiment: ATLAS
Expand All @@ -18,12 +18,12 @@ implemented_observables:
description: Drell-Yan Rapidity Distribution
label: ATLAS $W$ 7 TeV 2011 Central selection
units: ''
process_type: EWK_RAP
process_type: EWK_RAP #I can't see this as a process in process_options.py
tables: [9,10]
npoints: []
ndata: 22
plotting:
kinematics_override: ewk_rap_sqrt_scale
kinematics_override: identity
dataset_label: ATLAS $W$ 7 TeV 2011 Central selection
x_label: $\left\|\eta/y\right|$
y_label: $d\sigma/dy$ (fb)
Expand Down Expand Up @@ -59,24 +59,24 @@ implemented_observables:
- $W^-$
plot_x: k1
kinematic_coverage:
- k1
- k2
- k3
- abs_eta #nnpdf website says eta/y
- m_W2
- sqrts
kinematics:
variables:
k1:
description: Variable k1
label: k1
description: Absolute lepton pseudorapidity
label: abs_eta
units: ''
k2:
description: Variable k2
label: k2
units: ''
description: Squared mass of the W boson
label: m_W2
units: 'GeV2'
k3:
description: Variable k3
label: k3
units: ''
file: kinematics_CC-ETA.yaml
description: Square root of the center of mass energy
label: sqrts
units: 'GeV'
file: kinematics.yaml
theory:
conversion_factor: 1000.0
operation: 'null'
Expand Down

0 comments on commit c0a854c

Please sign in to comment.