diff --git a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter.py b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter.py index f7d00a0e76..4e7e98cfbd 100644 --- a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter.py +++ b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter.py @@ -14,4 +14,3 @@ if __name__ == "__main__": CMS_WCHARM = Extractor("./metadata.yaml", "WPWM-TOT-UNNORM", mult_factor=1000) _, _, _ = CMS_WCHARM.generate_data(variant='default', save_to_yaml=True) - _, _, _ = CMS_WCHARM.generate_data(variant='sys_10', save_to_yaml=True) diff --git a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter_utils.py b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter_utils.py index 9a4c533c43..f13b7cb6f6 100644 --- a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter_utils.py +++ b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/filter_utils.py @@ -229,13 +229,7 @@ def __build_unc_definitions(self, variant='default'): # Add systematic uncertainty unc_definitions = unc_definitions | SYS_DEFINITIONS - if variant == 'sys_10': - unc_definitions['uncorr_mc_unc'] = { - 'description': f'MC uncertainty', - 'treatment': 'MULT', - 'type': 'UNCORR', - } - elif variant != 'default': + if variant != 'default': raise ValueError(f'The variant {variant} is not implemented yet.') return unc_definitions @@ -273,9 +267,6 @@ def generate_data(self, variant='default', save_to_yaml=False, path='./'): # Add systematic uncertainties unc_dict = unc_dict | tmp - if variant == 'sys_10': - unc_dict['uncorr_mc_unc'] = central_data[data_idx] * 0.01 - sys_artificial.append(unc_dict) if save_to_yaml: diff --git a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml index d64a3c14a9..e28be8bbc5 100644 --- a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml +++ b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml @@ -52,9 +52,6 @@ implemented_observables: - - CMS_WCHARM_DIFF_UNNORM_13TEV-CMS_WCHARM_13TEV_WPCB_leptrap - - CMS_WCHARM_DIFF_UNNORM_13TEV-CMS_WCHARM_13TEV_WMC_leptrap variants: - sys_10: - data_uncertainties: - - uncertainties_WPWM-TOT-UNNORM_sys_10.yaml legacy: data_uncertainties: - uncertainties_legacy_WPWM-TOT-UNNORM.yaml diff --git a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/uncertainties_WPWM-TOT-UNNORM_sys_10.yaml b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/uncertainties_WPWM-TOT-UNNORM_sys_10.yaml deleted file mode 100644 index 74dd7ceabc..0000000000 --- a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_13TEV/uncertainties_WPWM-TOT-UNNORM_sys_10.yaml +++ /dev/null @@ -1,137 +0,0 @@ -definitions: - stat_uncorr_unc: - description: Statistical uncertainty - treatment: ADD - type: UNCORR - corr_lumi_unc: - description: Luminosity uncertainty 2.6% - treatment: MULT - type: CMSLUMI13 - track_sys_unc: - description: Tracking efficiency systematic uncertainty - treatment: MULT - type: CORR - brch_sys_unc: - description: Branching fraction systematic uncertainty - treatment: MULT - type: CORR - muons_sys_unc: - description: Muon identification systematic uncertainty - treatment: MULT - type: CORR - nsel_sys_unc: - description: N_sel determination systematic uncertainty - treatment: MULT - type: CORR - dstar_sys_unc: - description: D*(2010)+- systematic uncertainty - treatment: MULT - type: CORR - bkgnorm_sys_unc: - description: Background normalization systematic uncertainty - treatment: MULT - type: CORR - ptmiss_sys_unc: - description: pT miss systematic uncertainty - treatment: MULT - type: CORR - pileup_sys_unc: - description: Pileup systematic uncertainty - treatment: MULT - type: CORR - secvrx_sys_unc: - description: PDF systematic uncertainty - treatment: MULT - type: CORR - pdf_sys_unc: - description: Fragmentation systematic uncertainty - treatment: MULT - type: CORR - frag_sys_unc: - description: MC statistics systematic uncertainty - treatment: MULT - type: CORR - mc_sys_unc: - description: Symmetrized systematic uncertainty - treatment: MULT - type: CORR - uncorr_mc_unc: - description: MC uncertainty - treatment: MULT - type: UNCORR -bins: -- stat_uncorr_unc: 37170.0 - corr_lumi_unc: 1.42174837e+04 - track_sys_unc: 2.3 - brch_sys_unc: 2.4 - muons_sys_unc: 1.2 - nsel_sys_unc: 1.5 - dstar_sys_unc: 0.5 - bkgnorm_sys_unc: 0.5 - ptmiss_sys_unc: 8.12403840e-01 - pileup_sys_unc: 1.95128163e+00 - secvrx_sys_unc: 1.55563492e+00 - pdf_sys_unc: 1.2 - frag_sys_unc: 3.58434094e+00 - mc_sys_unc: 3.45651559e+00 - uncorr_mc_unc: 5.68699350e+03 -- stat_uncorr_unc: 28410.0 - corr_lumi_unc: 1.16728088e+04 - track_sys_unc: 2.3 - brch_sys_unc: 2.4 - muons_sys_unc: 1.2 - nsel_sys_unc: 1.5 - dstar_sys_unc: 0.5 - bkgnorm_sys_unc: 8.52936105e-01 - ptmiss_sys_unc: 9.79795897e-01 - pileup_sys_unc: 4.55521679e-01 - secvrx_sys_unc: 1.83847763e+00 - pdf_sys_unc: 1.3 - frag_sys_unc: 2.83548938e+00 - mc_sys_unc: 8.20167666e+00 - uncorr_mc_unc: 4.66912350e+03 -- stat_uncorr_unc: 30210.0 - corr_lumi_unc: 1.19827362e+04 - track_sys_unc: 2.3 - brch_sys_unc: 2.4 - muons_sys_unc: 1.2 - nsel_sys_unc: 1.5 - dstar_sys_unc: 0.5 - bkgnorm_sys_unc: 1.55804365e+00 - ptmiss_sys_unc: 1.06770783e+00 - pileup_sys_unc: 2.95084734e+00 - secvrx_sys_unc: 1.69705627e+00 - pdf_sys_unc: 0.9 - frag_sys_unc: 6.48922183e+00 - mc_sys_unc: 1.06492958e+01 - uncorr_mc_unc: 4.79309450e+03 -- stat_uncorr_unc: 27450.0 - corr_lumi_unc: 9.87899375e+03 - track_sys_unc: 2.3 - brch_sys_unc: 2.4 - muons_sys_unc: 1.2 - nsel_sys_unc: 1.5 - dstar_sys_unc: 0.5 - bkgnorm_sys_unc: 1.14345966e+00 - ptmiss_sys_unc: 1.05237826e+00 - pileup_sys_unc: 1.95128163e+00 - secvrx_sys_unc: 2.12132034e+00 - pdf_sys_unc: 1.4 - frag_sys_unc: 3.15713478e+00 - mc_sys_unc: 7.39104188e+00 - uncorr_mc_unc: 3.95159750e+03 -- stat_uncorr_unc: 24680.0 - corr_lumi_unc: 7070.6 - track_sys_unc: 2.3 - brch_sys_unc: 2.4 - muons_sys_unc: 1.2 - nsel_sys_unc: 1.5 - dstar_sys_unc: 0.5 - bkgnorm_sys_unc: 9.11043358e-01 - ptmiss_sys_unc: 2.25166605e+00 - pileup_sys_unc: 4.86286952e+00 - secvrx_sys_unc: 3.81837662e+00 - pdf_sys_unc: 1.5 - frag_sys_unc: 1.84119526e+00 - mc_sys_unc: 1.23307542e+01 - uncorr_mc_unc: 2.82824000e+03