Skip to content
This repository was archived by the owner on Apr 12, 2018. It is now read-only.

Commit e9808b3

Browse files
committed
Remove workarounds that are not needed anymore
1 parent 741633c commit e9808b3

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

wetrunner/classes.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ def __init__(self, wc, parameters=None):
4646
if parameters is not None:
4747
self.parameters.update(parameters)
4848

49-
@staticmethod
50-
def _betas(f):
51-
"""QCD beta function for `f` dynamical quark flavours."""
52-
return (11*3 - 2*f)/3
53-
5449
def _get_running_parameters(self, scale, f):
5550
"""Get the running parameters (e.g. quark masses and the strong
5651
coupling at a given scale."""
@@ -82,13 +77,7 @@ def run(self, scale_out, sectors='all'):
8277
"""
8378
p_i = self._get_running_parameters(self.scale_in, self.f)
8479
p_o = self._get_running_parameters(scale_out, self.f)
85-
betas = self._betas(self.f)
8680
Etas = (p_i['alpha_s'] / p_o['alpha_s'])
87-
if self.f != 5: # for WET-4 and WET-3
88-
# to account for the fact that beta0 is hardcoded for f=5 in the
89-
# evolution matrices
90-
Etas = Etas**(self._betas(5) / self._betas(self.f))
91-
p_i['alpha_e'] = 0 # because QED evolution is not consistent yet
9281
C_out = OrderedDict()
9382
for sector in wcxf.EFT[self.eft].sectors:
9483
if sector in definitions.sectors:

0 commit comments

Comments
 (0)