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

Mapper for builtin and runtime observable identifiers. More...

#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "generic_mapper.h"
#include "Map.h"
#include "LhaID.h"
#include "decay_graph.h"
Include dependency graph for observable_ids.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ObservableTag
 
class  ObservableMapper
 High-level mapper for observable names, FLHA ids and parent decays. More...
 

Typedefs

using ObservableId = IdOf< ObservableTag >
 Strongly typed dynamic identifier for observables.
 

Detailed Description

Mapper for builtin and runtime observable identifiers.

The observable layer has two representations:

  • Observables: the historical static enum, valid only for builtin observables present in observable_mapping();
  • ObservableId: a string-based, case-insensitive identifier that can represent both builtin and custom observables.

New code should use ObservableId for user-facing and dynamic paths. The static enum remains useful for legacy code and for places where a builtin observable is explicitly required.

Definition in file observable_ids.hpp.

Typedef Documentation

◆ ObservableId

Strongly typed dynamic identifier for observables.

Definition at line 33 of file observable_ids.hpp.