Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CommonData Reader #1678

Merged
merged 53 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
c7a8739
Groups of commit with the first on-development version of the commond…
scarlehoff Feb 23, 2023
25a79ab
Group of commits for the organization fo the cd reader and extra options
scarlehoff Oct 27, 2023
fa45697
swap old and new in the mapping old:new
scarlehoff Nov 14, 2023
ac79552
allow for a normalize dictionary
scarlehoff Dec 4, 2023
a2d9f15
update reader for cd with less than 3 variables
scarlehoff Dec 7, 2023
8de1a50
try to autoguess the total-cross section case
scarlehoff Dec 8, 2023
bd56b74
change the order of the checks
scarlehoff Dec 8, 2023
184fc7c
change the name of the new data folder to new_commondata
scarlehoff Feb 1, 2024
9bcd4d7
various fixes related to the heracomb datasets ; change variants to v…
scarlehoff Feb 2, 2024
1c4be0b
add necessary changes to read all 4.0 datasets ported to the new format
scarlehoff Feb 6, 2024
ab513e2
implement positivity
scarlehoff Feb 6, 2024
7967b53
now the variant can also change the theory
scarlehoff Feb 6, 2024
ed62849
update treatment of legacy-new mapping
scarlehoff Feb 8, 2024
2a68b9b
add the process description to the parser
scarlehoff Feb 8, 2024
e604c14
allow the usage of use_cuts:fromfit with new data and an old fit
scarlehoff Feb 9, 2024
ed65895
had a __hash__ to theory metadata ; keep the operation coming from th…
scarlehoff Feb 12, 2024
7a68650
update regression tests to use new commondata ; make sure pseudodata …
scarlehoff Feb 13, 2024
13a4155
load new data when available even if old name used
scarlehoff Feb 13, 2024
4cc602c
allow using pseudodata generated with old fits
scarlehoff Feb 13, 2024
a8f3ba4
unify how fktables are loaded between positivity/integrability and no…
scarlehoff Feb 14, 2024
73c1742
update top and DY dataset variables used in filters.yaml
scarlehoff Feb 14, 2024
add9814
fallback to the old commondata if the observable is not found
scarlehoff Feb 14, 2024
e2e00b6
freeze metadata, use custom hash and lru_cache to avoid loading the s…
scarlehoff Feb 14, 2024
0c58709
Remove libNNPDF closure tests utilities (#1946)
scarlehoff Feb 19, 2024
5fa05cd
add an explicit check if number of points != number of bins in kinema…
scarlehoff Feb 19, 2024
36da497
use internally treatment for ADD / MULT
scarlehoff Feb 20, 2024
fc4560f
Apply suggestions from code review
scarlehoff Feb 22, 2024
3a90148
more suggestions from code review
scarlehoff Feb 22, 2024
bf7d755
recover the export method
scarlehoff Feb 26, 2024
8910749
save files in the right folder
scarlehoff Feb 26, 2024
b2201c2
Apply suggestions from code review
scarlehoff Feb 29, 2024
ff21f0f
more review comments
scarlehoff Feb 29, 2024
a18ec47
remove zahari signature from module
RoyStegeman Feb 29, 2024
a626d1b
cleanup some files
RoyStegeman Mar 1, 2024
5c65afe
fix docstring
RoyStegeman Mar 1, 2024
5cca29c
more review comments
scarlehoff Mar 1, 2024
4e510fc
first attempt
scarlehoff Feb 19, 2024
bbacdec
minimal working version
scarlehoff Feb 20, 2024
a929df0
Add jets and dijets
andreab1997 Feb 27, 2024
58228b3
Complete implementation of kin map of JETS and DIJETS
andreab1997 Feb 28, 2024
c5cbfeb
Add HQP_YQ, HQP_YQQ and HQP_PTQ
andreab1997 Feb 28, 2024
09d82da
add herajet and heradijet
scarlehoff Feb 29, 2024
1974192
fix to bcdms
scarlehoff Feb 29, 2024
5e0df7c
fix tevatron energy... it is not gevatron...
scarlehoff Feb 29, 2024
376ec47
updated filters and filters tests
scarlehoff Feb 29, 2024
7e6599a
3.9 compatibility
scarlehoff Feb 29, 2024
00be99a
Apply suggestions from code review
scarlehoff Mar 1, 2024
7b8ff6d
Update validphys2/src/validphys/pineparser.py
scarlehoff Mar 1, 2024
07cf9e1
Merge pull request #1949 from NNPDF/add_a_library_of_process_options
scarlehoff Mar 3, 2024
c95e3a6
Apply suggestions from code review
scarlehoff Mar 4, 2024
c49c8f1
more comments ; updated fitbot before merge
scarlehoff Mar 4, 2024
0ada415
clean up files
RoyStegeman Mar 4, 2024
13db094
place (GeV) outside of 40529 in kinlabels
RoyStegeman Mar 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions buildmaster/oldcommondata_porter.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_uncertainties(df, systype_file, is_default=False, use_multiplicative=
if info["treatment"] not in ["ADD", "MULT"]:
raise ValueError(f"Treatment type: {info['treatment']} not recognized")
if use_multiplicative:
tmp[key] = float(bin_data[2 * n+1]*data[idx-1]/100.0)
tmp[key] = float(bin_data[2 * n + 1] * data[idx - 1] / 100.0)
else:
tmp[key] = float(bin_data[2 * n])
bins.append(tmp)
Expand Down Expand Up @@ -340,16 +340,9 @@ def convert_from_old_to_new(dsname, new_info, overwrite=False, dry=False, keep_e
metadata = safe_load(metadata_path.read_text())
# Perform sanity checks
nnpdf_md = metadata["nnpdf_metadata"]
try:
assert nnpdf_md["experiment"] == plotting_dict["experiment"]
assert nnpdf_md["nnpdf31_process"] == plotting_dict["nnpdf31_process"]
assert metadata.get("setname") == set_name
except AssertionError:
print(traceback.format_exc())
# If this fails, inspect
import ipdb

ipdb.set_trace()
assert nnpdf_md["experiment"] == plotting_dict["experiment"]
assert nnpdf_md["nnpdf31_process"] == plotting_dict["nnpdf31_process"]
assert metadata.get("setname") == set_name
# Check whether the observable already exists
already_implemented = [i["observable_name"] for i in metadata["implemented_observables"]]
if obs_name in already_implemented:
Expand Down
5 changes: 1 addition & 4 deletions doc/sphinx/source/tutorials/closuretest.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,10 @@ the closure test settings modified as shown
between running a closure fit in ``n3fit`` and a standard fit is that the user is
required to run ``vp-setupfit`` on the runcard before running ``n3fit``. This is
because the filtering of the data is required to generate the pseudodata central
values. The filtered data should then be rebuilt before the fit, so there is no
risk of the fit crashing due to multiple replicas rebuilding the data
simultaneously. The workflow is as follows:
values. The workflow is as follows:

```bash
$ vp-setupfit fitname.yml
$ vp-rebuild-data fitname
$ n3fit fitname.yml <replica_number>
```

Expand Down
14 changes: 7 additions & 7 deletions extra_tests/regression_fits/central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -69,12 +69,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
12 changes: 6 additions & 6 deletions extra_tests/regression_fits/diagonal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}

############################################################
datacuts:
Expand Down Expand Up @@ -69,12 +69,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
12 changes: 6 additions & 6 deletions extra_tests/regression_fits/feature_scaling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -68,12 +68,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
10 changes: 5 additions & 5 deletions extra_tests/regression_fits/flavour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -67,12 +67,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
8 changes: 4 additions & 4 deletions extra_tests/regression_fits/no_lagrange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down
14 changes: 7 additions & 7 deletions extra_tests/regression_fits/no_msr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -70,12 +70,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
14 changes: 7 additions & 7 deletions extra_tests/regression_fits/no_sumrules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -70,12 +70,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
14 changes: 7 additions & 7 deletions extra_tests/regression_fits/no_vsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -70,12 +70,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
10 changes: 5 additions & 5 deletions extra_tests/regression_fits/normal_fit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: n3fit regression test, normal fit without initial weights
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}

############################################################
datacuts:
Expand Down Expand Up @@ -60,12 +60,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
14 changes: 7 additions & 7 deletions extra_tests/regression_fits/trainable_prepro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] }
- {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy}
- {dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy}
- {dataset: CMS_Z0_8TEV_PT-Y, frac: 0.5, cfac: [QCD], variant: legacy_10}
- {dataset: ATLAS_TTBAR_8TEV_TOT_X-SEC, frac: 1.0, cfac: [QCD], variant: legacy}

