-
Notifications
You must be signed in to change notification settings - Fork 13
New ht thcovmat #2126
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
Open
achiefa
wants to merge
69
commits into
master
Choose a base branch
from
new_ht_thcovmat
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
New ht thcovmat #2126
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
e519636
Implementing check for repeated added rules.
achiefa d7bb1af
Implementing uniqueness parsing logic for filter rules.
achiefa 61f6cb4
Update error message
achiefa 7d9e969
Copied fro branch 'HT_thcovmat'
achiefa 356cddc
Removed version
achiefa 4bab1da
Saving progress - not ready
achiefa 56d60cf
Implemented d/p ratio
achiefa c58758a
Parsing 'separate_multiplicative' in vp_setupfit
achiefa e4d9e60
Minor adjustments
achiefa f11b466
Corrected bug
achiefa ad050da
Correcting bug
achiefa be18a4b
Implemented knots in runcard
achiefa c6a1f4e
Added valiphys card for chi2 report
achiefa e0c21cc
First implementation of HT at the level of theory predictions
achiefa 6fe1974
Implemented table for kinematics
achiefa bc58ac6
Allowed theory HT in runcard - added HERACOMB in HT calculations
achiefa 754a916
Excluded HERACOMB
achiefa 525d239
Hacking NMC dataset
achiefa ab292f4
Grouping kinematics
achiefa 576bad1
Reimplementing thcovmat
achiefa 8b9de4b
Added comment in HT for DIS
achiefa e403c61
Corrected normalisation for SIGMARED DIS NC data sets
achiefa 5040fb0
Removing unused code
achiefa 6c04f5f
Added HT for F2C data (EMC) - removed deprecated function
achiefa 054a492
Corrected EMC data iron target
achiefa 4a6986b
Removed deprecated code
achiefa 94e2fe1
Refactoring + DIS CC
achiefa 5382633
Corrected bug - ready for cc test
achiefa 43225ad
Corrected bug - ready
achiefa 6ca745c
Removing unnecessary code
achiefa 610d765
Corrected bug after rebase
achiefa 2dc457c
Add normalisation in CC x-secs
achiefa 1400eb4
Correct normalisation
achiefa 2530ae6
Restore n3fit files from master
achiefa 4404032
remove _PB suffix from process type
RoyStegeman 037d5b3
format a bit
RoyStegeman 2570a1a
Update for new thcovmat construction + refactor + docstrings
achiefa ba65cc6
Correct typo + example runcard
achiefa 91af93c
Correct bug
achiefa 8d43f0d
Correct nuclear factors for nuclear targets
achiefa a622417
First implementation of jet data
achiefa 8665ec7
Change pc jet dependence from pT to eta
achiefa 39e68e4
Allowing step-function for the prior
achiefa 4729dce
Vectorize step_function + docstring
achiefa a230495
Correct bug in step function
achiefa c61d3f5
Correct bug in step function
achiefa 2e6a29e
Produce covs_pt_prescrip
achiefa 7f32963
Allow different funcs for posterior
achiefa 0edb275
Adjusting linear triangular function
achiefa 34fd363
Correct bug in linear function
achiefa 049baa3
Implement multiplicative PC for jet
achiefa 24204a5
Correct docstring
achiefa 26e1e41
Remove unused vp runcard
achiefa 85188cb
Dijet + clean-up + checks for pc dict
achiefa f28807b
Remove translation layer for pc parameters
achiefa 43c1666
Remove copy of the same collection procs_data -> groups_data_by_proce…
achiefa b805509
Remove unused collect
achiefa fbf60e3
Update basic runcard
achiefa b061166
Allow generation of L1 data
achiefa 65d8588
Jets with single parameters
achiefa 8490ccb
Adjust format
achiefa 77b8cce
Restoring nodes for jets and dijets
achiefa caa8125
Implementation of multiplicative shifts
achiefa aef98bc
Less functions for PCs
achiefa cf277ef
Combined di-jet
achiefa b8d380c
Correct combined di-jet
achiefa 8d7aaf5
Remove func_type dependence - default is linear interpolation
achiefa 7e6a97c
Allow multiplicative factor for user covmat
achiefa 52997f3
Remove debug trace
achiefa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,151 @@ | ||
| # | ||
| # Configuration file for n3fit | ||
| # | ||
| ###################################################################################### | ||
| description: NNPDF4.0 ht with TCM - DIS (NC & CC) only | ||
|
|
||
| ###################################################################################### | ||
| dataset_inputs: | ||
| - {dataset: NMC_NC_NOTFIXED_EM-F2, frac: 0.75, variant: legacy_dw} | ||
| - {dataset: NMC_NC_NOTFIXED_P_EM-SIGMARED, frac: 0.75, variant: legacy} | ||
| - {dataset: SLAC_NC_NOTFIXED_D_EM-F2, frac: 0.75, variant: legacy_dw} | ||
| - {dataset: BCDMS_NC_NOTFIXED_P_EM-F2, frac: 0.75, variant: legacy_dw} | ||
| - {dataset: CHORUS_CC_NOTFIXED_PB_NU-SIGMARED, frac: 0.75, variant: legacy_dw} | ||
| - {dataset: NUTEV_CC_NOTFIXED_FE_NB-SIGMARED, cfac: [MAS], frac: 0.75, variant: legacy_dw} | ||
| - {dataset: HERA_CC_318GEV_EP-SIGMARED, frac: 0.75, variant: legacy} | ||
| - {dataset: HERA_NC_318GEV_EAVG_CHARM-SIGMARED, frac: 0.75, variant: legacy} | ||
| - {dataset: HERA_NC_318GEV_EAVG_BOTTOM-SIGMARED, frac: 0.75, variant: legacy} | ||
| - {dataset: DYE866_Z0_800GEV_DW_RATIO_PDXSECRATIO, frac: 0.75, variant: legacy} | ||
| - {dataset: CDF_Z0_1P96TEV_ZRAP, frac: 0.75, variant: legacy} | ||
| - {dataset: ATLAS_Z0J_8TEV_PT-Y, frac: 0.75, variant: legacy_10} | ||
| - {dataset: ATLAS_1JET_8TEV_R06_PTY, frac: 0.75, variant: legacy_decorrelated} | ||
| - {dataset: ATLAS_2JET_7TEV_R06_M12Y, frac: 0.75, variant: legacy} | ||
| - {dataset: CMS_2JET_7TEV_M12Y, frac: 0.75} | ||
| - {dataset: CMS_1JET_8TEV_PTY, frac: 0.75, variant: legacy} | ||
| - {dataset: LHCB_Z0_13TEV_DIELECTRON-Y, frac: 0.75} | ||
|
|
||
| ################################################################################ | ||
| datacuts: | ||
| t0pdfset: 240701-02-rs-nnpdf40-baseline | ||
| q2min: 2.5 | ||
| w2min: 3.24 | ||
|
|
||
| ################################################################################ | ||
| # NNLO QCD TRN evolution | ||
| theory: | ||
| theoryid: 708 | ||
|
|
||
| theorycovmatconfig: | ||
| point_prescriptions: ["9 point", "power corrections"] | ||
| pc_parameters: | ||
| H2p: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| H2d: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| HLp: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| HLd: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| H3p: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| H3d: {yshift: [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.0], nodes: [0.0, 0.001, 0.01, 0.1, 0.3, 0.5, 0.7, 0.9, 1]} | ||
| Hj: {yshift: [2.0, 2.0, 2.0, 2.0, 2.0, 2.0], nodes: [0.25, 0.75, 1.25, 1.75, 2.25, 2.75]} | ||
| H2j_ATLAS: {yshift: [2.0, 2.0, 2.0, 2.0, 2.0, 2.0], nodes: [0.25, 0.75, 1.25, 1.75, 2.25, 2.75]} | ||
| H2j_CMS: {yshift: [2.0, 2.0, 2.0, 2.0, 2.0], nodes: [0.25, 0.75, 1.25, 1.75, 2.25]} | ||
| pc_included_procs: ["JETS", "DIJET", "DIS NC", "DIS CC"] | ||
| pc_excluded_exps: [HERA_NC_318GEV_EAVG_CHARM-SIGMARED, | ||
| HERA_NC_318GEV_EAVG_BOTTOM-SIGMARED,] | ||
| pdf: 210619-n3fit-001 | ||
| use_thcovmat_in_fitting: true | ||
| use_thcovmat_in_sampling: true | ||
| resample_negative_pseudodata: false | ||
|
|
||
| # For fits <= 4.0 multiplicative and additive uncertainties were sampled separately | ||
| # and thus the flag `separate_multiplicative` needs to be set to True | ||
| # sampling: | ||
| # separate_multiplicative: True | ||
|
|
||
| ################################################################################ | ||
| trvlseed: 591866982 | ||
| nnseed: 945709987 | ||
| mcseed: 519562661 | ||
| genrep: true | ||
|
|
||
| ################################################################################ | ||
| parameters: # This defines the parameter dictionary that is passed to the Model Trainer | ||
| nodes_per_layer: [25, 20, 8] | ||
| activation_per_layer: [tanh, tanh, linear] | ||
| initializer: glorot_normal | ||
| optimizer: | ||
| clipnorm: 6.073e-6 | ||
| learning_rate: 2.621e-3 | ||
| optimizer_name: Nadam | ||
| epochs: 3000 | ||
| positivity: | ||
| initial: 184.8 | ||
| multiplier: | ||
| integrability: | ||
| initial: 10 | ||
| multiplier: | ||
| stopping_patience: 0.1 | ||
| layer_type: dense | ||
| dropout: 0.0 | ||
| threshold_chi2: 3.5 | ||
|
|
||
| fitting: | ||
| fitbasis: EVOL | ||
| savepseudodata: True | ||
| basis: | ||
| - {fl: sng, trainable: false, smallx: [1.089, 1.119], largex: [1.475, 3.119]} | ||
| - {fl: g, trainable: false, smallx: [0.7504, 1.098], largex: [2.814, 5.669]} | ||
| - {fl: v, trainable: false, smallx: [0.479, 0.7384], largex: [1.549, 3.532]} | ||
| - {fl: v3, trainable: false, smallx: [0.1073, 0.4397], largex: [1.733, 3.458]} | ||
| - {fl: v8, trainable: false, smallx: [0.5507, 0.7837], largex: [1.516, 3.356]} | ||
| - {fl: t3, trainable: false, smallx: [-0.4506, 0.9305], largex: [1.745, 3.424]} | ||
| - {fl: t8, trainable: false, smallx: [0.5877, 0.8687], largex: [1.522, 3.515]} | ||
| - {fl: t15, trainable: false, smallx: [1.089, 1.141], largex: [1.492, 3.222]} | ||
|
|
||
| ################################################################################ | ||
| positivity: | ||
| posdatasets: | ||
| # Positivity Lagrange Multiplier | ||
| - {dataset: NNPDF_POS_2P24GEV_F2U, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_F2D, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_F2S, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_FLL, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_DYU, maxlambda: 1e10} | ||
| - {dataset: NNPDF_POS_2P24GEV_DYD, maxlambda: 1e10} | ||
| - {dataset: NNPDF_POS_2P24GEV_DYS, maxlambda: 1e10} | ||
| - {dataset: NNPDF_POS_2P24GEV_F2C, maxlambda: 1e6} | ||
| # Positivity of MSbar PDFs | ||
| - {dataset: NNPDF_POS_2P24GEV_XUQ, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XUB, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XDQ, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XDB, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XSQ, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XSB, maxlambda: 1e6} | ||
| - {dataset: NNPDF_POS_2P24GEV_XGL, maxlambda: 1e6} | ||
|
|
||
| added_filter_rules: | ||
| - dataset: NNPDF_POS_2P24GEV_FLL | ||
| rule: "x > 5.0e-7" | ||
| - dataset: NNPDF_POS_2P24GEV_F2C | ||
| rule: "x < 0.74" | ||
| - dataset: NNPDF_POS_2P24GEV_XGL | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XUQ | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XUB | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XDQ | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XDB | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XSQ | ||
| rule: "x > 0.1" | ||
| - dataset: NNPDF_POS_2P24GEV_XSB | ||
| rule: "x > 0.1" | ||
|
|
||
| integrability: | ||
| integdatasets: | ||
| - {dataset: NNPDF_INTEG_3GEV_XT8, maxlambda: 1e2} | ||
| - {dataset: NNPDF_INTEG_3GEV_XT3, maxlambda: 1e2} | ||
|
|
||
| ################################################################################ | ||
| debug: false | ||
| maxcores: 8 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.