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

Core API returning the current Model. More...

#include <ModelAPI.h>

Inheritance diagram for ModelAPI:
Collaboration diagram for ModelAPI:

Public Member Functions

Model get () override
 Returns the active physics model.
 
Model get () override
 Returns the current Model value.
 
- Public Member Functions inherited from ICoreAPI< Model >
virtual ~ICoreAPI ()=default
 
virtual ~ICoreAPI ()=default
 

Detailed Description

Core API returning the current Model.

Core API exposing the current physics model.

This API provides read-only access to the model selected during Hyperiso initialization (e.g. SM, SUSY, THDM, MARTY).

ModelAPI is a convenience class that queries HyperisoMaster to obtain the Model currently used by the framework. It is typically injected into components that need to know whether the working model is SM, THDM, SUSY, etc., without directly depending on HyperisoMaster.

Definition at line 28 of file ModelAPI.h.

Member Function Documentation

◆ get() [1/2]

Model ModelAPI::get ( )
inlineoverridevirtual

Returns the current Model value.

Internally this calls HyperisoMaster::get_model().

Implements ICoreAPI< Model >.

Definition at line 33 of file ModelAPI.h.

◆ get() [2/2]

Model ModelAPI::get ( )
inlineoverridevirtual

Returns the active physics model.

Returns
Current model.

Implements ICoreAPI< Model >.

Definition at line 35 of file ModelAPI.h.


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