Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
Configs.h
Go to the documentation of this file.
1#ifndef CONFIGS_H
2#define CONFIGS_H
3
4#include "Include.h"
5
6#include <utility>
7
36 std::unordered_set<WGroupId> groups;
37
43
49
55
62 WilsonBuildConfig() = default;
63
73 std::unordered_set<WGroupId> groups_,
74 double matching_scale_,
75 double hadronic_scale_,
76 QCDOrder order_ = QCDOrder::LO
77 ) :
78 groups(std::move(groups_)),
79 matching_scale(matching_scale_),
80 hadronic_scale(hadronic_scale_),
81 order(order_) {}
82
95 std::unordered_set<WGroup> groups_,
96 double matching_scale_,
97 double hadronic_scale_,
98 QCDOrder order_ = QCDOrder::LO
99 ) :
100 matching_scale(matching_scale_),
101 hadronic_scale(hadronic_scale_),
102 order(order_) { for (auto group : groups_) { groups.insert(GroupMapper::to_id(group));}}
103};
104
197
231
258
259#endif // CONFIGS_H
QCDOrder
ScaleType
ContributionType
MassType
WCoef
WGroup
Mapper for WGroup <-> WGroupId <-> optional external string.
Returns an uppercase copy of the input string.
High-level mapper for WCoef <-> text <-> FLHA base indices.
Definition wcoef_ids.hpp:57
Hash specialization for SymbolId<Tag>.
Definition BlockName.h:353
Polymorphic base class for configuration types.
Configuration for evaluating the strong coupling constant .
Definition Configs.h:206
AlphasConfig(double scale, MassType m_b_type, MassType m_t_type)
Constructs an AlphasConfig with the given parameters.
Definition Configs.h:229
MassType m_b_type
Mass scheme used for the bottom-quark mass (e.g. pole, MSbar).
Definition Configs.h:215
MassType m_t_type
Mass scheme used for the top-quark mass (e.g. pole, MSbar).
Definition Configs.h:220
double scale
Renormalization scale at which is evaluated.
Definition Configs.h:210
Configuration for computing a particle mass at a given scale.
Definition Configs.h:242
MassConfig(int pdg_id, double scale, MassType m_b_type, MassType m_t_type)
Constructs a MassConfig with the given parameters.
Definition Configs.h:256
int pdg_id
PDG identifier of the particle whose mass is requested.
Definition Configs.h:246
Configuration for building sets of Wilson coefficients.
Definition Configs.h:32
std::unordered_set< WGroupId > groups
Set of Wilson operator group identifiers to be included in the build.
Definition Configs.h:36
WilsonBuildConfig(std::unordered_set< WGroup > groups_, double matching_scale_, double hadronic_scale_, QCDOrder order_=QCDOrder::LO)
Constructs a WilsonBuildConfig from a set of group enums.
Definition Configs.h:94
double hadronic_scale
Hadronic scale (in GeV) at which the Wilson coefficients are evaluated in the effective theory.
Definition Configs.h:48
QCDOrder order
Perturbative QCD order used for the evolution and matching of Wilson coefficients....
Definition Configs.h:54
double matching_scale
Matching scale (in GeV) at which the high-energy theory is matched to the effective theory.
Definition Configs.h:42
WilsonBuildConfig()=default
Default constructor.
WilsonBuildConfig(std::unordered_set< WGroupId > groups_, double matching_scale_, double hadronic_scale_, QCDOrder order_=QCDOrder::LO)
Constructs a WilsonBuildConfig from a set of group identifiers.
Definition Configs.h:72
Dynamic configuration for requesting a specific Wilson coefficient.
Definition Configs.h:122
WGroupId group
Wilson operator group identifier associated with the request.
Definition Configs.h:129
ContributionType contribution
Type of contribution requested, e.g. SM, BSM or TOTAL.
Definition Configs.h:147
std::optional< WilsonBasis > basis
Optional Wilson basis used for hadronic-scale coefficients.
Definition Configs.h:162
WilsonRequest(WGroup group, WCoef coefficient, QCDOrder order, ContributionType contribution, ScaleType scale_type, bool sum_qcd_orders)
Backward-compatible constructor from builtin enums.
Definition Configs.h:192
WilsonRequest(WGroupId group, WCoefId coefficient, QCDOrder order, ContributionType contribution, ScaleType scale_type, bool sum_qcd_orders)
Constructs a WilsonRequest from dynamic identifiers.
Definition Configs.h:177
QCDOrder order
Perturbative QCD order at which the coefficient is evaluated.
Definition Configs.h:142
bool sum_qcd_orders
If true, contributions from different QCD orders are summed up to order.
Definition Configs.h:157
WCoefId coefficient
Wilson coefficient identifier associated with the request.
Definition Configs.h:137
ScaleType scale_type
Scale at which the Wilson coefficient is evaluated.
Definition Configs.h:152