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

Interface for model/Wilson adapters built on MARTY. More...

#include <IMartyWilsonAdapter.h>

Public Member Functions

virtual ~IMartyWilsonAdapter ()=default
 
virtual void calculate (std::string wilson, std::string model, double Q_match, std::string model_path)=0
 Triggers a full calculation for a given Wilson basis and model.
 
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
 Triggers a calculation where output label and model class differ.
 
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)
 
virtual std::set< std::string > get_special_blocks ()=0
 Returns the set of block names requiring special handling.
 
virtual std::unordered_set< Tget_dependencies (std::string wilson)=0
 Returns the set of dependencies for a given Wilson basis.
 

Detailed Description

template<typename T>
class IMartyWilsonAdapter< T >

Interface for model/Wilson adapters built on MARTY.

Template Parameters
TType used to represent parameter dependencies (for example InterpretedParam).

The interface provides three main responsibilities:

Definition at line 35 of file IMartyWilsonAdapter.h.

Constructor & Destructor Documentation

◆ ~IMartyWilsonAdapter()

template<typename T >
virtual IMartyWilsonAdapter< T >::~IMartyWilsonAdapter ( )
virtualdefault

Member Function Documentation

◆ calculate() [1/2]

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

Triggers a full calculation for a given Wilson basis and model.

The exact pipeline (generation, compilation, numeric libs) is left to concrete implementations.

Parameters
wilsonWilson basis name.
modelModel name.
Q_matchMatching scale used in the numeric library.
model_pathPath to the model header used for template adaptation.

Implemented in MartyWilsonAdapter.

◆ calculate() [2/2]

template<typename T >
virtual void IMartyWilsonAdapter< 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

Triggers a calculation where output label and model class differ.

Implemented in MartyWilsonAdapter.

◆ calculate_isolated()

template<typename T >
virtual std::string IMartyWilsonAdapter< 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

Invocation-isolated variant returning the generated Wilson CSV path.

Reimplemented in MartyWilsonAdapter.

Definition at line 65 of file IMartyWilsonAdapter.h.

◆ get_dependencies()

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

Returns the set of dependencies for a given Wilson basis.

These dependencies typically correspond to the parameters used in the numeric MARTY example (e.g. InterpretedParam).

Parameters
wilsonWilson basis name.
Returns
Unordered set of dependencies of type T.

Implemented in MartyWilsonAdapter.

◆ get_special_blocks()

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

Returns the set of block names requiring special handling.

Returns
Set of block names (same semantics as MartyInterface::get_special_blocks()).

Implemented in MartyWilsonAdapter.


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