Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ParameterResolverProxy.h
Go to the documentation of this file.
1#ifndef PARAMETER_RESOLVER_PROXY_H
2#define PARAMETER_RESOLVER_PROXY_H
3
4#include <unordered_map>
5#include <string>
6#include <memory>
7#include <iomanip>
8
11#include "Logger.h"
12
34public:
41 ParameterResolverProxy(std::shared_ptr<IMappingDatabasePort> sm,
42 std::shared_ptr<IMappingDatabasePort> model);
43
45 std::unordered_map<std::string, ResolvedParam>
46 resolve(const std::vector<Extractor::Parameter>& params,
47 bool modelIsSM) const override;
48
50 std::unique_ptr<IParameterResolver> clone() const override;
51
52private:
53 std::shared_ptr<IMappingDatabasePort> sm_;
54 std::shared_ptr<IMappingDatabasePort> model_;
55};
56
57#endif // PARAMETER_RESOLVER_PROXY_H
Declares an abstract port for parameter-mapping databases.
Declares the interface for resolving parameter names to blocks and LHA IDs.
Interface for resolving external parameter names into ResolvedParam.
Resolves parameters by querying SM and model mapping databases.
std::unique_ptr< IParameterResolver > clone() const override
Clones the resolver.
std::unordered_map< std::string, ResolvedParam > resolve(const std::vector< Extractor::Parameter > &params, bool modelIsSM) const override
Resolves a list of extracted parameters.