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

Implementation of IMartyParameterProxy using ParameterProvider. More...

#include <MartyParameterProxy.h>

Inheritance diagram for MartyParameterProxy:
Collaboration diagram for MartyParameterProxy:

Public Member Functions

 MartyParameterProxy (ParameterType type)
 Constructs a proxy for a given parameter type.
 
scalar_t operator() (const std::string &block, const LhaID &id) const override
 Retrieves the value of a parameter.
 

Detailed Description

Implementation of IMartyParameterProxy using ParameterProvider.

MartyParameterProxy:

  • checks that the requested ParameterType is allowed (SM or BSM),
  • optionally forces SM-only access if the global model is SM,
  • retrieves values through a ParameterProvider instance.

Definition at line 27 of file MartyParameterProxy.h.

Constructor & Destructor Documentation

◆ MartyParameterProxy()

MartyParameterProxy::MartyParameterProxy ( ParameterType  type)

Constructs a proxy for a given parameter type.

If the global model (queried through ModelAPI / Hyperiso) is SM, the proxy will always use ParameterType::SM internally, regardless of the type passed in.

Parameters
typeDesired parameter type (SM or BSM).
Exceptions
LOG_ERROR(ValueError) if type is not allowed.

Definition at line 4 of file MartyParameterProxy.cpp.

Member Function Documentation

◆ operator()()

scalar_t MartyParameterProxy::operator() ( const std::string &  block,
const LhaID id 
) const
overridevirtual

Retrieves the value of a parameter.

Parameters
blockName of the parameter block.
idLHA identifier inside the block.
Returns
The parameter value as a scalar.

Implements IMartyParameterProxy< std::string, LhaID >.

Definition at line 16 of file MartyParameterProxy.cpp.


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