diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/data.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/data.yaml new file mode 100644 index 0000000000..0b10ffdb22 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/data.yaml @@ -0,0 +1,23 @@ +data_central: +- 577150.0 +- 576870.0 +- 581750.0 +- 586070.0 +- 586330.0 +- 599070.0 +- 596750.0 +- 604170.0 +- 606930.0 +- 593400.0 +- 558460.0 +- 436450.0 +- 432780.0 +- 429290.0 +- 423380.0 +- 413640.0 +- 405260.0 +- 388020.0 +- 377510.0 +- 365820.0 +- 344700.0 +- 319040.0 diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter.py b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter.py new file mode 100644 index 0000000000..e72d5dd7e8 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter.py @@ -0,0 +1,31 @@ +""" +When running `python filter.py` the relevant data yaml +file will be created in the `nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB` directory. +""" + +import yaml +from filter_utils import get_data_values, get_kinematics + + +def filter_ATLAS_WPWM_7TEV_46FB_data_kinematic(): + """ + This function writes the central values to yaml files. + """ + central_values = list(get_data_values()) + + kin = get_kinematics() + + data_central_yaml = {"data_central": central_values} + + kinematics_yaml = {"bins": kin} + + # write central values and kinematics to yaml file + with open("data.yaml", "w") as file: + yaml.dump(data_central_yaml, file, sort_keys=False) + + with open("kinematics.yaml", "w") as file: + yaml.dump(kinematics_yaml, file, sort_keys=False) + + +if __name__ == "__main__": + filter_ATLAS_WPWM_7TEV_46FB_data_kinematic() diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter_utils.py b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter_utils.py new file mode 100644 index 0000000000..70cf6970a5 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/filter_utils.py @@ -0,0 +1,82 @@ +""" +This module contains helper functions that are used to extract the data values +from the rawdata files. +""" + +import yaml +import pandas as pd +import numpy as np + + +def get_data_values(): + """ + returns the central data values in the form of a list. + """ + + data_central = [] + + hepdata_table_1 = f"rawdata/HEPData-ins1502620-v1-Table_9.yaml" + hepdata_table_2 = f"rawdata/HEPData-ins1502620-v1-Table_10.yaml" + + with open(hepdata_table_1, 'r') as file: + input_1 = yaml.safe_load(file) + + with open(hepdata_table_2, 'r') as file: + input_2 = yaml.safe_load(file) + + values_1 = input_1['dependent_variables'][0]['values'] + values_2 = input_2['dependent_variables'][0]['values'] + + values = values_1 + values_2 + + for value in values: + # store data central and convert the units + data_central.append(value['value'] * 1000) + + return data_central + + +def get_kinematics(): + """ + returns the kinematics in the form of a list of dictionaries. + """ + kin = [] + + hepdata_table_1 = f"rawdata/HEPData-ins1502620-v1-Table_9.yaml" + hepdata_table_2 = f"rawdata/HEPData-ins1502620-v1-Table_10.yaml" + + with open(hepdata_table_1, 'r') as file: + input_1 = yaml.safe_load(file) + + with open(hepdata_table_2, 'r') as file: + input_2 = yaml.safe_load(file) + + for i, M in enumerate(input_1["independent_variables"][0]['values']): + + kin_value = { + 'k1': { + '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}, + } + + kin.append(kin_value) + + for i, M in enumerate(input_2["independent_variables"][0]['values']): + + kin_value = { + 'k1': { + '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}, + } + + kin.append(kin_value) + + return kin diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/kinematics.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/kinematics.yaml new file mode 100644 index 0000000000..b129d0f161 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/kinematics.yaml @@ -0,0 +1,265 @@ +bins: +- k1: + min: null + mid: 0.105 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.315 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.525 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.735 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.9450000000000001 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.21 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.445 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.63 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.845 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 2.065 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 2.34 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.105 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.315 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.525 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.735 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 0.9450000000000001 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.21 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.445 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.63 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 1.845 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 2.065 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null +- k1: + min: null + mid: 2.34 + max: null + k2: + min: null + mid: 6463.838404 + max: null + k3: + min: null + mid: 7000.0 + max: null diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml index 67804678c9..065f99045d 100644 --- a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml @@ -10,7 +10,7 @@ arXiv: iNSPIRE: url: '' hepdata: - url: 10.17182/hepdata.76541.v1/t9-t10 + url: https://www.hepdata.net/record/ins1502620 version: -1 implemented_observables: - observable_name: CC-ETA @@ -19,7 +19,7 @@ implemented_observables: label: ATLAS $W$ 7 TeV 2011 Central selection units: '' process_type: EWK_RAP - tables: [] + tables: [9,10] npoints: [] ndata: 22 plotting: diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_10.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_10.yaml new file mode 100644 index 0000000000..9970522c8f --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_10.yaml @@ -0,0 +1,92 @@ + +independent_variables: +- header: {name: absolute lepton eta} + values: + - {low: 0.00, high: 0.21} + - {low: 0.21, high: 0.42} + - {low: 0.42, high: 0.63} + - {low: 0.63, high: 0.84} + - {low: 0.84, high: 1.05} + - {low: 1.05, high: 1.37} + - {low: 1.37, high: 1.52} + - {low: 1.52, high: 1.74} + - {low: 1.74, high: 1.95} + - {low: 1.95, high: 2.18} + - {low: 2.18, high: 2.50} + +dependent_variables: +- header: {name: '$d\sigma / d|\eta_\ell|$', units: PB} + qualifiers: + - {name: SQRT(S), units: GEV, value: 7000} + - {name: RE, value: P P --> W- X} + - {name: ABS(ETARAP(C=LEPTON)), value: < 2.5} + - {name: MT, units: GEV, value: '> 40'} + - {name: PT(C=LEPTON), units: GEV, value: '> 25'} + - {name: PT(C=NU), units: GEV, value: '> 25'} + values: + - value: 436.45 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.14%} + - {label: 'cor', symerror: 0.52%} + - {label: 'lumi', symerror: 1.8%} + - value: 432.78 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.16%} + - {label: 'cor', symerror: 0.48%} + - {label: 'lumi', symerror: 1.8%} + - value: 429.29 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.13%} + - {label: 'cor', symerror: 0.49%} + - {label: 'lumi', symerror: 1.8%} + - value: 423.38 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.13%} + - {label: 'cor', symerror: 0.50%} + - {label: 'lumi', symerror: 1.8%} + - value: 413.64 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.15%} + - {label: 'cor', symerror: 0.50%} + - {label: 'lumi', symerror: 1.8%} + - value: 405.26 + errors: + - {label: stat, symerror: 0.10%} + - {label: 'uncor', symerror: 0.14%} + - {label: 'cor', symerror: 0.56%} + - {label: 'lumi', symerror: 1.8%} + - value: 388.02 + errors: + - {label: stat, symerror: 0.17%} + - {label: 'uncor', symerror: 0.34%} + - {label: 'cor', symerror: 0.52%} + - {label: 'lumi', symerror: 1.8%} + - value: 377.51 + errors: + - {label: stat, symerror: 0.14%} + - {label: 'uncor', symerror: 0.16%} + - {label: 'cor', symerror: 0.58%} + - {label: 'lumi', symerror: 1.8%} + - value: 365.82 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.20%} + - {label: 'cor', symerror: 0.58%} + - {label: 'lumi', symerror: 1.8%} + - value: 344.70 + errors: + - {label: stat, symerror: 0.13%} + - {label: 'uncor', symerror: 0.17%} + - {label: 'cor', symerror: 0.59%} + - {label: 'lumi', symerror: 1.8%} + - value: 319.04 + errors: + - {label: stat, symerror: 0.14%} + - {label: 'uncor', symerror: 0.19%} + - {label: 'cor', symerror: 0.75%} + - {label: 'lumi', symerror: 1.8%} diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_9.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_9.yaml new file mode 100644 index 0000000000..bb874e0363 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/rawdata/HEPData-ins1502620-v1-Table_9.yaml @@ -0,0 +1,92 @@ + +independent_variables: +- header: {name: absolute lepton eta} + values: + - {low: 0.00, high: 0.21} + - {low: 0.21, high: 0.42} + - {low: 0.42, high: 0.63} + - {low: 0.63, high: 0.84} + - {low: 0.84, high: 1.05} + - {low: 1.05, high: 1.37} + - {low: 1.37, high: 1.52} + - {low: 1.52, high: 1.74} + - {low: 1.74, high: 1.95} + - {low: 1.95, high: 2.18} + - {low: 2.18, high: 2.50} + +dependent_variables: +- header: {name: '$d\sigma / d|\eta_\ell|$', units: PB} + qualifiers: + - {name: SQRT(S), units: GEV, value: 7000} + - {name: RE, value: P P --> W+ X} + - {name: ABS(ETARAP(C=LEPTON)), value: < 2.5} + - {name: MT, units: GEV, value: '> 40'} + - {name: PT(C=LEPTON), units: GEV, value: '> 25'} + - {name: PT(C=NU), units: GEV, value: '> 25'} + values: + - value: 577.15 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.13%} + - {label: 'cor', symerror: 0.52%} + - {label: 'lumi', symerror: 1.8%} + - value: 576.87 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.15%} + - {label: 'cor', symerror: 0.49%} + - {label: 'lumi', symerror: 1.8%} + - value: 581.75 + errors: + - {label: stat, symerror: 0.09%} + - {label: 'uncor', symerror: 0.12%} + - {label: 'cor', symerror: 0.49%} + - {label: 'lumi', symerror: 1.8%} + - value: 586.07 + errors: + - {label: stat, symerror: 0.10%} + - {label: 'uncor', symerror: 0.11%} + - {label: 'cor', symerror: 0.50%} + - {label: 'lumi', symerror: 1.8%} + - value: 586.33 + errors: + - {label: stat, symerror: 0.10%} + - {label: 'uncor', symerror: 0.14%} + - {label: 'cor', symerror: 0.50%} + - {label: 'lumi', symerror: 1.8%} + - value: 599.07 + errors: + - {label: stat, symerror: 0.08%} + - {label: 'uncor', symerror: 0.13%} + - {label: 'cor', symerror: 0.51%} + - {label: 'lumi', symerror: 1.8%} + - value: 596.75 + errors: + - {label: stat, symerror: 0.13%} + - {label: 'uncor', symerror: 0.33%} + - {label: 'cor', symerror: 0.52%} + - {label: 'lumi', symerror: 1.8%} + - value: 604.17 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.13%} + - {label: 'cor', symerror: 0.55%} + - {label: 'lumi', symerror: 1.8%} + - value: 606.93 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.18%} + - {label: 'cor', symerror: 0.54%} + - {label: 'lumi', symerror: 1.8%} + - value: 593.40 + errors: + - {label: stat, symerror: 0.11%} + - {label: 'uncor', symerror: 0.14%} + - {label: 'cor', symerror: 0.53%} + - {label: 'lumi', symerror: 1.8%} + - value: 558.46 + errors: + - {label: stat, symerror: 0.12%} + - {label: 'uncor', symerror: 0.14%} + - {label: 'cor', symerror: 0.62%} + - {label: 'lumi', symerror: 1.8%} diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/data.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/data.yaml new file mode 100644 index 0000000000..16a0ad0e84 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/data.yaml @@ -0,0 +1,14 @@ +data_central: +- 224.0 +- 102.0 +- 51.2 +- 28.400000000000002 +- 18.700000000000003 +- 10.7 +- 8.229999999999999 +- 4.66 +- 1.7 +- 0.474 +- 0.146 +- 0.022099999999999998 +- 0.0028799999999999997 diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter.py b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter.py new file mode 100644 index 0000000000..1c0de7dca1 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter.py @@ -0,0 +1,91 @@ +""" +filter.py module for ATLAS_Z0_7TEV_49FB dataset +When running `python filter.py` the relevant data yaml +file will be created in the `nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS` directory. +""" + +import yaml +from filter_utils import get_data_values, get_kinematics, get_systematics + + +def filter_ATLAS_Z0_7TEV_49FB_data_kinetic(): + """ + This function writes the central values to yaml files. + """ + central_values = list(get_data_values()) + + kin = get_kinematics() + + data_central_yaml = {"data_central": central_values} + + kinematics_yaml = {"bins": kin} + + # write central values and kinematics to yaml file + with open("data.yaml", "w") as file: + yaml.dump(data_central_yaml, file, sort_keys=False) + + with open("kinematics.yaml", "w") as file: + yaml.dump(kinematics_yaml, file, sort_keys=False) + + +def filter_ATLAS_Z0_7TEV_49FB_systematics(): + """ + This function writes the systematics to a yaml file. + """ + + with open("metadata.yaml", "r") as file: + metadata = yaml.safe_load(file) + + systematics = get_systematics() + + # error definition + error_definitions = {} + errors = [] + + for sys in systematics: + if sys[0]['name'] == 'Stat': + error_definitions[sys[0]['name']] = { + "description": f"{sys[0]['name']}", + "treatment": "ADD", + "type": "UNCORR", + } + + elif (sys[0]['name'] == 'Nbkg_stat') or (sys[0]['name'] == 'CDY_stat'): + error_definitions[sys[0]['name']] = { + "description": f"{sys[0]['name']}", + "treatment": "MULT", + "type": "UNCORR", + } + + elif sys[0]['name'] == 'Lumi': + error_definitions[sys[0]['name']] = { + "description": f"{sys[0]['name']}", + "treatment": "MULT", + "type": "ATLASLUMI11", + } + + else: + error_definitions[sys[0]['name']] = { + "description": f"{sys[0]['name']}", + "treatment": "MULT", + "type": "CORR", + } + + for i in range(metadata['implemented_observables'][0]['ndata']): + error_value = {} + + for sys in systematics: + error_value[sys[0]['name']] = float(sys[0]['values'][i]) + + errors.append(error_value) + + uncertainties_yaml = {"definitions": error_definitions, "bins": errors} + + # write uncertainties + with open(f"uncertainties.yaml", 'w') as file: + yaml.dump(uncertainties_yaml, file, sort_keys=False) + + +if __name__ == "__main__": + filter_ATLAS_Z0_7TEV_49FB_data_kinetic() + filter_ATLAS_Z0_7TEV_49FB_systematics() diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter_utils.py b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter_utils.py new file mode 100644 index 0000000000..77dc9a57c3 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/filter_utils.py @@ -0,0 +1,91 @@ +""" +This module contains helper functions that are used to extract the data values +from the rawdata files. +""" + +import yaml +import pandas as pd +import numpy as np + + +def get_data_values(): + """ + returns the central data values in the form of a list. + """ + + data_central = [] + + hepdata_table = f"rawdata/HEPData-ins1234228-v1-Table_1.yaml" + + with open(hepdata_table, 'r') as file: + input = yaml.safe_load(file) + + values = input['dependent_variables'][0]['values'] + + for value in values: + # store data central and convert the units + data_central.append(value['value'] * 1000) + + return data_central + + +def get_kinematics(): + """ + returns the kinematics in the form of a list of dictionaries. + """ + kin = [] + + hepdata_table = f"rawdata/HEPData-ins1234228-v1-Table_1.yaml" + + with open(hepdata_table, 'r') as file: + input = yaml.safe_load(file) + + for i, M in enumerate(input["independent_variables"][0]['values']): + + kin_value = { + 'y': {'min': None, 'mid': (0.5 * (M['low'] + M['high'])), 'max': None}, # y~M(EE)? + 'M2': { + 'min': M['low'] ** 2, + 'mid': (0.5 * (M['low'] + M['high'])) ** 2, + 'max': M['high'] ** 2, + }, + 'sqrts': {'min': None, 'mid': 7000.0, 'max': None}, + } + + kin.append(kin_value) + + return kin + + +def get_systematics_dataframe(): + """ + returns the absolute systematic uncertainties in the form of a pandas dataframe. + """ + sys_rawdata_path = "rawdata/ATLAS-49fb-Zhighmass.csv" + + df = pd.read_csv(sys_rawdata_path) + data_central = np.array(get_data_values()) + + # convert (MULT) percentage unc to absolute unc + abs_unc_df = (df.T[2:] * data_central).T / 100 + + return abs_unc_df + + +def get_systematics(): + """ """ + abs_unc_df = get_systematics_dataframe() + + uncertainties = [] + + for i, unc_dp in enumerate(abs_unc_df.values.T): + name = f"{abs_unc_df.columns[i]}" + values = [unc_dp[j] for j in range(len(unc_dp))] + uncertainties.append([{"name": name, "values": values}]) + + return uncertainties + + +if __name__ == "__main__": + get_data_values() + get_systematics_dataframe() diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml index 8ea136e9dc..a0a553a40f 100644 --- a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml @@ -8,9 +8,9 @@ arXiv: url: https://arxiv.org/abs/1305.4192 journal: Phys.Lett. B725 (2013) 223 iNSPIRE: - url: '' + url: 'https://inspirehep.net/literature/1234228' hepdata: - url: 10.17182/hepdata.61422.v1/t1 + url: https://www.hepdata.net/record/ins1234228 version: -1 implemented_observables: - observable_name: HIMASS @@ -19,7 +19,7 @@ implemented_observables: label: ATLAS HM DY 7 TeV units: '' process_type: EWK_MLL - tables: [] + tables: [1] npoints: [] ndata: 13 plotting: diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.csv b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.csv new file mode 100644 index 0000000000..bb18e4d58f --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.csv @@ -0,0 +1,14 @@ +mee_xmin,mee_xmax,Stat,Nbkg_stat,CDY_stat,Nbkg,Reco,Id,Energy_scale_res,Unfolding,Trigger,MC_Modelling,Theoretical,Lumi +116,130,1.1,0.1,0.7,1.3,1.6,2.3,2.1,1.5,0.8,0.2,0.3,1.8 +130,150,1.4,0.2,0.7,1.8,1.6,2.3,1.7,1.5,0.8,0.5,0.2,1.8 +150,170,2.0,0.3,1.0,2.5,1.6,2.3,1.6,1.5,0.8,0.2,0.2,1.8 +170,190,2.7,0.4,1.3,2.8,1.6,2.3,1.0,1.5,0.8,0.2,0.2,1.8 +190,210,3.0,0.5,1.7,3.4,1.6,2.4,1.5,1.5,0.8,0.3,0.4,1.8 +210,230,4.4,0.9,2.0,4.1,1.6,2.4,2.0,1.5,0.8,0.8,0.5,1.8 +230,250,5.2,0.9,2.4,3.8,1.6,2.4,1.2,1.5,0.8,0.2,0.3,1.8 +250,300,4.3,0.7,0.9,4.1,1.6,2.4,1.7,1.5,0.8,0.2,0.2,1.8 +300,400,5.1,0.9,1.0,4.4,1.6,2.5,1.7,1.5,0.8,0.3,0.3,1.8 +400,500,9.4,2.0,0.9,4.0,1.6,2.6,2.3,1.5,0.8,0.5,0.4,1.8 +500,700,11,2.0,0.8,3.1,1.6,2.6,2.4,1.5,0.8,0.2,0.3,1.8 +700,1000,24,4.0,0.6,4.3,1.6,2.6,2.8,1.5,0.8,0.2,0.4,1.8 +1000,1500,50,7.6,0.4,3.1,1.7,2.5,3.3,1.5,0.8,0.3,0.4,1.8 diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.sys b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.sys new file mode 100644 index 0000000000..11171ba3bb --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.sys @@ -0,0 +1,19 @@ +Born level +============================================================================================================ +mee mee Stat. Nbkg CDY Nbkg Reco. Id. Energy Unfolding Trigger MC Theoretical Lumi +xmin xmax stat. stat. scale&res modelling + GeV <-uncorrelated (%)-> <---------------------bin-to-bin correlated (%)---------------------> +============================================================================================================ +116 130 1.1 0.1 0.7 1.3 1.6 2.3 2.1 1.5 0.8 0.2 0.3 1.8 +130 150 1.4 0.2 0.7 1.8 1.6 2.3 1.7 1.5 0.8 0.5 0.2 1.8 +150 170 2.0 0.3 1.0 2.5 1.6 2.3 1.6 1.5 0.8 0.2 0.2 1.8 +170 190 2.7 0.4 1.3 2.8 1.6 2.3 1.0 1.5 0.8 0.2 0.2 1.8 +190 210 3.0 0.5 1.7 3.4 1.6 2.4 1.5 1.5 0.8 0.3 0.4 1.8 +210 230 4.4 0.9 2.0 4.1 1.6 2.4 2.0 1.5 0.8 0.8 0.5 1.8 +230 250 5.2 0.9 2.4 3.8 1.6 2.4 1.2 1.5 0.8 0.2 0.3 1.8 +250 300 4.3 0.7 0.9 4.1 1.6 2.4 1.7 1.5 0.8 0.2 0.2 1.8 +300 400 5.1 0.9 1.0 4.4 1.6 2.5 1.7 1.5 0.8 0.3 0.3 1.8 +400 500 9.4 2.0 0.9 4.0 1.6 2.6 2.3 1.5 0.8 0.5 0.4 1.8 +500 700 11 2.0 0.8 3.1 1.6 2.6 2.4 1.5 0.8 0.2 0.3 1.8 +700 1000 24 4.0 0.6 4.3 1.6 2.6 2.8 1.5 0.8 0.2 0.4 1.8 +1000 1500 50 7.6 0.4 3.1 1.7 2.5 3.3 1.5 0.8 0.3 0.4 1.8 diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/HEPData-ins1234228-v1-Table_1.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/HEPData-ins1234228-v1-Table_1.yaml new file mode 100644 index 0000000000..b696003121 --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/HEPData-ins1234228-v1-Table_1.yaml @@ -0,0 +1,137 @@ +dependent_variables: +- header: {name: D(SIG)/DM(EE), units: PB/GEV} + qualifiers: + - {name: ABS(ETARAP(EE)), value: < 2.5} + - {name: PT(C=E), units: GEV, value: '> 25'} + - {name: RE, value: P P --> E+ E- X} + - {name: SQRT(S), units: GeV, value: '7000.0'} + - {name: '', value: BORN} + values: + - errors: + - {label: stat, symerror: 1.1%} + - {label: sys, symerror: 4.2%} + value: 0.224 + - errors: + - {label: stat, symerror: 1.4%} + - {label: sys, symerror: 4.3%} + value: 0.102 + - errors: + - {label: stat, symerror: 2.0%} + - {label: sys, symerror: 4.6%} + value: 0.0512 + - errors: + - {label: stat, symerror: 2.7%} + - {label: sys, symerror: 4.7%} + value: 0.0284 + - errors: + - {label: stat, symerror: 3.0%} + - {label: sys, symerror: 5.3%} + value: 0.0187 + - errors: + - {label: stat, symerror: 4.4%} + - {label: sys, symerror: 6.1%} + value: 0.0107 + - errors: + - {label: stat, symerror: 5.2%} + - {label: sys, symerror: 5.9%} + value: 0.00823 + - errors: + - {label: stat, symerror: 4.3%} + - {label: sys, symerror: 5.8%} + value: 0.00466 + - errors: + - {label: stat, symerror: 5.1%} + - {label: sys, symerror: 5.9%} + value: 0.0017 + - errors: + - {label: stat, symerror: 9.4%} + - {label: sys, symerror: 6.3%} + value: 0.000474 + - errors: + - {label: stat, symerror: 11.0%} + - {label: sys, symerror: 5.7%} + value: 0.000146 + - errors: + - {label: stat, symerror: 24.0%} + - {label: sys, symerror: 7.5%} + value: 2.21e-05 + - errors: + - {label: stat, symerror: 50.0%} + - {label: sys, symerror: 9.8%} + value: 2.88e-06 +- header: {name: D(SIG)/DM(EE), units: PB/GEV} + qualifiers: + - {name: ABS(ETARAP(EE)), value: < 2.5} + - {name: PT(C=E), units: GEV, value: '> 25'} + - {name: RE, value: P P --> E+ E- X} + - {name: SQRT(S), units: GeV, value: '7000.0'} + - {name: '', value: DRESSED} + values: + - errors: + - {label: stat, symerror: 1.1%} + - {label: sys, symerror: 4.2%} + value: 0.215 + - errors: + - {label: stat, symerror: 1.4%} + - {label: sys, symerror: 4.3%} + value: 0.0984 + - errors: + - {label: stat, symerror: 2.0%} + - {label: sys, symerror: 4.6%} + value: 0.0493 + - errors: + - {label: stat, symerror: 2.7%} + - {label: sys, symerror: 4.7%} + value: 0.0276 + - errors: + - {label: stat, symerror: 3.0%} + - {label: sys, symerror: 5.3%} + value: 0.0182 + - errors: + - {label: stat, symerror: 4.4%} + - {label: sys, symerror: 6.1%} + value: 0.0104 + - errors: + - {label: stat, symerror: 5.2%} + - {label: sys, symerror: 5.9%} + value: 0.00798 + - errors: + - {label: stat, symerror: 4.3%} + - {label: sys, symerror: 5.8%} + value: 0.00452 + - errors: + - {label: stat, symerror: 5.1%} + - {label: sys, symerror: 5.9%} + value: 0.00165 + - errors: + - {label: stat, symerror: 9.4%} + - {label: sys, symerror: 6.3%} + value: 0.000458 + - errors: + - {label: stat, symerror: 11.0%} + - {label: sys, symerror: 5.7%} + value: 0.000141 + - errors: + - {label: stat, symerror: 24.0%} + - {label: sys, symerror: 7.5%} + value: 2.13e-05 + - errors: + - {label: stat, symerror: 50.0%} + - {label: sys, symerror: 9.8%} + value: 2.76e-06 +independent_variables: +- header: {name: M(EE), units: GEV} + values: + - {high: 130.0, low: 116.0} + - {high: 150.0, low: 130.0} + - {high: 170.0, low: 150.0} + - {high: 190.0, low: 170.0} + - {high: 210.0, low: 190.0} + - {high: 230.0, low: 210.0} + - {high: 250.0, low: 230.0} + - {high: 300.0, low: 250.0} + - {high: 400.0, low: 300.0} + - {high: 500.0, low: 400.0} + - {high: 700.0, low: 500.0} + - {high: 1000.0, low: 700.0} + - {high: 1500.0, low: 1000.0} diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml new file mode 100644 index 0000000000..3b75481b7a --- /dev/null +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml @@ -0,0 +1,206 @@ +definitions: + Stat: + description: Stat + treatment: ADD + type: UNCORR + Nbkg_stat: + description: Nbkg_stat + treatment: MULT + type: UNCORR + CDY_stat: + description: CDY_stat + treatment: MULT + type: UNCORR + Nbkg: + description: Nbkg + treatment: MULT + type: CORR + Reco: + description: Reco + treatment: MULT + type: CORR + Id: + description: Id + treatment: MULT + type: CORR + Energy_scale_res: + description: Energy_scale_res + treatment: MULT + type: CORR + Unfolding: + description: Unfolding + treatment: MULT + type: CORR + Trigger: + description: Trigger + treatment: MULT + type: CORR + MC_Modelling: + description: MC_Modelling + treatment: MULT + type: CORR + Theoretical: + description: Theoretical + treatment: MULT + type: CORR + Lumi: + description: Lumi + treatment: MULT + type: ATLASLUMI11 +bins: +- Stat: 2.4640000000000004 + Nbkg_stat: 0.22400000000000003 + CDY_stat: 1.5679999999999998 + Nbkg: 2.912 + Reco: 3.5840000000000005 + Id: 5.151999999999999 + Energy_scale_res: 4.704000000000001 + Unfolding: 3.36 + Trigger: 1.7920000000000003 + MC_Modelling: 0.44800000000000006 + Theoretical: 0.672 + Lumi: 4.032 +- Stat: 1.428 + Nbkg_stat: 0.20400000000000001 + CDY_stat: 0.714 + Nbkg: 1.8359999999999999 + Reco: 1.6320000000000001 + Id: 2.346 + Energy_scale_res: 1.734 + Unfolding: 1.53 + Trigger: 0.8160000000000001 + MC_Modelling: 0.51 + Theoretical: 0.20400000000000001 + Lumi: 1.8359999999999999 +- Stat: 1.024 + Nbkg_stat: 0.1536 + CDY_stat: 0.512 + Nbkg: 1.28 + Reco: 0.8192000000000002 + Id: 1.1776 + Energy_scale_res: 0.8192000000000002 + Unfolding: 0.7680000000000001 + Trigger: 0.4096000000000001 + MC_Modelling: 0.10240000000000002 + Theoretical: 0.10240000000000002 + Lumi: 0.9216000000000001 +- Stat: 0.7668 + Nbkg_stat: 0.1136 + CDY_stat: 0.36920000000000003 + Nbkg: 0.7951999999999999 + Reco: 0.4544 + Id: 0.6531999999999999 + Energy_scale_res: 0.28400000000000003 + Unfolding: 0.426 + Trigger: 0.2272 + MC_Modelling: 0.0568 + Theoretical: 0.0568 + Lumi: 0.5112000000000001 +- Stat: 0.561 + Nbkg_stat: 0.09350000000000001 + CDY_stat: 0.3179 + Nbkg: 0.6358 + Reco: 0.2992000000000001 + Id: 0.44880000000000003 + Energy_scale_res: 0.2805 + Unfolding: 0.2805 + Trigger: 0.14960000000000004 + MC_Modelling: 0.056100000000000004 + Theoretical: 0.07480000000000002 + Lumi: 0.3366 +- Stat: 0.4708 + Nbkg_stat: 0.0963 + CDY_stat: 0.214 + Nbkg: 0.4386999999999999 + Reco: 0.17120000000000002 + Id: 0.2568 + Energy_scale_res: 0.214 + Unfolding: 0.16049999999999998 + Trigger: 0.08560000000000001 + MC_Modelling: 0.08560000000000001 + Theoretical: 0.0535 + Lumi: 0.1926 +- Stat: 0.4279599999999999 + Nbkg_stat: 0.07407 + CDY_stat: 0.19751999999999995 + Nbkg: 0.31273999999999996 + Reco: 0.13168 + Id: 0.19751999999999995 + Energy_scale_res: 0.09875999999999997 + Unfolding: 0.12344999999999999 + Trigger: 0.06584 + MC_Modelling: 0.01646 + Theoretical: 0.024689999999999993 + Lumi: 0.14814 +- Stat: 0.20038 + Nbkg_stat: 0.03262 + CDY_stat: 0.04194 + Nbkg: 0.19105999999999998 + Reco: 0.07456 + Id: 0.11184 + Energy_scale_res: 0.07922 + Unfolding: 0.0699 + Trigger: 0.03728 + MC_Modelling: 0.00932 + Theoretical: 0.00932 + Lumi: 0.08388 +- Stat: 0.0867 + Nbkg_stat: 0.015300000000000001 + CDY_stat: 0.017 + Nbkg: 0.0748 + Reco: 0.027200000000000002 + Id: 0.0425 + Energy_scale_res: 0.028899999999999995 + Unfolding: 0.0255 + Trigger: 0.013600000000000001 + MC_Modelling: 0.0051 + Theoretical: 0.0051 + Lumi: 0.030600000000000002 +- Stat: 0.044556 + Nbkg_stat: 0.009479999999999999 + CDY_stat: 0.004266 + Nbkg: 0.018959999999999998 + Reco: 0.007584 + Id: 0.012324 + Energy_scale_res: 0.010901999999999998 + Unfolding: 0.00711 + Trigger: 0.003792 + MC_Modelling: 0.0023699999999999997 + Theoretical: 0.001896 + Lumi: 0.008532 +- Stat: 0.016059999999999998 + Nbkg_stat: 0.00292 + CDY_stat: 0.001168 + Nbkg: 0.004526 + Reco: 0.002336 + Id: 0.003796 + Energy_scale_res: 0.0035039999999999997 + Unfolding: 0.0021899999999999997 + Trigger: 0.001168 + MC_Modelling: 0.000292 + Theoretical: 0.00043799999999999997 + Lumi: 0.0026279999999999997 +- Stat: 0.005304 + Nbkg_stat: 0.0008839999999999999 + CDY_stat: 0.0001326 + Nbkg: 0.0009502999999999998 + Reco: 0.0003536 + Id: 0.0005746 + Energy_scale_res: 0.0006187999999999999 + Unfolding: 0.0003315 + Trigger: 0.0001768 + MC_Modelling: 4.42e-05 + Theoretical: 8.84e-05 + Lumi: 0.00039779999999999997 +- Stat: 0.0014399999999999999 + Nbkg_stat: 0.00021887999999999996 + CDY_stat: 1.152e-05 + Nbkg: 8.928e-05 + Reco: 4.895999999999999e-05 + Id: 7.2e-05 + Energy_scale_res: 9.503999999999998e-05 + Unfolding: 4.319999999999999e-05 + Trigger: 2.304e-05 + MC_Modelling: 8.639999999999999e-06 + Theoretical: 1.152e-05 + Lumi: 5.183999999999999e-05