SLHAea
0.1
containers for SUSY Les Houches Accord input/output
|
Reference to a single field in a SLHA structure. More...
#include <slhaea.h>
Public Member Functions | |
Key (const Coll::key_type &_block, const Block::key_type &_line, const Line::size_type &_field) | |
Constructs a Key from explicit key values. More... | |
Key (const std::string &keyString) | |
Constructs a Key from a string. More... | |
Key (const char *keyString) | |
Constructs a Key from a string. More... | |
Key & | str (const std::string &keyString) |
Converts a string to a Key. More... | |
std::string | str () const |
Converts a Key into its string representation. More... | |
Public Attributes | |
Coll::key_type | block |
Name of the Block that contains the field. More... | |
Block::key_type | line |
First field(s) of the Line that contains the field. More... | |
Line::size_type | field |
Index of the field in the Line. More... | |
Reference to a single field in a SLHA structure.
This data type represents a reference to a single field in a SLHA structure, but which is independent of any concrete Coll object. That means that only the keys and the index of the Coll, Block, and Line containers of the corresponding field are stored. One of the main purposes of this data type is the conversion to string and vice versa in a way that the string representation of a Key can be used as a single field in a SLHA structure. For example, the string representation of a Key that refers to the entry in the first row and third column of the RVHMIX matrix is "RVHMIX;1,3;2"
. Further examples are "1000022;DECAY;2"
which refers to the total decay width of the lightest neutralino or "1000022;(any),2,11,24;0"
which refers to the branching ratio of the decay of the lightest neutralino into an electron and a W boson.
|
inline |
|
inline |
Constructs a Key from a string.
keyString | String from which the Key is constructed. |
|
inline |
Constructs a Key from a string.
keyString | String from which the Key is constructed. |
|
inline |
Converts a string to a Key.
keyString | String that represents a Key. |
*this
.
|
inline |
Converts a Key into its string representation.
Coll::key_type block |
Name of the Block that contains the field.
Block::key_type line |
First field(s) of the Line that contains the field.
Line::size_type field |
Index of the field in the Line.