forked from Expander/FlexibleSUSY
/
lowe.cpp
578 lines (496 loc) · 19.3 KB
/
lowe.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
// ====================================================================
// This file is part of FlexibleSUSY.
//
// FlexibleSUSY is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
// FlexibleSUSY is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with FlexibleSUSY. If not, see
// <http://www.gnu.org/licenses/>.
// ====================================================================
/** \file lowe.cpp
- Project: SOFTSUSY
- Author: Ben Allanach, Alexander Voigt
- Manual: hep-ph/0104145, Comp. Phys. Comm. 143 (2002) 305
- Webpage: http://hepforge.cedar.ac.uk/softsusy/
*/
#include "lowe.h"
#include "ew_input.hpp"
#include "error.hpp"
#include "wrappers.hpp"
#include <algorithm>
#include <cmath>
#include <iostream>
namespace softsusy {
namespace {
constexpr double sqr(double a) noexcept { return a*a; }
// Given a value of mt, and alphas(MZ), find alphas(mt) to 1 loops in qcd:
// it's a very good approximation at these scales, better than 10^-3 accuracy
double getAsmt(double mtop, double alphasMz, double mz) {
using std::log;
return alphasMz /
(1.0 - 23.0 * alphasMz / (6.0 * M_PI) * log(mz / mtop));
}
// Input pole mass of top and alphaS(mt), outputs running mass mt(mt)
// including one-loop standard model correction only
double getRunMt(double poleMt, double asmt) {
return poleMt / (1.0 + (4.0 / (3.0 * M_PI)) * asmt);
}
// Given pole mass and alphaS(MZ), returns running top mass -- one loop qcd
double getRunMtFromMz(double poleMt, double asMZ, double mz) {
return getRunMt(poleMt, getAsmt(poleMt, asMZ, mz));
}
} // anonymous namespace
const std::array<std::string, NUMBER_OF_LOW_ENERGY_INPUT_PARAMETERS> QedQcd_input_parmeter_names = {
"alpha_em_MSbar_at_MZ",
"alpha_s_MSbar_at_MZ",
"GFermi",
"MZ_pole", "MW_pole",
"Mv1_pole", "Mv2_pole", "Mv3_pole",
"Me_pole", "Mm_pole", "Mtau_pole",
"mu_2GeV", "ms_2GeV", "Mt_pole",
"md_2GeV", "mc_mc", "mb_mb",
"CKM_theta_12", "CKM_theta_13", "CKM_theta_23", "CKM_delta",
"PMNS_theta_12", "PMNS_theta_13", "PMNS_theta_23", "PMNS_delta", "PMNS_alpha_1", "PMNS_alpha_2"
};
Eigen::ArrayXd QedQcd::gaugeDerivs(double x, const Eigen::ArrayXd& y)
{
set_scale(std::exp(x));
setAlpha(ALPHA, y(0));
setAlpha(ALPHAS, y(1));
Eigen::ArrayXd dydx(2);
dydx(0) = qedBeta();
dydx(1) = qcdBeta();
return dydx;
}
// SM beta functions for the gauge couplings, neglecting Yukawa
// contributions, from arXiv:1208.3357 [hep-ph].
Eigen::ArrayXd QedQcd::smGaugeDerivs(double x, const Eigen::ArrayXd& y)
{
const double oneO4Pi = 1.0 / (4.0 * M_PI);
const double a1 = y(0);
const double a2 = y(1);
const double a3 = y(2);
const int nG = 3;
set_scale(std::exp(x));
Eigen::ArrayXd dydx(3);
dydx(0) = oneO4Pi * a1 * a1 * (0.2 + 8.0 * nG / 3.0 + oneO4Pi * (0.36 * a1
+ 1.8 * a2 + nG * (38.0 * a1 / 15.0 + 1.2 * a2 + 88.0 * a3 / 15.0)));
dydx(1) = oneO4Pi * a2 * a2 * (-43.0 / 3.0 + 8.0 * nG / 3.0 + oneO4Pi *
(0.6 * a1 - 259.0 * a2 / 3.0 + nG * (0.4 * a1 + 98.0 * a2 / 3.0 + 8.0
* a3)));
dydx(2) = oneO4Pi * a3 * a3 * (-22.0 + 8.0 * nG / 3.0 + oneO4Pi * (-204.0
* a3 + nG * (11.0 * a1 / 15.0 + 3.0 * a2 + 152.0 * a3 / 3.0)));
return dydx;
}
QedQcd::QedQcd()
: mbPole(flexiblesusy::Electroweak_constants::PMBOTTOM)
{
set_number_of_parameters(a.size() + mf.size());
mf(0) = flexiblesusy::Electroweak_constants::MUP;
mf(1) = flexiblesusy::Electroweak_constants::MCHARM;
mf(2) = getRunMtFromMz(flexiblesusy::Electroweak_constants::PMTOP,
flexiblesusy::Electroweak_constants::alpha3,
flexiblesusy::Electroweak_constants::MZ);
mf(3) = flexiblesusy::Electroweak_constants::MDOWN;
mf(4) = flexiblesusy::Electroweak_constants::MSTRANGE;
mf(5) = flexiblesusy::Electroweak_constants::MBOTTOM;
mf(6) = flexiblesusy::Electroweak_constants::MELECTRON;
mf(7) = flexiblesusy::Electroweak_constants::MMUON;
mf(8) = flexiblesusy::Electroweak_constants::MTAU;
a(0) = flexiblesusy::Electroweak_constants::aem;
a(1) = flexiblesusy::Electroweak_constants::alpha3;
input(alpha_em_MSbar_at_MZ) = flexiblesusy::Electroweak_constants::aem;
input(alpha_s_MSbar_at_MZ) = flexiblesusy::Electroweak_constants::alpha3;
input(Mt_pole) = flexiblesusy::Electroweak_constants::PMTOP;
input(mb_mb) = flexiblesusy::Electroweak_constants::MBOTTOM;
input(Mtau_pole) = flexiblesusy::Electroweak_constants::MTAU;
input(Mm_pole) = flexiblesusy::Electroweak_constants::MMUON;
input(Me_pole) = flexiblesusy::Electroweak_constants::MELECTRON;
input(MW_pole) = flexiblesusy::Electroweak_constants::MW;
input(MZ_pole) = flexiblesusy::Electroweak_constants::MZ;
input(GFermi) = flexiblesusy::Electroweak_constants::gfermi;
input(mc_mc) = flexiblesusy::Electroweak_constants::MCHARM;
input(mu_2GeV) = flexiblesusy::Electroweak_constants::MUP;
input(md_2GeV) = flexiblesusy::Electroweak_constants::MDOWN;
input(ms_2GeV) = flexiblesusy::Electroweak_constants::MSTRANGE;
set_scale(flexiblesusy::Electroweak_constants::MZ);
set_loops(3);
set_thresholds(1);
}
Eigen::ArrayXd QedQcd::get() const
{
Eigen::ArrayXd y(a.size() + mf.size());
y(0) = a(0);
y(1) = a(1);
for (int i = 0; i < mf.size(); i++)
y(i + 2) = mf(i);
return y;
}
void QedQcd::set(const Eigen::ArrayXd& y)
{
a(0) = y(0);
a(1) = y(1);
for (int i = 0; i < mf.size(); i++)
mf(i) = y(i + 2);
}
Eigen::ArrayXd QedQcd::beta() const
{
Eigen::ArrayXd dydx(a.size() + mf.size());
dydx(0) = qedBeta();
dydx(1) = qcdBeta();
const auto y = massBeta();
for (int i = 0; i < y.size(); i++)
dydx(i + 2) = y(i);
return dydx;
}
void QedQcd::runto_safe(double scale, double eps)
{
try {
run_to(scale, eps);
} catch (...) {
throw flexiblesusy::NonPerturbativeRunningQedQcdError(
"Non-perturbative running to Q = "
+ flexiblesusy::ToString(scale)
+ " during determination of the SM(5) parameters.");
}
}
// Active flavours at energy mu
int QedQcd::flavours(double mu) const {
int k = 0;
// if (mu > mf(mTop - 1)) k++;
if (mu > mf(mCharm - 1)) k++;
if (mu > mf(mUp - 1)) k++;
if (mu > mf(mDown - 1)) k++;
if (mu > mf(mBottom - 1)) k++;
if (mu > mf(mStrange - 1)) k++;
return k;
}
void QedQcd::setCKM(const flexiblesusy::CKM_parameters& ckm)
{
input(CKM_theta_12) = ckm.theta_12;
input(CKM_theta_13) = ckm.theta_13;
input(CKM_theta_23) = ckm.theta_23;
input(CKM_delta) = ckm.delta;
}
void QedQcd::setPMNS(const flexiblesusy::PMNS_parameters& pmns)
{
input(PMNS_theta_12) = pmns.theta_12;
input(PMNS_theta_13) = pmns.theta_13;
input(PMNS_theta_23) = pmns.theta_23;
input(PMNS_delta) = pmns.delta;
input(PMNS_alpha_1) = pmns.alpha_1;
input(PMNS_alpha_2) = pmns.alpha_2;
}
flexiblesusy::CKM_parameters QedQcd::displayCKM() const
{
flexiblesusy::CKM_parameters ckm;
ckm.theta_12 = input(CKM_theta_12);
ckm.theta_13 = input(CKM_theta_13);
ckm.theta_23 = input(CKM_theta_23);
ckm.delta = input(CKM_delta);
return ckm;
}
flexiblesusy::PMNS_parameters QedQcd::displayPMNS() const
{
flexiblesusy::PMNS_parameters pmns;
pmns.theta_12 = input(PMNS_theta_12);
pmns.theta_13 = input(PMNS_theta_13);
pmns.theta_23 = input(PMNS_theta_23);
pmns.delta = input(PMNS_delta);
pmns.alpha_1 = input(PMNS_alpha_1);
pmns.alpha_2 = input(PMNS_alpha_2);
return pmns;
}
std::ostream& operator<<(std::ostream &left, const QedQcd &m) {
left << "mU: " << m.displayMass(mUp)
<< " mC: " << m.displayMass(mCharm)
<< " mt: " << m.displayMass(mTop)
<< " mt^pole: " << m.displayPoleMt()
<< '\n';
left << "mD: " << m.displayMass(mDown)
<< " mS: " << m.displayMass(mStrange)
<< " mB: " << m.displayMass(mBottom)
<< " mb(mb): " << m.displayMbMb()
<< '\n';
left << "mE: " << m.displayMass(mElectron)
<< " mM: " << m.displayMass(mMuon)
<< " mT: " << m.displayMass(mTau)
<< " mb^pole: " << m.displayPoleMb()
<< '\n';
left << "aE: " << 1.0 / m.displayAlpha(ALPHA)
<< " aS: " << m.displayAlpha(ALPHAS)
<< " Q: " << m.get_scale()
<< " mT^pole: " << m.displayPoleMtau()
<< '\n';
left << "loops: " << m.get_loops()
<< " thresholds: " << m.get_thresholds() << '\n';
return left;
}
// returns qed beta function at energy mu < mtop
double QedQcd::qedBeta() const {
double x;
x = 24.0 / 9.0;
if (get_scale() > mf(mCharm - 1)) x += 8.0 / 9.0;
// if (get_scale() > mf(mTop - 1)) x += 8.0 / 9.0;
if (get_scale() > mf(mBottom - 1)) x += 2.0 / 9.0;
if (get_scale() > mf(mTau - 1)) x += 2.0 / 3.0;
if (get_scale() > displayPoleMW()) x += -7.0 / 2.0;
return (x * sqr(a(ALPHA - 1)) / M_PI);
}
// next routine calculates beta function to 3 loops in qcd for The Standard
// Model. Note that if quark masses are running, the number of active quarks
// will take this into account. Returns beta
double QedQcd::qcdBeta() const {
static const double INVPI = 1.0 / M_PI;
const int quarkFlavours = flavours(get_scale());
double qb0, qb1, qb2;
qb0 = (11.0e0 - (2.0e0 / 3.0e0 * quarkFlavours)) / 4.0;
qb1 = (102.0e0 - (38.0e0 * quarkFlavours) / 3.0e0) / 16.0;
qb2 = (2.857e3 * 0.5 - (5.033e3 * quarkFlavours) / 18.0 +
(3.25e2 * sqr(quarkFlavours) ) / 5.4e1) / 64;
double qa0 = 0., qa1 = 0., qa2 = 0.;
if (get_loops() > 0) qa0 = qb0 * INVPI;
if (get_loops() > 1) qa1 = qb1 * sqr(INVPI);
if (get_loops() > 2) qa2 = qb2 * sqr(INVPI) * INVPI;
// add contributions of the one, two and three loop constributions resp.
double beta;
beta = -2.0 * sqr(displayAlpha(ALPHAS)) *
(qa0 + qa1 * displayAlpha(ALPHAS) + qa2 *
sqr(displayAlpha(ALPHAS)));
return beta;
}
//(See comments for above function). returns a vector x(1..9) of fermion mass
//beta functions -- been checked!
Eigen::Array<double,9,1> QedQcd::massBeta() const {
static const double INVPI = 1.0 / M_PI, ZETA3 = 1.202056903159594;
// qcd bits: 1,2,3 loop resp.
double qg1 = 0., qg2 = 0., qg3 = 0.;
const int quarkFlavours = flavours(get_scale());
if (get_loops() > 0) qg1 = INVPI;
if (get_loops() > 1)
qg2 = (202.0 / 3.0 - (20.0e0 * quarkFlavours) / 9.0) * sqr(INVPI) / 16.0;
if (get_loops() > 2)
qg3 = (1.249e3 - ((2.216e3 * quarkFlavours) / 27.0e0 +
1.6e2 * ZETA3 * quarkFlavours / 3.0e0) -
140.0e0 * quarkFlavours * quarkFlavours / 81.0e0) * sqr(INVPI) *
INVPI / 64.0;
const double qcd = -2.0 * a(ALPHAS - 1) * (
qg1 + qg2 * a(ALPHAS - 1) + qg3 * sqr(a(ALPHAS - 1)));
const double qed = -a(ALPHA - 1) * INVPI / 2;
Eigen::Array<double,9,1> x(Eigen::Array<double,9,1>::Zero());
for (int i = 0; i < 3; i++) // up quarks
x(i) = (qcd + 4.0 * qed / 3.0) * mf(i);
for (int i = 3; i < 6; i++) // down quarks
x(i) = (qcd + qed / 3.0) * mf(i);
for (int i = 6; i < 9; i++) // leptons
x(i) = 3.0 * qed * mf(i);
// switch off relevant beta functions
if (get_thresholds() > 0)
for(int i = 0; i < x.size(); i++) {
if (get_scale() < mf(i))
x(i) = 0.0;
}
// nowadays, u,d,s masses defined at 2 GeV: don't run them below that
if (get_scale() < 2.0)
x(mUp - 1) = x(mDown - 1) = x(mStrange - 1) = 0.0;
return x;
}
void QedQcd::runGauge(double x1, double x2)
{
const double tol = 1.0e-5;
Eigen::ArrayXd y(displayAlphas());
flexiblesusy::Beta_function::Derivs derivs = [this] (double x, const Eigen::ArrayXd& y) {
return gaugeDerivs(x, y);
};
call_rk(x1, x2, y, derivs, tol);
setAlpha(ALPHA, y(0));
setAlpha(ALPHAS, y(1));
}
// Supposed to be done at mb(mb) -- MSbar, calculates pole mass
double QedQcd::extractPoleMb(double alphasMb)
{
if (get_scale() != displayMass(mBottom)) {
throw flexiblesusy::SetupError(
"QedQcd::extractPoleMb called at scale "
+ flexiblesusy::ToString(get_scale()) + " instead of mb(mb)");
}
// Following is the MSbar correction from QCD, hep-ph/9912391
double delta = 0.0;
if (get_loops() > 0) delta = delta + 4.0 / 3.0 * alphasMb / M_PI;
if (get_loops() > 1) delta = delta + sqr(alphasMb / M_PI) *
(9.2778 + (displayMass(mUp) + displayMass(mDown) + displayMass(mCharm) +
displayMass(mStrange)) / mbPole);
if (get_loops() > 2)
delta = delta + 94.4182 * alphasMb / M_PI * sqr(alphasMb / M_PI);
const double mbPole = displayMass(mBottom) * (1.0 + delta);
return mbPole;
}
// Takes QedQcd object created at MZ and spits it out at MZ
void QedQcd::toMz()
{
to(displayPoleMZ());
}
/**
* Calculates all running parameters in the SM w/o top quark at Q.
* This function can be called multiple times, leading to the same
* result (in contrast to toMz()).
*
* @param scale target renormalization scale
* @param precision_goal precision goal
* @param max_iterations maximum number of iterations
*/
void QedQcd::to(double scale, double precision_goal, int max_iterations) {
int it = 0;
bool converged = false;
auto qedqcd_old(get()), qedqcd_new(get());
const double running_precision = 0.1 * precision_goal;
while (!converged && it < max_iterations) {
// set alpha_i(MZ)
runto_safe(displayPoleMZ(), running_precision);
setAlpha(ALPHA, input(alpha_em_MSbar_at_MZ));
setAlpha(ALPHAS, input(alpha_s_MSbar_at_MZ));
// set mb(mb)
runto_safe(displayMbMb(), running_precision);
setMass(mBottom, displayMbMb());
setPoleMb(extractPoleMb(displayAlpha(ALPHAS)));
// set mc(mc)
runto_safe(displayMcMc(), running_precision);
setMass(mCharm, displayMcMc());
// set mu, md, ms at 2 GeV
runto_safe(2.0, running_precision);
setMass(mUp, displayMu2GeV());
setMass(mDown, displayMd2GeV());
setMass(mStrange, displayMs2GeV());
// set me, mm, ml at 2 GeV
setMass(mElectron, displayPoleMel());
setMass(mMuon, displayPoleMmuon());
setMass(mTau, displayPoleMtau());
// check convergence
runto_safe(scale, running_precision);
qedqcd_new = get();
converged = flexiblesusy::MaxRelDiff(qedqcd_old, qedqcd_new) < precision_goal;
qedqcd_old = qedqcd_new;
it++;
}
// set alpha_i(MZ) on last time
runto_safe(displayPoleMZ(), precision_goal);
setAlpha(ALPHA, input(alpha_em_MSbar_at_MZ));
setAlpha(ALPHAS, input(alpha_s_MSbar_at_MZ));
runto_safe(scale, precision_goal);
if (!converged && max_iterations > 0) {
std::string msg =
"Iteration to determine SM(5) parameters did not"
" converge after " + std::to_string(max_iterations) +
" iterations (precision goal: " + std::to_string(precision_goal)
+ ").";
throw flexiblesusy::NoConvergenceError(max_iterations, msg);
}
}
// This will calculate the three gauge couplings of the Standard Model at the
// scale m2.
// It's a simple one-loop calculation only and no
// thresholds are assumed. Range of validity is electroweak to top scale.
// alpha1 is in the GUT normalisation. sinth = sin^2 thetaW(Q) in MSbar
// scheme
Eigen::Array<double,3,1> QedQcd::getGaugeMu(double m2, double sinth) const {
using std::log;
static const double INVPI = 1.0 / M_PI;
Eigen::Array<double,3,1> temp(Eigen::Array<double,3,1>::Zero());
const double aem = displayAlpha(ALPHA), m1 = get_scale();
// Set alpha1,2 at scale m1 from data:
double a1 = 5.0 * aem / (3.0 * (1.0 - sinth));
double a2 = aem / sinth;
const double mtpole = displayPoleMt();
auto oneset = *this;
if (m1 < mtpole) {
// Renormalise a1,a2 to threshold scale assuming topless SM with one
// light Higgs doublet
const double thresh = std::min(m2, mtpole);
a1 = 1.0 / ( 1.0 / a1 + 4.0 * INVPI * 1.07e2 * log(m1 / thresh) / 2.4e2 );
a2 = 1.0 / ( 1.0 / a2 - 4.0 * INVPI * 2.50e1 * log(m1 / thresh) / 4.8e1 );
temp(0) = a1;
temp(1) = a2;
// calculate alphas(m2)
if (m2 >= 1.0) {
oneset.run_to(thresh);
} else {
oneset.run_to(1.0);
}
// Set alphas(m) to be what's already calculated.
temp(2) = oneset.displayAlpha(ALPHAS);
if (m2 > mtpole) {
if (get_thresholds() > 0) {
const double mtrun = oneset.displayMass(mTop);
const double alphas_5f = oneset.displayAlpha(ALPHAS);
const double alphas_sm = alphas_5f / (1.0 + INVPI * alphas_5f *
log(mtrun / mtpole) / 3.0);
oneset.setAlpha(ALPHAS, alphas_sm);
}
temp = oneset.runSMGauge(m2, temp);
}
} else {
// Above the top threshold use SM RGEs only
temp(0) = a1;
temp(1) = a2;
temp(2) = oneset.displayAlpha(ALPHAS);
temp = oneset.runSMGauge(m2, temp);
}
return temp;
}
// Given the values of the SM gauge couplings alpha_i, i = 1, 2, 3, at
// the current scale, run to the scale end using SM RGEs.
// Range of validity is for scales greater than or equal to the
// top quark pole mass.
Eigen::ArrayXd QedQcd::runSMGauge(double end, const Eigen::ArrayXd& alphas)
{
const double tol = 1.0e-5;
const double start = get_scale();
auto y = alphas;
auto qedqcd(*this);
flexiblesusy::Beta_function::Derivs derivs = [&qedqcd] (double x, const Eigen::ArrayXd& y) {
return qedqcd.smGaugeDerivs(x, y);
};
call_rk(start, end, y, derivs, tol);
return y;
}
std::array<std::string, NUMBER_OF_LOW_ENERGY_INPUT_PARAMETERS> QedQcd::display_input_parameter_names()
{
return QedQcd_input_parmeter_names;
}
bool operator ==(const QedQcd& a, const QedQcd& b)
{
const double eps = 1e-10;
return
std::fabs(a.get_scale() - b.get_scale()) < eps &&
std::fabs(a.get_loops() - b.get_loops()) < eps &&
std::fabs(a.get_thresholds() - b.get_thresholds()) < eps &&
std::fabs(a.displayAlpha(ALPHA) - b.displayAlpha(ALPHA)) < eps &&
std::fabs(a.displayAlpha(ALPHAS) - b.displayAlpha(ALPHAS)) < eps &&
std::fabs(a.displayMass(mUp) - b.displayMass(mUp)) < eps &&
std::fabs(a.displayMass(mCharm) - b.displayMass(mCharm)) < eps &&
std::fabs(a.displayMass(mTop) - b.displayMass(mTop)) < eps &&
std::fabs(a.displayMass(mDown) - b.displayMass(mDown)) < eps &&
std::fabs(a.displayMass(mStrange) - b.displayMass(mStrange)) < eps &&
std::fabs(a.displayMass(mBottom) - b.displayMass(mBottom)) < eps &&
std::fabs(a.displayMass(mElectron) - b.displayMass(mElectron)) < eps &&
std::fabs(a.displayMass(mMuon) - b.displayMass(mMuon)) < eps &&
std::fabs(a.displayMass(mTau) - b.displayMass(mTau)) < eps &&
std::fabs(a.displayNeutrinoPoleMass(1) - b.displayNeutrinoPoleMass(1)) < eps &&
std::fabs(a.displayNeutrinoPoleMass(2) - b.displayNeutrinoPoleMass(2)) < eps &&
std::fabs(a.displayNeutrinoPoleMass(3) - b.displayNeutrinoPoleMass(3)) < eps &&
std::fabs(a.displayPoleMt() - b.displayPoleMt()) < eps &&
std::fabs(a.displayPoleMb() - b.displayPoleMb()) < eps &&
std::fabs(a.displayPoleMtau() - b.displayPoleMtau()) < eps &&
std::fabs(a.displayPoleMW() - b.displayPoleMW()) < eps &&
std::fabs(a.displayPoleMZ() - b.displayPoleMZ()) < eps &&
std::fabs(a.displayFermiConstant() - b.displayFermiConstant()) < eps;
}
} // namespace softsusy