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

Returns whether Hyperiso currently uses Wilson coefficients as external inputs. More...

#include <HasWilsonAPI.h>

Inheritance diagram for HasWilsonAPI:
Collaboration diagram for HasWilsonAPI:

Public Member Functions

bool get () override
 Returns true if ExternalFlag::HAS_WILSON_INPUT is active.
 
- Public Member Functions inherited from ICoreAPI< bool >
virtual ~ICoreAPI ()=default
 
virtual ~ICoreAPI ()=default
 

Detailed Description

Returns whether Hyperiso currently uses Wilson coefficients as external inputs.

This class is a lightweight adapter over HyperisoMaster:

HasWilsonAPI hasWilson;
if (hasWilson.get()) { ... }
Returns whether Hyperiso currently uses Wilson coefficients as external inputs.
bool get() override
Returns true if ExternalFlag::HAS_WILSON_INPUT is active.

Internally, it delegates to:

@ HAS_WILSON_INPUT
User provided Wilson coefficient input.
High-level interface to initialize and monitor the main framework configuration.
bool check_flag(ExternalFlag flag)
Checks if a specific external flag is active.
Note
This reads the flag from the active HyperisoConfig (stored in the framework cache).

Definition at line 43 of file HasWilsonAPI.h.

Member Function Documentation

◆ get()

bool HasWilsonAPI::get ( )
inlineoverridevirtual

Returns true if ExternalFlag::HAS_WILSON_INPUT is active.

Returns
true if Wilson coefficients are user-provided inputs, false otherwise.

Implements ICoreAPI< bool >.

Definition at line 50 of file HasWilsonAPI.h.


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