Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IMartyWilsonProxy.h
Go to the documentation of this file.
1#ifndef IMARTY_WILSON_PROXY_H
2#define IMARTY_WILSON_PROXY_H
3
4#include <set>
5#include <unordered_set>
6#include <string>
7#include <utility>
8
37template <typename T>
39public:
48 virtual void calculate(std::string wilson, std::string model, double Q_match, std::string model_path) = 0;
49
57 virtual void calculate(std::string wilson,
58 std::string output_model,
59 std::string target_model,
60 double Q_match,
61 std::string model_path,
62 bool sm_like_filter,
63 bool bsm_split_generation = false,
64 bool full_target_generation = false) = 0;
65
74 virtual std::string calculate_isolated(std::string wilson,
75 std::string output_model,
76 std::string target_model,
77 double Q_match,
78 std::string model_path,
79 bool sm_like_filter,
80 bool bsm_split_generation = false,
81 bool full_target_generation = false) {
83 std::move(wilson),
84 std::move(output_model),
85 std::move(target_model),
86 Q_match,
87 std::move(model_path),
88 sm_like_filter,
89 bsm_split_generation,
90 full_target_generation
91 );
92 return {};
93 }
94
103 virtual std::set<std::string> get_special_blocks() = 0;
104
111 virtual std::unordered_set<T> get_dependencies(std::string wilson) = 0;
112
113};
114
115#endif // IMARTY_WILSON_PROXY_H
Abstract proxy for Wilson coefficient calculations via MARTY.
virtual void calculate(std::string wilson, std::string output_model, std::string target_model, double Q_match, std::string model_path, bool sm_like_filter, bool bsm_split_generation=false, bool full_target_generation=false)=0
Runs calculation with a separate output label and target model.
virtual void calculate(std::string wilson, std::string model, double Q_match, std::string model_path)=0
Runs the full Wilson coefficient calculation pipeline.
virtual std::set< std::string > get_special_blocks()=0
Returns the set of special parameter blocks.
virtual std::string calculate_isolated(std::string wilson, std::string output_model, std::string target_model, double Q_match, std::string model_path, bool sm_like_filter, bool bsm_split_generation=false, bool full_target_generation=false)
Runs a calculation with invocation-local parameter/output files.
virtual std::unordered_set< T > get_dependencies(std::string wilson)=0
Returns the set of parameter dependencies for a given Wilson coefficient.