Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ChargedCurrentsWilsonGroup.cpp
Go to the documentation of this file.
2
3std::unordered_map<WCoefId, scalar_t> BclnuCoefficientGroup::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 return Ci_run_map;
14}
15
19
20
21std::shared_ptr<CoefficientGroup> BclnuCoefficientGroup::clone() const {
22 return std::make_shared<BclnuCoefficientGroup>(*this);
23}
24
25
26std::unordered_map<WCoefId, scalar_t> BulnuCoefficientGroup::base_1_LO_calculation(
27 const std::unordered_map<QCDOrder, std::unordered_map<WCoefId, scalar_t>>& coef_matching,
28 const BlockSrc&
29) {
31
32 std::unordered_map<WCoefId, scalar_t> Ci_run_map {};
33 for (size_t k = 0; k < ids.size(); k++) {
34 Ci_run_map[WCoefMapper::to_id(ids[k])] = coef_matching.at(QCDOrder::LO).at(WCoefMapper::to_id(ids[k]));
35 }
36
37 return Ci_run_map;
38}
39
43
44
45std::shared_ptr<CoefficientGroup> BulnuCoefficientGroup::clone() const {
46 return std::make_shared<BulnuCoefficientGroup>(*this);
47}
QCDOrder
std::shared_ptr< CoefficientGroup > clone() const override
Polymorphic clone.
BclnuCoefficientGroup(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)
Lightweight view over a set of source blocks.
Definition SourcesView.h:71
std::shared_ptr< CoefficientGroup > clone() const override
Polymorphic clone.
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)
BulnuCoefficientGroup(WilsonGroupAdapterConfig adapters)
Polymorphic container of WilsonCoefficient objects representing a coefficient group.
static IdOf< WCoefTag > to_id(WCoef e)
Converts an enum value to an IdOf<Tag>.
static std::vector< WCoef > get_group(WGroup g)
Returns the list of Wilson coefficients belonging to a WGroup.
Dependency injection bundle for CoefficientGroup.