############################################################
datacuts:
Expand Down Expand Up @@ -69,12 +69,12 @@ fitting:
############################################################
positivity:
posdatasets:
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier
- { dataset: POSDYS, maxlambda: 1e5 }
- {dataset: NNPDF_POS_5GEV_F2U, maxlambda: 1e6}
- {dataset: NNPDF_POS_5GEV_DYS, maxlambda: 1e5}

integrability:
integdatasets:
- {dataset: INTEGXT8, maxlambda: 1e2}
- {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2}

############################################################
debug: true
Expand Down
12 changes: 6 additions & 6 deletions n3fit/src/n3fit/tests/regressions/hyper-quickcard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ description: n3fit regression test
# ewk: apply ewk k-factors
# sys: systematics treatment (see systypes)
dataset_inputs:
- { dataset: NMC, frac: 0.5 }
- { dataset: SLACP, frac: 0.5}
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 }
- { dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.5, variant: legacy }
- { dataset: SLAC_NC_NOTFIXED_P_EM-F2, frac: 0.5, variant: legacy }
- { dataset: CMS_WP_7TEV_ELECTRON_ASY, frac: 0.5}

############################################################
datacuts:
Expand Down Expand Up @@ -74,10 +74,10 @@ kfold:
threshold: 2.0
partitions:
- datasets:
- NMC
- NMC_NC_NOTFIXED_P_EM-SIGMARED
- datasets:
- SLACP
- CMSZDIFF12
- SLAC_NC_NOTFIXED_P_EM-F2
- CMS_WP_7TEV_ELECTRON_ASY

