Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MartyWilsonAdapter Class Reference

Concrete adapter for Wilson calculations based on MartyInterface. More...

#include <MartyWilsonAdapter.h>

Inheritance diagram for MartyWilsonAdapter:
Collaboration diagram for MartyWilsonAdapter:

Public Member Functions

 MartyWilsonAdapter ()
 Default constructor creating an internal MartyInterface.
 
void calculate (std::string wilson, std::string model, double Q_match, std::string model_path) override
 Launches a full calculation for a given (Wilson, model) pair.
 
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) override
 Launches calculation with separate output label and target model.
 
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) override
 
std::set< std::string > get_special_blocks () override
 Returns the set of special blocks requiring custom handling.
 
std::unordered_set< InterpretedParamget_dependencies (std::string wilson) override
 Returns the dependencies associated with a given Wilson basis.
 
- Public Member Functions inherited from IMartyWilsonAdapter< InterpretedParam >
virtual ~IMartyWilsonAdapter ()=default
 

Detailed Description

Concrete adapter for Wilson calculations based on MartyInterface.

This class simply delegates:

It is parameterized with InterpretedParam in the IMartyWilsonAdapter base template.

Definition at line 31 of file MartyWilsonAdapter.h.

Constructor & Destructor Documentation

◆ MartyWilsonAdapter()

MartyWilsonAdapter::MartyWilsonAdapter ( )
inline

Default constructor creating an internal MartyInterface.

Uses the default constructor of MartyInterface, which wires all default dependencies (ModelAPI, proxies, ports).

Definition at line 39 of file MartyWilsonAdapter.h.

Member Function Documentation

◆ calculate() [1/2]

void MartyWilsonAdapter::calculate ( std::string  wilson,
std::string  model,
double  Q_match,
std::string  model_path 
)
inlineoverridevirtual

Launches a full calculation for a given (Wilson, model) pair.

Delegates directly to MartyInterface::calculate.

Implements IMartyWilsonAdapter< InterpretedParam >.

Definition at line 46 of file MartyWilsonAdapter.h.

◆ calculate() [2/2]

void MartyWilsonAdapter::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 
)
inlineoverridevirtual

Launches calculation with separate output label and target model.

Implements IMartyWilsonAdapter< InterpretedParam >.

Definition at line 51 of file MartyWilsonAdapter.h.

◆ calculate_isolated()

std::string MartyWilsonAdapter::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 
)
inlineoverridevirtual

Invocation-isolated variant returning the generated Wilson CSV path.

Reimplemented from IMartyWilsonAdapter< InterpretedParam >.

Definition at line 71 of file MartyWilsonAdapter.h.

◆ get_dependencies()

std::unordered_set< InterpretedParam > MartyWilsonAdapter::get_dependencies ( std::string  wilson)
inlineoverridevirtual

Returns the dependencies associated with a given Wilson basis.

Delegates to MartyInterface::get_dependencies.

Implements IMartyWilsonAdapter< InterpretedParam >.

Definition at line 103 of file MartyWilsonAdapter.h.

◆ get_special_blocks()

std::set< std::string > MartyWilsonAdapter::get_special_blocks ( )
inlineoverridevirtual

Returns the set of special blocks requiring custom handling.

Delegates to MartyInterface::get_special_blocks.

Implements IMartyWilsonAdapter< InterpretedParam >.

Definition at line 96 of file MartyWilsonAdapter.h.


The documentation for this class was generated from the following file: