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

Concrete proxy forwarding Wilson calculations to MARTY. More...

#include <MartyWilsonProxy.h>

Inheritance diagram for MartyWilsonProxy:
Collaboration diagram for MartyWilsonProxy:

Public Member Functions

 MartyWilsonProxy ()
 Default constructor.
 
void calculate (std::string wilson, std::string model, double Q_match, std::string model_path) override
 Runs the full Wilson coefficient calculation pipeline.
 
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
 
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
 Runs a calculation with invocation-local parameter/output files.
 
std::set< std::string > get_special_blocks () override
 Returns the set of special parameter blocks.
 
std::unordered_set< InterpretedParamget_dependencies (std::string wilson) override
 Returns the set of parameter dependencies for a given Wilson coefficient.
 

Detailed Description

Concrete proxy forwarding Wilson calculations to MARTY.

This class acts as a stable interface layer between higher-level Hyperiso components and the MARTY-specific implementation.

Responsibilities:

  • delegate calculation requests,
  • expose special blocks,
  • expose parameter dependencies.

Definition at line 31 of file MartyWilsonProxy.h.

Constructor & Destructor Documentation

◆ MartyWilsonProxy()

MartyWilsonProxy::MartyWilsonProxy ( )
inline

Default constructor.

Initializes the internal MartyWilsonAdapter.

Definition at line 38 of file MartyWilsonProxy.h.

Member Function Documentation

◆ calculate() [1/2]

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

Runs the full Wilson coefficient calculation pipeline.

Parameters
wilsonName of the Wilson coefficient.
modelModel name (SM, THDM, MSSM, etc.).
Q_matchMatching scale.
model_pathPath to the model definition file.

Implements IMartyWilsonProxy< InterpretedParam >.

Definition at line 41 of file MartyWilsonProxy.h.

◆ calculate() [2/2]

void MartyWilsonProxy::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

Implements IMartyWilsonProxy< InterpretedParam >.

Definition at line 44 of file MartyWilsonProxy.h.

◆ calculate_isolated()

std::string MartyWilsonProxy::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

Runs a calculation with invocation-local parameter/output files.

The default implementation preserves compatibility with older mocks and adapters by calling calculate and returning an empty path. Concrete MARTY implementations return the isolated Wilson CSV path so callers never need to read a process-wide shared CSV.

Reimplemented from IMartyWilsonProxy< InterpretedParam >.

Definition at line 64 of file MartyWilsonProxy.h.

◆ get_dependencies()

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

Returns the set of parameter dependencies for a given Wilson coefficient.

Parameters
wilsonName of the Wilson coefficient.
Returns
Set of interpreted parameters required by this Wilson coefficient.

Implements IMartyWilsonProxy< InterpretedParam >.

Definition at line 88 of file MartyWilsonProxy.h.

◆ get_special_blocks()

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

Returns the set of special parameter blocks.

These blocks require custom treatment during parameter extraction and numerical code generation.

Returns
Set of block names.

Implements IMartyWilsonProxy< InterpretedParam >.

Definition at line 85 of file MartyWilsonProxy.h.


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