5std::unordered_map<WCoefId, scalar_t> k_identity_running_for_order(
6 const std::unordered_map<
QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
25 std::unordered_map<WCoefId, scalar_t> out;
26 out.reserve(members.size());
28 const auto order_it = coef_matching.find(order);
30 for (
const auto coef : members) {
34 if (order_it != coef_matching.end()) {
35 const auto coef_it = order_it->second.find(
id);
36 if (coef_it != order_it->second.end()) {
37 value = coef_it->second;
41 out.emplace(
id, value);
50 const std::unordered_map<
QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
54 return k_identity_running_for_order(coef_matching,
QCDOrder::LO);
58 const std::unordered_map<
QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
62 return k_identity_running_for_order(coef_matching,
QCDOrder::NLO);
66 const std::unordered_map<
QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
70 return k_identity_running_for_order(coef_matching,
QCDOrder::NNLO);
Lightweight view over a set of source blocks.
static IdOf< WCoefTag > to_id(WCoef e)
Converts an enum value to an IdOf<Tag>.
static std::unordered_map< WCoefId, scalar_t > base_1_NNLO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::unordered_map< WCoefId, scalar_t > base_1_NLO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::unordered_map< WCoefId, scalar_t > base_1_LO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::vector< WCoef > get_group(WGroup g)
Returns the list of Wilson coefficients belonging to a WGroup.