############################################################
genrep: False # on = generate MC replicas, False = use real data
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ packages = [
]
# Data files
include = [
# The profile is included together with the validphys package
# The default profile is included together with the validphys package
"validphys2/src/validphys/nnprofile_default.yaml",
# While commondata and theory.db are separated into the datafiles folder
# Same for commondata and theory.db
"validphys2/src/validphys/datafiles/commondata/*",
"validphys2/src/validphys/datafiles/theory.db",
# From the new commondata we are only interested on top-level yaml files
"validphys2/src/validphys/datafiles/new_commondata/*/*.yaml",
"validphys2/src/validphys/datafiles/new_commondata/dataset_names.yml",
# The version file is ignored by git so it needs to be explicitly included
"validphys2/src/validphys/_version.py"
]
Expand All @@ -51,7 +54,6 @@ vp-get = "validphys.scripts.vp_get:main"
vp-comparefits = "validphys.scripts.vp_comparefits:main"
vp-fitrename = "validphys.scripts.vp_fitrename:main"
vp-checktheory = "validphys.scripts.vp_checktheory:main"
vp-rebuild-data = "validphys.scripts.vp_rebuild_data:main"
vp-pdfrename = "validphys.scripts.vp_pdfrename:main"
vp-pdffromreplicas = "validphys.scripts.vp_pdffromreplicas:main"
vp-list = "validphys.scripts.vp_list:main"
Expand Down
Loading