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

Fix kinematic coverage for polarized DIS processes #2109

Merged
merged 41 commits into from
Aug 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8a5f4d2
fix kinematic coverage for polarized DIS
Radonirinaunimi Jun 7, 2024
5c84266
merge changes from master
Radonirinaunimi Jul 30, 2024
296b23b
fix xq2 maps for DIS datasets given in Q2 from cd
Radonirinaunimi Jul 31, 2024
0f2220b
start updating ds names in vp
RoyStegeman May 9, 2024
76fc11f
update dsnames test_print_systype_overlap
RoyStegeman May 10, 2024
9e6a7cc
Conversion of data set names in vp example runcards - firt attempt
enocera May 23, 2024
8cb955d
Changing names from old to new in vp tests - first attempt
enocera May 23, 2024
a44d8d7
Changed old commondata names to new ones in vp example runcards - alm…
enocera May 23, 2024
d540987
Updating names
enocera May 29, 2024
88f1d4e
update docs and last vp-tests to new commondata.
peterkrack Jun 4, 2024
42875c6
update dataset names.
peterkrack Jun 5, 2024
d5d17cb
Updated dataspecs test figure
enocera Jun 5, 2024
4e5bd8d
update tests
scarlehoff Jul 17, 2024
100e5dd
run black
scarlehoff Jul 17, 2024
6a09adc
update xq2 plot with newer versions of software
scarlehoff Jul 18, 2024
bb0c198
update author key in examples to Lazy Person
RoyStegeman Jul 29, 2024
958127e
allow for underscore in the name of the theory files
RoyStegeman May 31, 2024
9b35561
quickfix
RoyStegeman May 31, 2024
81095b6
raise error if two different theoryfiles have the same ID
RoyStegeman Jul 30, 2024
da26adb
correclty read theoryfile
RoyStegeman Jul 30, 2024
ae7a644
propagate that theoryid is now (correctly) stored as in instead of st…
RoyStegeman Jul 30, 2024
db36a25
raise TheoryNotFoundInDatabase error if theory not found
RoyStegeman Jul 30, 2024
9f84a80
no longer the need to check if theorycard exists
RoyStegeman Jul 30, 2024
cc9bae4
use get_available_theory_cards in fetch_all
RoyStegeman Jul 31, 2024
b5641f9
Update nnpdf_data/nnpdf_data/theorydbutils.py
RoyStegeman Jul 31, 2024
3d91017
Merge branch 'master' into polarized-kin-coverage
Radonirinaunimi Aug 1, 2024
45c2b6d
(kinematics_override) update for all pDIS datasets
Radonirinaunimi Aug 1, 2024
3bbf65a
Merge branch 'master' into polarized-kin-coverage
Radonirinaunimi Aug 3, 2024
d8819bb
Merge branch 'master' into polarized-kin-coverage
giacomomagni Aug 8, 2024
3da948d
make kin plot working
giacomomagni Aug 8, 2024
e4b7acb
minor on example runcards
giacomomagni Aug 9, 2024
06db080
other minor on example runcards
giacomomagni Aug 9, 2024
a3557cc
fix unconventional names
scarlehoff Aug 9, 2024
a6c0afb
add missing legacy for ATLAS_WJ
scarlehoff Aug 9, 2024
23a76be
Merge pull request #2142 from NNPDF/fix_dasets_names1
scarlehoff Aug 9, 2024
697470c
restore cm_energy as before
giacomomagni Aug 12, 2024
9e34271
Update validphys2/src/validphys/process_options.py
giacomomagni Aug 12, 2024
0d680d0
Update validphys2/src/validphys/process_options.py
giacomomagni Aug 12, 2024
5e5208f
replace dis_q2_scale with identity
giacomomagni Aug 12, 2024
24569f0
fix E155 metadata
giacomomagni Aug 12, 2024
5defe5d
Merge branch 'master' into polarized-kin-coverage
scarlehoff Aug 16, 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
21 changes: 15 additions & 6 deletions validphys2/src/validphys/process_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def _dis_xq2map(kin_info):
"""In the old style commondata, the variables in the dataframe were ``x, Q2, y``
but due to the transformations that happen inside validphys they become ``x, Q, y``
"""
x = kin_info["k1"]
q = kin_info["k2"]
x = kin_info.get_one_of("k1", _Vars.x)
q = kin_info.get_one_of("k2", _Vars.Q2) # this is really Q not Q2
giacomomagni marked this conversation as resolved.
Show resolved Hide resolved
return x, q * q


Expand Down Expand Up @@ -180,7 +180,7 @@ def _hqp_ptq_xq2map(kin_info):
def _hqp_mqq_xq2map(kin_info):
# Compute x, Q2
#
# Theory predictions computed with HT/4 ~ m_ttbar/4
# Theory predictions computed with HT/4 ~ m_ttbar/4
Q = kin_info[_Vars.m_ttBar] / 4
return Q / kin_info[_Vars.sqrts], Q * Q

Expand Down Expand Up @@ -258,7 +258,14 @@ def _dybosonpt_xq2map(kin_dict):
HQP_YQ = _Process(
"HQP_YQ",
"(absolute) rapidity of top quark in top pair production",
accepted_variables=(_Vars.y_t, _Vars.y_ttBar, _Vars.m_t2, _Vars.sqrts, _Vars.m_ttBar, _Vars.pT_t),
accepted_variables=(
_Vars.y_t,
_Vars.y_ttBar,
_Vars.m_t2,
_Vars.sqrts,
_Vars.m_ttBar,
_Vars.pT_t,
),
xq2map_function=_hqp_yq_xq2map,
)

Expand Down Expand Up @@ -323,8 +330,10 @@ def _dybosonpt_xq2map(kin_dict):
"HERAJET": HERAJET,
"HERADIJET": dataclasses.replace(HERAJET, name="HERADIJET", description="DIS + jj production"),
"DY_Z_Y": dataclasses.replace(DY_2L, name="DY_Z_Y", description="DY Z -> ll (pseudo)rapidity"),
"DY_W_ETA": dataclasses.replace(DY_2L, name="DY_W_ETA", description="DY W -> l nu (pseudo)rapidity"),
"DY_NC_PT": dataclasses.replace(DY_PT, name="DY_NC_PT", description="DY Z (ll) + j")
"DY_W_ETA": dataclasses.replace(
DY_2L, name="DY_W_ETA", description="DY W -> l nu (pseudo)rapidity"
),
"DY_NC_PT": dataclasses.replace(DY_PT, name="DY_NC_PT", description="DY Z (ll) + j"),
}


Expand Down
Loading