Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
LambdaDecayConfig Struct Reference

Full runtime definition of a custom decay and its observables. More...

#include <LambdaDecay.h>

Public Attributes

std::string canonical
 Canonical decay name, for example "MY_DECAY".
 
std::vector< std::string > aliases {}
 Optional alternative decay names accepted by DecayMapper::id_of().
 
double matching_scale = 81.0
 Matching scale used by the decay's Wilson build config.
 
double hadronic_scale = 4.8
 Hadronic scale used by the decay's Wilson build config.
 
QCDOrder order = QCDOrder::LO
 Requested QCD order for the decay.
 
QCDOrder max_order = QCDOrder::NNLO
 Maximum QCD order supported by this custom decay.
 
std::unordered_set< WGroupIdwilson_groups {}
 Builtin or already-registered Wilson groups needed by the decay.
 
std::vector< CustomWilsonGroupConfigcustom_wilson_groups {}
 Custom Wilson groups to install before this decay is evaluated.
 
std::vector< LambdaObservableConfigobservables {}
 Custom observables owned by this decay. Must not be empty.
 
bool propagate_custom_wilson_dependencies {true}
 Propagate custom-Wilson matching dependencies to every observable.
 
LambdaDecayLoadHook load_params {}
 Optional cache/loading hook called by LambdaDecay::load_params().
 
LambdaDecayConfigureHook configure {}
 Optional type-erased configuration hook called by LambdaDecay::set_config().
 

Detailed Description

Full runtime definition of a custom decay and its observables.

This is the observable-side counterpart of CustomWilsonGroupConfig: it lets users create a new decay without writing a new C++ subclass file. The decay can request builtin Wilson groups, custom lambda-based Wilson groups, and one or more lambda-computed observables.

Definition at line 124 of file LambdaDecay.h.

Member Data Documentation

◆ aliases

std::vector<std::string> LambdaDecayConfig::aliases {}

Optional alternative decay names accepted by DecayMapper::id_of().

Definition at line 129 of file LambdaDecay.h.

◆ canonical

std::string LambdaDecayConfig::canonical

Canonical decay name, for example "MY_DECAY".

Definition at line 126 of file LambdaDecay.h.

◆ configure

LambdaDecayConfigureHook LambdaDecayConfig::configure {}

Optional type-erased configuration hook called by LambdaDecay::set_config().

Definition at line 178 of file LambdaDecay.h.

◆ custom_wilson_groups

std::vector<CustomWilsonGroupConfig> LambdaDecayConfig::custom_wilson_groups {}

Custom Wilson groups to install before this decay is evaluated.

Each group is appended to the shared WilsonBuilder through IObsWilsonBuilder::add_custom_group(), then marked as already built in ObsWilsonHelper so DecayParent::enable() does not try to rebuild it via the static GroupDefinition path.

Definition at line 154 of file LambdaDecay.h.

◆ hadronic_scale

double LambdaDecayConfig::hadronic_scale = 4.8

Hadronic scale used by the decay's Wilson build config.

Definition at line 135 of file LambdaDecay.h.

◆ load_params

LambdaDecayLoadHook LambdaDecayConfig::load_params {}

Optional cache/loading hook called by LambdaDecay::load_params().

Definition at line 175 of file LambdaDecay.h.

◆ matching_scale

double LambdaDecayConfig::matching_scale = 81.0

Matching scale used by the decay's Wilson build config.

Definition at line 132 of file LambdaDecay.h.

◆ max_order

QCDOrder LambdaDecayConfig::max_order = QCDOrder::NNLO

Maximum QCD order supported by this custom decay.

Definition at line 141 of file LambdaDecay.h.

◆ observables

std::vector<LambdaObservableConfig> LambdaDecayConfig::observables {}

Custom observables owned by this decay. Must not be empty.

Definition at line 157 of file LambdaDecay.h.

◆ order

QCDOrder LambdaDecayConfig::order = QCDOrder::LO

Requested QCD order for the decay.

Definition at line 138 of file LambdaDecay.h.

◆ propagate_custom_wilson_dependencies

bool LambdaDecayConfig::propagate_custom_wilson_dependencies {true}

Propagate custom-Wilson matching dependencies to every observable.

When a lambda observable is computed from custom Wilson coefficients, the statistical layer ultimately needs the input parameters used by those Wilson lambdas. If this flag is true, ObservableInterface::add_lambda_decay collects the ParamId sources declared in CustomWilsonCoefficientConfig::matching and attaches them to each observable together with the observable-specific dependencies below.

Keep this enabled for most dev/plugin use cases. Disable it only when you want to manually control the dependency set of every observable.

Definition at line 172 of file LambdaDecay.h.

◆ wilson_groups

std::unordered_set<WGroupId> LambdaDecayConfig::wilson_groups {}

Builtin or already-registered Wilson groups needed by the decay.

Definition at line 144 of file LambdaDecay.h.


The documentation for this struct was generated from the following file: