Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
PIChargedCurrentsWilsonGroup.cpp
Go to the documentation of this file.
2
3std::unordered_map<WCoefId, scalar_t> PIulnuCoefficientGroup::base_1_LO_calculation(
4 const std::unordered_map<QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
5 const BlockSrc&
6) {
8
9 std::unordered_map<WCoefId, scalar_t> Ci_run_map {};
10 for (size_t k = 0; k < ids.size(); k++) {
11 Ci_run_map[WCoefMapper::to_id(ids[k])] = coef_matching.at(QCDOrder::LO).at(WCoefMapper::to_id(ids[k]));
12 }
13
14 return Ci_run_map;
15}
16
20
21
22std::shared_ptr<CoefficientGroup> PIulnuCoefficientGroup::clone() const {
23 return std::make_shared<PIulnuCoefficientGroup>(*this);
24}
QCDOrder
Lightweight view over a set of source blocks.
Definition SourcesView.h:71
Polymorphic container of WilsonCoefficient objects representing a coefficient group.
static IdOf< WCoefTag > to_id(WCoef e)
Converts an enum value to an IdOf<Tag>.
std::shared_ptr< CoefficientGroup > clone() const override
Polymorphic clone.
PIulnuCoefficientGroup(WilsonGroupAdapterConfig adapters)
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.
Dependency injection bundle for CoefficientGroup.