Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DecayParent.h File Reference

Base class for observable/decay computation modules. More...

#include <map>
#include <string>
#include <chrono>
#include <any>
#include <type_traits>
#include "Include.h"
#include "WilsonInterface.h"
#include "ObsWilsonBuilder.h"
#include "ObsWilsonProxy.h"
#include "ObsWilsonHelper.h"
#include "Math.h"
#include "Configs.h"
#include "DefaultConfig.h"
#include "ObservableValue.h"
#include "ObsParameterProxy.h"
#include "ObsPortsConfig.h"
Include dependency graph for DecayParent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DecayParent
 Abstract base class for a decay/observable module. More...
 
class  DecayParentConfigurable< T >
 Typed configuration adapter for DecayParent using std::any. More...
 
struct  DecayParentConfigurable< DecayConfig >
 Specialization for the default decay config type where configuration is ignored. More...
 

Detailed Description

Base class for observable/decay computation modules.

This header defines the common interface and lifecycle for "decay" modules (in the broad sense: any observable computation unit).

A decay module typically:

  • depends on model parameters (SM/BSM/flavor/...) accessed through ObservablePortsConfig
  • depends on Wilson coefficients at matching/hadronic scales (built lazily)
  • exposes one or multiple observable(s) through compute_observable

The class is designed for the business/observable layer:

  • it does NOT directly construct low-level providers
  • it receives all dependencies via ObservablePortsConfig (ports/adapters)
  • it can be enabled/disabled at runtime

Wilson coefficients are built "on demand" when enable is called, via ObsWilsonHelper::build. This allows a global Wilson system to be shared, cached, or partially frozen between different decays.

See also
ObservablePortsConfig
ObsWilsonHelper
IObsWilsonBuilder
IObsWilsonProxy

Definition in file DecayParent.h.