Skip to content

Commit

Permalink
hard code QED matching to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Nov 8, 2023
1 parent 2cf291d commit 547911a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/eko/io/runcards.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ def new_theory(self):

new["xif"] = old["XIF"]
new["n3lo_ad_variation"] = old.get("n3lo_ad_variation", (0, 0, 0, 0))
# here PTO: 0 means truly LO
new["matching_order"] = old.get("PTO_matching", [old["PTO"], old["QED"]])
# here PTO: 0 means truly LO, no QED matching is available so far.
new["matching_order"] = old.get("PTO_matching", [old["PTO"], 0])

return TheoryCard.from_dict(new)

Expand Down
6 changes: 3 additions & 3 deletions src/eko/runner/parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def evolve_configs(eko: EKO) -> dict:
n_integration_cores=ocard.configs.n_integration_cores,
ModSV=ocard.configs.scvar_method,
n3lo_ad_variation=tcard.n3lo_ad_variation,
matching_order=tcard.matching_order
if tcard.matching_order is not None
else (tcard.order[0] - 1, tcard.order[1] - 1),
matching_order=tcard.matching_order if tcard.matching_order is not None
# Here order is shifted by one, no QED matching is available so far.
else (tcard.order[0] - 1, 0),
)


Expand Down
2 changes: 1 addition & 1 deletion tests/eko/runner/test_parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_evolve_configs(eko_factory):
e43 = eko_factory.get({})
assert e43.theory_card.order == (4, 3)
p43 = parts.evolve_configs(e43)
assert p43["matching_order"] == (3, 2)
assert p43["matching_order"] == (3, 0)
# QCD@N3LO + QED@N2LO w/ matching_order
eko_factory.theory.matching_order = (3, 0)
e43b = eko_factory.get({})
Expand Down

0 comments on commit 547911a

Please sign in to comment.