NNPDF / nnpdf

An open-source machine learning framework for global analyses of parton distributions.
https://docs.nnpdf.science/
GNU General Public License v3.0
28 stars 6 forks source link

Fix unknown process type warnings #1288

Closed Zaharid closed 1 year ago

Zaharid commented 3 years ago

Running comparefits we get a bunch of

[WARNING]: Unknown process type for dataset CHORUSNUPb_dw_ite

These should not be there.

RosalynLP commented 3 years ago

It's weird because that dataset does have a process set in the plotting file.

dataset_label: "CHORUS $\\sigma_{CC}^{\\nu}$"
x: k2
y_label: '$10^{i}\sigma_{CC}^{\nu}(x,Q^2)$' 
result_transform: qbindis
kinematics_override: dis_sqrt_scale
data_reference: Onengut:2005kv

#x_scale: log
y_scale: symlog
line_by:
  - k1

normalize:
    y_scale: linear
    line_by: []
    figure_by:
        - k1

experiment: "NUCLEAR"

nnpdf31_process: DIS CC
RosalynLP commented 3 years ago

@Zaharid when I run vp-comparefits I get unknown process type for the following, but not the dataset you mentioned. Are your PLOTTING files definitely up to date?


[WARNING]: Unknown process type for dataset NMCPD_D
[WARNING]: Unknown process type for dataset DYE886_D
[WARNING]: Unknown process type for dataset CHORUSNUPb
[WARNING]: Unknown process type for dataset CHORUSNBPb
[WARNING]: Unknown process type for dataset NTVNUDMNFe
[WARNING]: Unknown process type for dataset NTVNBDMNFe
[WARNING]: Unknown process type for dataset HERACOMB_SIGMARED_C
[WARNING]: Unknown process type for dataset HERACOMB_SIGMARED_B
[WARNING]: Unknown process type for dataset ATLASWZRAP11CC
[WARNING]: Unknown process type for dataset ATLASWZRAP11CF
[WARNING]: Unknown process type for dataset ATLASDY2D8TEV
[WARNING]: Unknown process type for dataset ATLAS_WZ_TOT_13TEV
[WARNING]: Unknown process type for dataset ATLAS_WP_JET_8TEV_PT
[WARNING]: Unknown process type for dataset ATLAS_WM_JET_8TEV_PT
[WARNING]: Unknown process type for dataset ATLAS_TTB_DIFF_8TEV_LJ_TRAPNORM
[WARNING]: Unknown process type for dataset ATLAS_TTB_DIFF_8TEV_LJ_TTRAPNORM
[WARNING]: Unknown process type for dataset ATLAS_TOPDIFF_DILEPT_8TEV_TTRAPNORM
[WARNING]: Unknown process type for dataset ATLAS_1JET_8TEV_R06_DEC
[WARNING]: Unknown process type for dataset ATLAS_2JET_7TEV_R06
[WARNING]: Unknown process type for dataset ATLASPHT15
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_R_7TEV
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_R_13TEV
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_DIFF_7TEV_T_RAP_NORM
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_DIFF_7TEV_TBAR_RAP_NORM
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_DIFF_8TEV_T_RAP_NORM
[WARNING]: Unknown process type for dataset ATLAS_SINGLETOP_TCH_DIFF_8TEV_TBAR_RAP_NORM
[WARNING]: Unknown process type for dataset CMS_2JET_7TEV
[WARNING]: Unknown process type for dataset CMS_2JET_3D_8TEV
[WARNING]: Unknown process type for dataset CMSTTBARTOT5TEV
[WARNING]: Unknown process type for dataset CMS_TTBAR_2D_DIFF_MTT_TRAP_NORM
[WARNING]: Unknown process type for dataset CMS_TTB_DIFF_13TEV_2016_2L_TRAP
[WARNING]: Unknown process type for dataset CMS_TTB_DIFF_13TEV_2016_LJ_TRAP
[WARNING]: Unknown process type for dataset CMS_SINGLETOP_TCH_TOT_7TEV
[WARNING]: Unknown process type for dataset CMS_SINGLETOP_TCH_R_8TEV
[WARNING]: Unknown process type for dataset CMS_SINGLETOP_TCH_R_13TEV
[WARNING]: Unknown process type for dataset LHCB_Z_13TEV_DIMUON
[WARNING]: Unknown process type for dataset LHCB_Z_13TEV_DIELECTRON
Zaharid commented 3 years ago

@RosalynLP not sure, but that was an example. In any case, we should not have any warnings and instead get that information from the plotting file and only if neccesary. Note this is already done as part of the grouping functionality. But this is not using that

validphys2/src/validphys/theorycovariance/theorycovarianceutils.py
137:        log.warn(f'Unknown process type for dataset {name}')