Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IMartyWilsonProxy< T > Class Template Referenceabstract

Abstract proxy for Wilson coefficient calculations via MARTY. More...

#include <IMartyWilsonProxy.h>

Public Member Functions

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 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 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::set< std::string > get_special_blocks ()=0
 Returns the set of special parameter blocks.
 
virtual std::unordered_set< Tget_dependencies (std::string wilson)=0
 Returns the set of parameter dependencies for a given Wilson coefficient.
 

Detailed Description

template<typename T>
class IMartyWilsonProxy< T >

Abstract proxy for Wilson coefficient calculations via MARTY.

This interface defines the contract for objects responsible for:

  • generating Wilson coefficients,
  • managing numerical libraries,
  • tracking parameter dependencies,
  • exposing special blocks required for calculations.

Implementations typically wrap a concrete adapter such as MartyWilsonAdapter.

Template Parameters
TType representing a resolved/interpreted parameter.

Definition at line 38 of file IMartyWilsonProxy.h.

Member Function Documentation

◆ calculate() [1/2]

template<typename T >
virtual void IMartyWilsonProxy< T >::calculate ( std::string  wilson,
std::string  model,
double  Q_match,
std::string  model_path 
)
pure virtual

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.

Implemented in MartyWilsonProxy.

◆ calculate() [2/2]

template<typename T >
virtual void IMartyWilsonProxy< T >::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 
)
pure virtual

Runs calculation with a separate output label and target model.

Parameters
output_modelLabel used for generated output files/libraries.
target_modelC++ MARTY model class to instantiate.
sm_like_filterIf true, disable all particles not present in SM_Model.

Implemented in MartyWilsonProxy.

◆ calculate_isolated()

template<typename T >
virtual std::string IMartyWilsonProxy< T >::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 
)
inlinevirtual

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 in MartyWilsonProxy.

Definition at line 74 of file IMartyWilsonProxy.h.

◆ get_dependencies()

template<typename T >
virtual std::unordered_set< T > IMartyWilsonProxy< T >::get_dependencies ( std::string  wilson)
pure virtual

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.

Implemented in MartyWilsonProxy.

◆ get_special_blocks()

template<typename T >
virtual std::set< std::string > IMartyWilsonProxy< T >::get_special_blocks ( )
pure virtual

Returns the set of special parameter blocks.

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

Returns
Set of block names.

Implemented in MartyWilsonProxy.


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