From 699177f9d2638de51d6c4e7ed8d6973f5b85107e Mon Sep 17 00:00:00 2001 From: Mark Nestor Costantini Date: Fri, 11 Oct 2024 15:05:53 +0100 Subject: [PATCH] set stat unc to ADD --- .../commondata/ATLAS_Z0_7TEV_LOMASS/filter.py | 12 +++++++----- .../ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/filter.py b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/filter.py index bf07b14ca2..4fc870bcca 100644 --- a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/filter.py +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/filter.py @@ -44,12 +44,14 @@ def filter_ATLAS_Z0_7TEV_LOMASS_systematics(): errors = [] for sys in systematics: + if sys[0]['name'] == 'stat': + error_definitions[sys[0]['name']] = { + "description": f"{sys[0]['name']}", + "treatment": "ADD", + "type": "UNCORR", + } - if ( - (sys[0]['name'] == 'stat') - or (sys[0]['name'] == 'sys_res') - or (sys[0]['name'] == 'sys_MC') - ): + elif (sys[0]['name'] == 'sys_res') or (sys[0]['name'] == 'sys_MC'): error_definitions[sys[0]['name']] = { "description": f"{sys[0]['name']}", "treatment": "MULT", diff --git a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml index 688f0cbe66..f3963dca27 100644 --- a/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml +++ b/nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml @@ -1,7 +1,7 @@ definitions: stat: description: stat - treatment: MULT + treatment: ADD type: UNCORR sys_reco: description: sys_reco