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

Lightweight representation of LHAPDF / SLHA-style identifiers. More...

#include <string>
#include <stdexcept>
#include <algorithm>
#include <iostream>
#include <unordered_set>
#include <initializer_list>
#include <map>
#include <vector>
#include <set>
#include <ranges>
#include <concepts>
#include <variant>
#include "Logger.h"
#include "Utils.h"
#include "GeneralEnum.h"
Include dependency graph for LhaID.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LhaID
 Represents an identifier of a LHA element, possibly containing several sub-ids. More...
 
struct  std::hash< LhaID >
 Hash functor specialization for LhaID. More...
 

Namespaces

namespace  std
 Hash specialization for SymbolId<Tag>.
 

Detailed Description

Lightweight representation of LHAPDF / SLHA-style identifiers.

This header defines the LhaID struct, a small utility type used to encode identifiers that may be composed of several integer components (e.g. PDG-like IDs, block indices, etc.).

The representation is essentially a vector of long integers, with helpers to:

  • construct from integers, initializer lists, vectors or strings,
  • serialize to a compact string form (e.g. "1_2_3"),
  • compare and hash IDs for use in associative containers.

Definition in file LhaID.h.