Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
main_EPS.cpp
Go to the documentation of this file.
1#include "HyperisoMaster.h"
2#include "WilsonBuilder.h"
3#include <iostream>
4#include <cassert>
5
6int main() {
8 HyperisoConfig config;
9 config.model = Model::THDM;
10
11 config.mty_model_name = "THDM";
12 config.mty_model_path = std::string(project_tp_root.data()) + "MARTY/src/MARTY/src/marty/models/thdm.h";
13
14 hyp.init("lha/testinput_thdm.lha", config);
15
16 WilsonBuildConfig wilson_config;
18 wilson_config.matching_scale = 80;
19 wilson_config.hadronic_scale = ParameterProvider()({ParameterType::SM, "QCD", {5, 3}}) / 2;
20 wilson_config.order = QCDOrder::LO;
21 WilsonBuilder builder {wilson_config};
22
23
24
25 return 0;
26}
High-level helpers for initializing and monitoring the Hyperiso framework.
High-level interface to initialize and monitor the main framework configuration.
void init(const std::string &lhaFile, HyperisoConfig config)
Initializes Hyperiso using a LHA file and a full Config object.
Provides access to parameter values, errors, and existence checks.
High-level factory assembling a complete Wilson computation pipeline.
int main()
Definition main_EPS.cpp:6
Configuration object controlling model, input flags and optional MARTY resources.
Definition Config.h:24
std::optional< fs::path > mty_model_path
Path to the MARTY model file, if needed.
Definition Config.h:35
std::optional< std::string > mty_model_name
MARTY model class name, if needed.
Definition Config.h:34
Model model
Current model.
Definition Config.h:33
Configuration for building sets of Wilson coefficients.
Definition Configs.h:32
std::unordered_set< WGroupId > groups
Set of Wilson operator group identifiers to be included in the build.
Definition Configs.h:36
double hadronic_scale
Hadronic scale (in GeV) at which the Wilson coefficients are evaluated in the effective theory.
Definition Configs.h:48
QCDOrder order
Perturbative QCD order used for the evolution and matching of Wilson coefficients....
Definition Configs.h:54
double matching_scale
Matching scale (in GeV) at which the high-energy theory is matched to the effective theory.
Definition Configs.h:42