|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Helpers for project-defined FLHA observable-type identifiers. More...
#include <stdexcept>

Go to the source code of this file.
Enumerations | |
| enum class | PolarizationKind : long { Fermion = 1 , LongitudinalVector = 2 , TransverseVector = 3 } |
Polarization category encoded by the project-specific FLHA pattern 92ij. More... | |
Functions | |
| constexpr long | make_polarization_type_id (PolarizationKind kind, unsigned int daughter_position) |
Build a project-defined FLHA polarization type id using 92ij. | |
Variables | |
| constexpr long | kTransverseFractionTypeId = 932 |
FLHA observable type for the transverse fraction ![]() | |
| constexpr long | kAlphaKTypeId = 933 |
FLHA observable type for the angular coefficient ![]() | |
| constexpr long | kLegacyFermionPolarizationTypeId = 92015 |
| Legacy v1.0.0–v1.0.1 type used for charged-lepton polarization. | |
| constexpr long | kLegacyLongitudinalVectorPolarizationTypeId = 921423 |
| Legacy v1.0.0–v1.0.1 type used for longitudinal vector polarization. | |
Helpers for project-defined FLHA observable-type identifiers.
Definition in file ObservableTypeId.h.
|
strong |
Polarization category encoded by the project-specific FLHA pattern 92ij.
The decimal digit i identifies the polarization category:
| Enumerator | |
|---|---|
| Fermion | |
| LongitudinalVector | |
| TransverseVector | |
Definition at line 21 of file ObservableTypeId.h.
|
constexpr |
Build a project-defined FLHA polarization type id using 92ij.
The decimal digit j is the one-based position of the particle of interest in the ordered list of daughter particles stored in the FLHA observable id. For example, in 
9212. In 

9221.
| kind | Polarization category encoded in digit i. |
| daughter_position | One-based daughter position encoded in digit j. |
92ij. | std::invalid_argument | if kind is outside 1–3 or if daughter_position is outside 1–9. |
Definition at line 55 of file ObservableTypeId.h.
|
inlineconstexpr |
FLHA observable type for the angular coefficient 
Definition at line 31 of file ObservableTypeId.h.
|
inlineconstexpr |
Legacy v1.0.0–v1.0.1 type used for charged-lepton polarization.
Definition at line 34 of file ObservableTypeId.h.
|
inlineconstexpr |
Legacy v1.0.0–v1.0.1 type used for longitudinal vector polarization.
Definition at line 37 of file ObservableTypeId.h.
|
inlineconstexpr |
FLHA observable type for the transverse fraction 
Definition at line 28 of file ObservableTypeId.h.