6 LOG_ERROR(
"NullPointerError",
"(WilsonProvider) CoefficientManager is null.");
9 if (cm->getGroups().empty()) {
10 LOG_DEBUG(
"(WilsonProvider) CoefficientManager does not contain any coefficient groups.");
22 cm->getFullMatchingCoefficient(
27 cm->getMatchingCoefficient(
34 cm->getFullRunCoefficient(
40 cm->getRunCoefficient(
47 LOG_ERROR(
"Invalid argument",
"(WilsonProvider) Invalid scale type.");
56 return this->cm->getGroupBases(group);
#define LOG_ERROR(type,...)
Macro for logging error messages and terminating the application.
#define LOG_DEBUG(...)
Macro for logging debug messages.
static std::string str(const IdOf< QCDOrderTag > &id)
Returns the string representation associated with an identifier.
static std::string str(const IdOf< WCoefTag > &id)
Returns the string representation of an identifier.
static std::string str(const WGroupId &gid, ScaleType s, WilsonBasis b=WilsonBasis::B_STANDARD)
Builds a composite block name using a WGroupId, scale and basis.
Returns an uppercase copy of the input string.
std::unordered_set< WilsonBasis > get_bases(WGroupId group) override
Returns the set of bases supported by a Wilson group.
std::shared_ptr< WilsonBuilder > get_builder() override
Returns the underlying builder.
scalar_t get(std::shared_ptr< AbstractConfig > config) override
Returns the requested Wilson coefficient as scalar_t (complex).
WilsonProvider(std::shared_ptr< WilsonBuilder > builder)
Constructs a provider from an existing builder.
Dynamic configuration for requesting a specific Wilson coefficient.
WGroupId group
Wilson operator group identifier associated with the request.
ContributionType contribution
Type of contribution requested, e.g. SM, BSM or TOTAL.
std::optional< WilsonBasis > basis
Optional Wilson basis used for hadronic-scale coefficients.
QCDOrder order
Perturbative QCD order at which the coefficient is evaluated.
bool sum_qcd_orders
If true, contributions from different QCD orders are summed up to order.
WCoefId coefficient
Wilson coefficient identifier associated with the request.
ScaleType scale_type
Scale at which the Wilson coefficient is evaluated.