15 std::vector<std::string> cols;
16 cols.reserve(coefs_.size() * 6);
18 std::vector<WCoefId> sorted(coefs_.begin(), coefs_.end());
20 return WCoefMapper::str(a) < WCoefMapper::str(b);
23 for (
auto coef : sorted) {
25 push_cols_for_coef(cols, name);
32 for (
auto coef : coefs_) {
49void WilsonCoeffExtractor::add_one(std::unordered_map<std::string, Value>& outY,
51 const std::string& name,
57 double val = wi_.
getM(grp, en, ord, ct);
58 outY[
wc_key(name, ord, ct)] = val;
61void WilsonCoeffExtractor::push_cols_for_coef(std::vector<std::string>& cols,
62 const std::string& name)
const
static std::string str(const IdOf< QCDOrderTag > &id)
Returns the string representation associated with an identifier.
static std::optional< WCoef > enum_of(const IdOf< WCoefTag > &id)
Attempts to recover the enum value associated with an identifier.
static std::string str(const IdOf< WCoefTag > &id)
Returns the string representation of an identifier.
static WGroup group_of(WCoef c)
Returns the WGroup to which a given Wilson coefficient belongs.
scalar_t getM(WGroupId group, WCoefId coeff, QCDOrder order, ContributionType cont_type)
Alias for getMatchingCoefficient(WGroupId,WCoefId,QCDOrder,ContributionType).
QCDOrder order
Perturbative QCD order used for the evolution and matching of Wilson coefficients....