class Gambit::SLHAeaModel

Skeleton “model” class which interacts with an SLHAea object.

#include <SLHASimpleSpec.hpp>

Inherited by Gambit::MSSMea, Gambit::Models::DMsimpVectorMedDiracDMModel, Gambit::Models::DMsimpVectorMedMajoranaDMModel, Gambit::Models::DMsimpVectorMedScalarDMModel, Gambit::Models::DMsimpVectorMedVectorDMModel, Gambit::SMea

Public Functions

Name
SLHAeaModel()
Constructors.
SLHAeaModel(const SLHAea::Coll & input)
Constructor via SLHAea object.
intslha_version() const
Get the SLHA version of the internal SLHAea object.
const SLHAea::Coll &get_slhaea() const
Get the internal SLHAea object.
const std::map< int, int > &PDG_translator() const
PDG code translation map, for special cases where an SLHA file has been read in and the PDG codes changed.
doublegetdata(const std::string & block, int index) const
Helper functions to do error checking for SLHAea object contents.
doublegetdata(const std::string & block, int i, int j) const
Two indices.
boolcheckdata(const std::string & block, int index) const

Protected Attributes

Name
SLHAea::Colldata
SLHAea object.
intwrapped_slha_version
SLHA version of SLHAea object.
std::map< int, int >PDG_translation_map
PDG translation map (e.g. from SLHA1 to SLHA2 for MSSMskeleton)

Public Functions Documentation

function SLHAeaModel

SLHAeaModel()

Constructors.

Member functions for SLHAeaModel class.

Default Constructor

function SLHAeaModel

SLHAeaModel(
    const SLHAea::Coll & input
)

Constructor via SLHAea object.

function slha_version

int slha_version() const

Get the SLHA version of the internal SLHAea object.

function get_slhaea

const SLHAea::Coll & get_slhaea() const

Get the internal SLHAea object.

Get reference to internal SLHAea object.

function PDG_translator

const std::map< int, int > & PDG_translator() const

PDG code translation map, for special cases where an SLHA file has been read in and the PDG codes changed.

function getdata

double getdata(
    const std::string & block,
    int index
) const

Helper functions to do error checking for SLHAea object contents.

One index

function getdata

double getdata(
    const std::string & block,
    int i,
    int j
) const

Two indices.

function checkdata

bool checkdata(
    const std::string & block,
    int index
) const

Protected Attributes Documentation

variable data

SLHAea::Coll data;

SLHAea object.

variable wrapped_slha_version

int wrapped_slha_version;

SLHA version of SLHAea object.

variable PDG_translation_map

std::map< int, int > PDG_translation_map;

PDG translation map (e.g. from SLHA1 to SLHA2 for MSSMskeleton)


Updated on 2024-07-18 at 13:53:30 +0000