Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
GroupMapper.h
Go to the documentation of this file.
1#ifndef GROUP_MAPPER_H
2#define GROUP_MAPPER_H
3
4#include <sstream>
5
6#include "wgroup_ids.hpp"
7#include "scaletype_ids.hpp"
8#include "wilsonbasis_ids.hpp"
9
30public:
45 static std::string str(WGroup g, ScaleType scale, WilsonBasis basis = WilsonBasis::B_STANDARD) {
46 std::stringstream ss;
47 ss << GroupMapper::str(g)
48 << "_" << ScaleTypeMapper::str(scale)
49 << (scale == ScaleType::HADRONIC ? "_" + WilsonBasisMapper::str(basis) : "");
50 return ss.str();
51 }
52};
53
54#endif
WilsonBasis
ScaleType
WGroup
static std::string str(const IdOf< ScaleTypeTag > &id)
Returns the string representation associated with an identifier.
Extension of GroupMapper for building composite group strings.
Definition GroupMapper.h:29
static std::string str(WGroup g, ScaleType scale, WilsonBasis basis=WilsonBasis::B_STANDARD)
Returns a composite label "GROUP_SCALE[_BASIS]" for a Wilson group.
Definition GroupMapper.h:45
Mapper for WGroup <-> WGroupId <-> optional external string.
static std::string str(const WGroupId &gid, ScaleType s, WilsonBasis b=WilsonBasis::B_STANDARD)
Builds a composite block name using a WGroupId, scale and basis.
constexpr double g