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

Static mappings between enum classes and string (or FLHA) identifiers. More...

#include <map>
#include <string>
#include <vector>
#include "GeneralEnum.h"
#include "LhaID.h"
Include dependency graph for Map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const std::map< Observables, std::string > & observable_mapping ()
 Returns the mapping between Observables and their string names.
 
const std::map< Observables, LhaID > & observable_flha_mapping ()
 Returns the mapping between Observables and their FLHA identifiers.
 
const std::map< QCDOrder, std::string > & order_mapping ()
 Returns the mapping between QCDOrder and its string representation.
 
const std::map< WGroup, std::string > & group_mapping ()
 Returns the mapping between WGroup and its string representation.
 
const std::map< WCoef, std::string > & wcoef_mapping ()
 Returns the mapping between WCoef and its string name.
 
const std::map< WCoef, std::pair< int, int > > & wcoef_flha_mapping ()
 Returns the mapping between WCoef and its FLHA (block, index) pair.
 
const std::map< ParameterType, std::string > & parametertype_mapping ()
 Returns the mapping between ParameterType and its string name.
 
const std::map< Model, std::string > & model_mapping ()
 Returns the mapping between Model and its string name.
 
const std::map< WilsonBasis, std::string > & wilsonbasis_mapping ()
 Returns the mapping between WilsonBasis and its string name.
 
const std::map< ContributionType, std::string > & contributiontype_mapping ()
 Returns the mapping between ContributionType and its string name.
 
const std::map< MassType, std::string > & masstype_mapping ()
 Returns the mapping between MassType and its string name.
 
const std::map< ScaleType, std::string > & scaletype_mapping ()
 Returns the mapping between ScaleType and its string name.
 
const std::map< Decays, std::string > & decays_mapping ()
 Returns the mapping between Decays and their string names.
 
const std::map< Decays, std::vector< Observables > > & decay_observable_mapping ()
 Returns the mapping between Decays and the list of Observables associated with each decay channel.
 

Detailed Description

Static mappings between enum classes and string (or FLHA) identifiers.

This header declares a set of helper functions returning references to static maps. These maps provide a bidirectional bridge between internal enum types (e.g. Observables, ParameterType, Model, ...) and their string / FLHA / auxiliary representations used in input or output formats.

All returned maps are initialized once on first use via function-local static storage and then reused.

Definition in file Map.h.

Function Documentation

◆ contributiontype_mapping()

const std::map< ContributionType, std::string > & contributiontype_mapping ( )

Returns the mapping between ContributionType and its string name.

Definition at line 1243 of file Map.cpp.

◆ decay_observable_mapping()

const std::map< Decays, std::vector< Observables > > & decay_observable_mapping ( )

Returns the mapping between Decays and the list of Observables associated with each decay channel.

Definition at line 1275 of file Map.cpp.

◆ decays_mapping()

const std::map< Decays, std::string > & decays_mapping ( )

Returns the mapping between Decays and their string names.

Definition at line 1252 of file Map.cpp.

◆ group_mapping()

const std::map< WGroup, std::string > & group_mapping ( )

Returns the mapping between WGroup and its string representation.

Definition at line 1123 of file Map.cpp.

◆ masstype_mapping()

const std::map< MassType, std::string > & masstype_mapping ( )

Returns the mapping between MassType and its string name.

Definition at line 1298 of file Map.cpp.

◆ model_mapping()

const std::map< Model, std::string > & model_mapping ( )

Returns the mapping between Model and its string name.

Definition at line 1225 of file Map.cpp.

◆ observable_flha_mapping()

const std::map< Observables, LhaID > & observable_flha_mapping ( )

Returns the mapping between Observables and their FLHA identifiers.

Definition at line 566 of file Map.cpp.

◆ observable_mapping()

const std::map< Observables, std::string > & observable_mapping ( )

Returns the mapping between Observables and their string names.

Definition at line 21 of file Map.cpp.

◆ order_mapping()

const std::map< QCDOrder, std::string > & order_mapping ( )

Returns the mapping between QCDOrder and its string representation.

Definition at line 1113 of file Map.cpp.

◆ parametertype_mapping()

const std::map< ParameterType, std::string > & parametertype_mapping ( )

Returns the mapping between ParameterType and its string name.

Definition at line 1212 of file Map.cpp.

◆ scaletype_mapping()

const std::map< ScaleType, std::string > & scaletype_mapping ( )

Returns the mapping between ScaleType and its string name.

Definition at line 1306 of file Map.cpp.

◆ wcoef_flha_mapping()

const std::map< WCoef, std::pair< int, int > > & wcoef_flha_mapping ( )

Returns the mapping between WCoef and its FLHA (block, index) pair.

Definition at line 1170 of file Map.cpp.

◆ wcoef_mapping()

const std::map< WCoef, std::string > & wcoef_mapping ( )

Returns the mapping between WCoef and its string name.

Definition at line 1142 of file Map.cpp.

◆ wilsonbasis_mapping()

const std::map< WilsonBasis, std::string > & wilsonbasis_mapping ( )

Returns the mapping between WilsonBasis and its string name.

Definition at line 1235 of file Map.cpp.