Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IParameterResolver.h
Go to the documentation of this file.
1#ifndef IPARAMETER_RESOLVER_H
2#define IPARAMETER_RESOLVER_H
3
4#include <unordered_map>
5#include <string>
6#include <vector>
7
8#include "Extractor.h"
9#include "LhaID.h"
10
32 std::string block;
35 bool is_bsm;
36};
37
47public:
48 virtual ~IParameterResolver() = default;
49
63 virtual std::unordered_map<std::string, ResolvedParam>
64 resolve(const std::vector<Extractor::Parameter>& params,
65 bool modelIsSM) const = 0;
66
75 virtual std::unique_ptr<IParameterResolver> clone() const = 0;
76};
77
78#endif // IPARAMETER_RESOLVER_H
Declares utilities to extract parameter declarations from C++ code.
Lightweight representation of LHAPDF / SLHA-style identifiers.
Interface for resolving external parameter names into ResolvedParam.
virtual ~IParameterResolver()=default
virtual std::unique_ptr< IParameterResolver > clone() const =0
Clones the resolver.
virtual std::unordered_map< std::string, ResolvedParam > resolve(const std::vector< Extractor::Parameter > &params, bool modelIsSM) const =0
Resolves a list of extracted parameters.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56
Represents a resolved parameter in Hyperiso format.
std::string block
SLHA block name.
bool is_complex
True if the parameter is complex-valued.
LhaID code
LHA ID within the block.
bool is_bsm
True if the parameter is BSM (not SM).