1#ifndef PARAMETERPROVIDER_H
2#define PARAMETERPROVIDER_H
113 bool exists(
const std::string& block,
const LhaID&
id)
const;
125 double get_scale(
const std::string& block)
const;
147 std::optional<ParameterType> p_type;
Model-dependent parameter repository and initialization strategies.
Generic interface for providing data through callable and exist methods.
Provides access to parameter values, errors, and existence checks.
double get_scale(const std::string &block) const
Checks if a parameter identified by block name and LHA ID exists.
std::shared_ptr< Parameter > get_parameter(const ParamId &pid) const
Retrieves the actual Parameter object corresponding to the given ParamId.
scalar_t operator()(const ParamId &pid, DataType d_type=DataType::VALUE) const
Retrieves a parameter value based on ParamId and requested data type.
ParameterType get_type() const
Retrieves the renormalization scale associated with a given block.
bool exists(const ParamId &pid) const
Checks if a parameter identified by ParamId exists.
ParameterProvider()=default
Default constructor (untyped provider).
ParameterProvider(ParameterType p_type)
Constructs a provider bound to a specific ParameterType.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Composite identifier for a single parameter.