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

Helper for retrieving minimal required content of LHA/SLHA blocks. More...

#include <LhaParamsHelper.h>

Static Public Member Functions

static std::vector< std::vector< long > > get_minimal_content (const BlockName &block_name)
 Returns the minimal required content for a given block.
 

Detailed Description

Helper for retrieving minimal required content of LHA/SLHA blocks.

LhaParamsHelper exposes a single public static function:

The associated static map minimal_blocks is defined in the implementation file and currently contains entries for a subset of blocks such as:

  • "FMASS" : minimal set of flavor masses,
  • "FLIFE" : minimal set of lifetimes,
  • "FCONST" : minimal set of decay constants.

This helper is typically used when validating an input parameter file or when constructing a minimal template to be filled by the user.

Definition at line 59 of file LhaParamsHelper.h.

Member Function Documentation

◆ get_minimal_content()

std::vector< std::vector< long > > LhaParamsHelper::get_minimal_content ( const BlockName block_name)
static

Returns the minimal required content for a given block.

The supplied block_name is matched against the keys of the internal minimal_blocks map (using BlockName comparison semantics, including alias support). If an entry is found, the corresponding list of index-vectors is returned.

Each inner std::vector<long> represents an identifier or index within the block. For example:

  • For "FMASS" and "FLIFE" the vectors may contain PDG codes, e.g. {211}, {321}, {511}, etc.
  • For "FCONST" the vectors may encode multi-indices, e.g. {511, 1}, {323, 2}, etc.

If the block is not present in minimal_blocks, an error is reported via LOG_ERROR in the implementation.

Parameters
block_nameBlock for which the minimal content is requested.
Returns
A vector of index-vectors describing the minimal content.

Definition at line 9 of file LhaParamsHelper.cpp.


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