QCD Library
threshold.hpp
Go to the documentation of this file.
1 
28 #pragma once
29 /* define decoupling thresholds */
30 
31 #include <set>
32 #include <initializer_list>
33 #include <limits>
34 #include <cmath>
35 
36 #include "scheme.hpp"
37 #include "masses.hpp"
38 
39 namespace QCD{
40 
42  struct threshold{
44  double mu;
46  double m;
49 
51  inline constexpr threshold()
52  : mu(0.), m(0.), dec_scheme(scheme::pole) {}
53 
55 
60  inline constexpr threshold(
61  double scale,
62  double mass,
63  scheme dec = scheme::pole
64  ): mu(scale), m(mass), dec_scheme(dec) {}
65  };
66 
68  static constexpr threshold charm_threshold{2*mc_OS, mc_OS};
70  static constexpr threshold bottom_threshold{mb_OS, mb_OS};
72  static constexpr threshold top_threshold{mt_OS, mt_OS};
73 
74  inline bool operator<(threshold const & a,threshold const & b){
75  return a.mu < b.mu;
76  }
77 
78 }
constexpr double mc_OS
charm quark mass
Definition: masses.hpp:33
scheme
Mass schemes.
Definition: scheme.hpp:36
constexpr double mb_OS
bottom quark mass
Definition: masses.hpp:35
scheme dec_scheme
Scheme of the quark mass.
Definition: threshold.hpp:48
Pole scheme.
Definition: scheme.hpp:39
Definition: alpha_s.hpp:35
constexpr double mt_OS
top quark mass
Definition: masses.hpp:37
double m
Mass of the quark to be decoupled.
Definition: threshold.hpp:46
Default values for on-shell heavy quark masses.
Definition of mass schemes.
double mu
Decoupling scale.
Definition: threshold.hpp:44
constexpr threshold(double scale, double mass, scheme dec=scheme::pole)
Construct a decoupling threshold.
Definition: threshold.hpp:60
constexpr threshold()
Threshold for a massless quark (no decoupling)
Definition: threshold.hpp:51
Threshold for the decoupling of a quark flavour.
Definition: threshold.hpp:42