Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
UseMarty.h
Go to the documentation of this file.
1#ifndef USE_MARTY_H
2#define USE_MARTY_H
3
4#include "HyperisoMaster.h"
5#include "Config.h"
6#include "ICoreAPI.h"
7
24class UseMarty : public ICoreAPI<bool> {
25public:
31 inline bool get() override {return HyperisoMaster().get_model() == Model::MARTY ? 1 : 0;}
32};
33
34#endif // USE_MARTY_H
High-level helpers for initializing and monitoring the Hyperiso framework.
High-level interface to initialize and monitor the main framework configuration.
Model get_model()
Retrieves the current model type used by Hyperiso.
Generic interface returning a single value of type T from the core.
Definition ICoreAPI.h:30
Core API returning whether MARTY is used as backend.
Definition UseMarty.h:24
bool get() override
Indicates whether the current model is MARTY.
Definition UseMarty.h:31