-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reimplement ATLAS_Z0_7TEV_49FB_HIMASS #2178
Conversation
This pull request introduces a new filtering module for the ATLAS Z0 7 TeV high mass dataset, along with several supporting utility functions and updates to various data files. The most important changes include the addition of filtering functions, utility functions for data extraction, and updates to metadata and raw data files. New Filtering Module:
Utility Functions
Metadata and Data Files
Compatibility ChecksCovariance Matrix check:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! And great that the results are perfectly compatible!
Since the results don't change, you can set the data_central
key to your file (and remove the data_legacy_HIMASS.yml
file).
And the same for the uncertainties, you can set data_uncertainties: <your file>
.
The other changes required are to set the kinematic variables to the ones we want to use in plots and so (right now they are called k1, k2, k3
and I'm not even sure what they are, rapidity, scale and something else). This part is tricky (maybe @comane can help you) because maybe one of the variables now is Q^2
and what we want to plot is Q
or vice-versa.
Related to this, select one of the process from https://github.com/NNPDF/nnpdf/blob/master/validphys2/src/validphys/process_options.py
and set process_type
to that process (I guess DY_Z_Y
). This will tell you which variables you can use (e.g., if it is indeed DY_Z_Y, they are defined here
accepted_variables=(_Vars.y, _Vars.eta, _Vars.m_W2, _Vars.m_Z2, _Vars.sqrts), |
This way you can create the kinematic coverage plot plot_xq2
for this dataset.
You also need to set kinematics_override: identity
(the current value of that key has to do with some legacy code that will be removing soo-nish)
Btw, make sure to add the float prettifier to your filter file to avoid the x.000000001
numbers, see #2185 (comment)
import pandas as pd | ||
import numpy as np | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe some of the utilities in this file can either use utilities in https://github.com/NNPDF/nnpdf/tree/master/nnpdf_data/nnpdf_data/filter_utils (or, if not, be added there)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm listing here some of the missing items.
- Change the kinematic variable from k_i to their actual names
- The
kinematics_override
should be removed or set to the identity - The
process_type
must be change to one of the processes inaccepted_variables=(_Vars.y, _Vars.eta, _Vars.m_W2, _Vars.m_Z2, _Vars.sqrts), - Version comment, bump the version and remove the "Port of old commondata"
- The
data_uncertainties
enty should point to the new file. If the files are equal you can even remove the old one (and make the legacy point to the new one)
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/kinematics.yaml
Outdated
Show resolved
Hide resolved
…nd m_ll class, edited metadata
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml
Outdated
Show resolved
Hide resolved
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml
Outdated
Show resolved
Hide resolved
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml
Outdated
Show resolved
Hide resolved
Hi @ecole41 , here, beside the comment still unresolved, you need to either rebase on top of master or perhaps mege from master (resolving the conflicts). This will bring also the test that @Radonirinaunimi added for the commondata filters. |
Co-authored-by: Juan M. Cruz-Martinez <[email protected]>
Ok, I will try merging |
…PDF/nnpdf into reimplement_ATLAS_Z0_7TEV_49FB_HIMASS
I have merged using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the comment below the tests should pass (hopefully). Once the tests pass I think this can be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left just a final thing for the latex in the plot, other than that I think this is ready to go. Thanks!
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml
Outdated
Show resolved
Hide resolved
Just to mention that the the change of signs (as long as they are consistent, ie all |
This pull request introduces a new filtering module for the ATLAS Z0 7 TeV high mass dataset, along with several supporting utility functions and updates to various data files. The most important changes include the addition of filtering functions, utility functions for data extraction, and updates to metadata and raw data files.
Old vs New Data Comparison
https://vp.nnpdf.science/8EHbLXgpTTOQWrbIiQMXhg==/
New Filtering Module:
Utility Functions
Metadata and Data Files
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml :Updated metadata with new URLs and table references
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/rawdata/ATLAS-49fb-Zhighmass.csv : Added raw data file containing mass ranges and systematic uncertainties.
nnpdf_data/nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml : Added YAML file defining statistical and systematic uncertainties.
Compatibility Checks
Covariance Matrix check:
t0 Matrix Check: