|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <any>#include <functional>#include <optional>#include <string>#include <unordered_map>#include <unordered_set>#include <utility>#include <vector>#include "DecayParent.h"#include "CustomWilsonLambda.h"#include "mapper_hub.hpp"

Go to the source code of this file.
Classes | |
| struct | LambdaObservableConfig |
| Registration and compute function for one runtime/custom observable. More... | |
| struct | LambdaDecayConfig |
| Full runtime definition of a custom decay and its observables. More... | |
| class | LambdaDecay |
| DecayParent implementation backed by user-provided lambdas. More... | |
Typedefs | |
| using | LambdaObservableComputer = std::function< std::vector< ObservableValue >(LambdaDecay &, ObservableId)> |
| User function used to compute a runtime/custom observable. | |
| using | LambdaDecayLoadHook = std::function< void(LambdaDecay &)> |
| Optional hook called when the lambda decay is enabled/reloaded. | |
| using | LambdaDecayConfigureHook = std::function< void(LambdaDecay &, const std::any &)> |
| Optional hook called from LambdaDecay::set_config(). | |
| using LambdaDecayConfigureHook = std::function<void(LambdaDecay&, const std::any&)> |
Optional hook called from LambdaDecay::set_config().
This keeps the usual set_decay_config(..., std::any) mechanism available for lambda-based decays while still allowing the user to decide how the payload should be interpreted.
Definition at line 49 of file LambdaDecay.h.
| using LambdaDecayLoadHook = std::function<void(LambdaDecay&)> |
Optional hook called when the lambda decay is enabled/reloaded.
Use this for cache preparation, reading parameters once, precomputing common constants, or validating that required Wilson groups are available.
Definition at line 40 of file LambdaDecay.h.
| using LambdaObservableComputer = std::function<std::vector<ObservableValue>(LambdaDecay&, ObservableId)> |
User function used to compute a runtime/custom observable.
The first argument is the decay execution context. It exposes the same framework services that a hand-written DecayParent subclass would normally use: Wilson proxy, SM/FLAVOR parameter proxies, QCD proxy, bins and the user-provided configuration blob.
The second argument is the dynamic observable id currently being evaluated. The function returns one or more ObservableValue entries. Returning several values is the standard way to implement binned observables.
Definition at line 31 of file LambdaDecay.h.