4 if (!ParameterProxy::ALLOWED.contains(type)) {
19 return pp.
exists(block,
id);
#define LOG_ERROR(type,...)
Macro for logging error messages and terminating the application.
#define LOG_INFO(...)
Macro for logging informational messages.
Concrete IParameterProxy backed by ParameterProvider / Parameters.
static std::string str(const IdOf< ParamTypeTag > &id)
Returns the string representation associated with an identifier.
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.
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.
scalar_t operator()(const std::string &block, const LhaID &id) const override
Retrieves a parameter value from (block, id).
bool exist(const std::string &block, const LhaID &id) const override
Checks whether a parameter exists.
double get_scale(const std::string &block) const override
Returns the block scale.
ParameterProxy(ParameterType type)
Constructs a proxy bound to a specific ParameterType.
Represents an identifier of a LHA element, possibly containing several sub-ids.