|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract base class for a single element of an LHA/FLHA block. More...
#include <lha_elements.h>


Public Member Functions | |
| AbstractElement (const LhaID &id_) | |
| Constructs an AbstractElement with a given identifier. | |
| LhaID | getId () const |
| Returns the identifier of the element. | |
| virtual std::pair< double, double > | getBinning () const =0 |
| Returns the binning associated to this element. | |
| virtual double | getScale () const =0 |
| Returns the renormalization scale of this element. | |
| virtual std::string | toString () const =0 |
| Converts the element to a line-like string representation. | |
| virtual std::shared_ptr< DBNode > | toDBNode () const =0 |
| Converts the element into a DBNode for database/storage use. | |
| virtual | ~AbstractElement ()=default |
| Virtual destructor. | |
Protected Attributes | |
| const LhaID | id |
Abstract base class for a single element of an LHA/FLHA block.
An AbstractElement represents one logical "entry" in a block:
Concrete implementations (LhaElement<T>) provide the actual value type.
Definition at line 40 of file lha_elements.h.
|
inlineexplicit |
Constructs an AbstractElement with a given identifier.
| id | Unique LhaID associated with this element. |
Definition at line 50 of file lha_elements.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Returns the binning associated to this element.
The convention is defined by derived classes. For LhaElement<T>, if no bin is defined, a dummy pair (-1.0, -1.0) is returned.
Implemented in LhaElement< T >.
|
inline |
Returns the identifier of the element.
The identifier encodes the integer indices of the line (e.g. PDG codes, matrix indices), excluding value/scale/scheme/bin.
Definition at line 60 of file lha_elements.h.
|
pure virtual |
Returns the renormalization scale of this element.
For blocks without a scale, derived classes typically return 0.
Implemented in LhaElement< T >.
|
pure virtual |
Converts the element into a DBNode for database/storage use.
The node typically stores:
Implemented in LhaElement< T >.
|
pure virtual |
Converts the element to a line-like string representation.
The exact format is implementation-dependent; for LhaElement<T> it typically contains:
Implemented in LhaElement< T >.
|
protected |
Unique identifier for the element.
Definition at line 42 of file lha_elements.h.