Skip to content

Commit

Permalink
intorduce PTO_match
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Sep 20, 2023
1 parent 4680124 commit e8a0079
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions extras/lh_bench_23/cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
),
xif=1.0,
n3lo_ad_variation=(0, 0, 0, 0),
matching_order=[2, 0],
)


Expand Down
2 changes: 2 additions & 0 deletions src/eko/evolution_operator/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(
intrinsic_flavors: list,
xif: float,
n3lo_ad_variation: tuple,
matching_order: Order,
configs: Configs,
debug: Debug,
atlas: Atlas,
Expand Down Expand Up @@ -81,6 +82,7 @@ def __init__(
config["debug_skip_non_singlet"] = debug.skip_non_singlet
config["polarized"] = configs.polarized
config["time_like"] = configs.time_like
config["matching_order"] = matching_order

if order == (1, 0) and method != "iterate-exact":
logger.warning("Evolution: In LO we use the exact solution always!")
Expand Down
2 changes: 1 addition & 1 deletion src/eko/evolution_operator/operator_matrix_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(self, config, managers, nf, q2, is_backward, L, is_msbar):
self.L = L
self.is_msbar = is_msbar
# Note for the moment only QCD matching is implemented
self.order = (self.order[0] - 1, self.order[1])
self.order = tuple(config["matching_order"])

@property
def labels(self):
Expand Down
4 changes: 4 additions & 0 deletions src/eko/io/runcards.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class TheoryCard(DictLike):
"""Ratio between factorization scale and process scale."""
n3lo_ad_variation: N3LOAdVariation
"""|N3LO| anomalous dimension variation: ``(gg_var, gq_var, qg_var, qq_var)``."""
matching_order: Order
"""Matching conditions perturbative order tuple, ``(QCD, QED)``."""


@dataclass
Expand Down Expand Up @@ -210,6 +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"]])

return TheoryCard.from_dict(new)

Expand Down
1 change: 1 addition & 0 deletions src/eko/runner/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def __init__(
couplings=cs,
interpol_dispatcher=bfd,
n3lo_ad_variation=new_theory.n3lo_ad_variation,
matching_order=new_theory.matching_order,
)

with EKO.create(path) as builder:
Expand Down
1 change: 1 addition & 0 deletions src/eko/runner/parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ 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,
)


Expand Down
1 change: 1 addition & 0 deletions src/ekobox/cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
),
xif=1.0,
n3lo_ad_variation=(0, 0, 0, 0),
matching_order=[0, 0],
)

_operator = dict(
Expand Down

0 comments on commit e8a0079

Please sign in to comment.