class Gambit::SMSimpleSpec

SM specialisation of SLHAea object wrapper version of SubSpectrum class.

#include <SMSimpleSpec.hpp>

Inherits from Gambit::SLHASimpleSpec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::SubSpectrum

Public Functions

Name
SMSimpleSpec()
Member functions for SMSimpleSpec class.
SMSimpleSpec(const SLHAea::Coll & slhainput)
Construct via SLHAea object.
SMSimpleSpec(const SMInputs & sminput)
Construct via SMINPUTS object.
SMSimpleSpec(const SMSimpleSpec & other)
Copy constructor: needed by clone function.
virtual~SMSimpleSpec()
virtual doubleGetScale() const
Hardcoded to return SLHA2 defined scale of light quark MSbar masses in SMINPUTS block (2 GeV)
GetterMapsfill_getter_maps()

Additional inherited members

Public Types inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >

Name
typedef SpecTraits< Derived >::ModelModel
typedef SpecTraits< Derived >::InputInput
typedef MapTypes< Derived, MapTag::Get >MTget

Public Functions inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >

Name
virtual voidadd_to_SLHAea(int , SLHAea::Coll & slha) const
Add spectrum information to an SLHAea object.
virtual voidSetScale(double )
virtual voidRunToScaleOverride(double )
Run spectrum to new scale.
SLHASimpleSpec()
SLHASimpleSpec(const SLHAea::Coll & input_slha)
virtual~SLHASimpleSpec()
Model &get_Model()
Input &get_Input()
const Model &get_Model() const
const Input &get_Input() const

Protected Attributes inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >

Name
Modelslhawrap
Inputdummyinput

Public Types inherited from Gambit::Spec< Derived >

Name
typedef DerivedSpecD
typedef Spec< D >Self
typedef SpecTraits< D >::ContentsContents
typedef SpecTraits< D >::ModelModel
typedef SpecTraits< D >::InputInput
typedef MapTypes< D, MapTag::Get >MTget
typedef MapTypes< D, MapTag::Set >MTset
typedef std::map< Par::Tags, MapCollection< MTget > >GetterMaps
typedef std::map< Par::Tags, MapCollection< MTset > >SetterMaps

Public Functions inherited from Gambit::Spec< Derived >

Name
Model &get_Model()
Input &get_Input()
const Model &get_Model() const
const Input &get_Input() const
Model &model()
Get model object on which to call function pointers.
const Model &model() const
Return it as const if we are a const object.
Input &input()
Get struct containing any extra data input on SubSpectrum object creation.
const Input &input() const
Return it as const if we are a const object.
virtual boolhas(const Par::Tags partype, const str & name, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const
Spec member function definitions.
virtual doubleget(const Par::Tags partype, const str & name, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const
virtual voidset(const Par::Tags partype, const double set_value, const str & name, const SafeBool =SafeBool(true))
virtual boolhas(const Par::Tags partype, const str & name, const int i, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const
virtual doubleget(const Par::Tags partype, const str & name, const int i, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const
virtual voidset(const Par::Tags partype, const double set_value, const str & name, const int i, const SafeBool =SafeBool(true))
virtual boolhas(const Par::Tags partype, const str & name, const int i, const int j, const SpecOverrideOptions =use_overrides) const
virtual doubleget(const Par::Tags partype, const str & name, const int i, const int j, const SpecOverrideOptions =use_overrides) const
virtual voidset(const Par::Tags partype, const double set_value, const str & name, const int i, const int j)
const std::map< Par::Tags, MapCollection< MTset > >fill_setter_maps()
intindex_offset()
virtual std::stringgetName() const
Main public interface functions.
Spec()
virtual~Spec()
Virtual destructor.
virtual std::unique_ptr< SubSpectrum >clone() const

Public Attributes inherited from Gambit::Spec< Derived >

Name
DummyModeldummymodel
DummyInputdummyinput
const GetterMapsgetter_maps
Initialise maps (uses filler overrides from DerivedSpec if defined)
const SetterMapssetter_maps

Friends inherited from Gambit::Spec< Derived >

Name
classFptrFinder

Public Functions inherited from Gambit::SubSpectrum

Name
SubSpectrum()
Constructors/destructors.
virtual~SubSpectrum()
virtual std::stringgetName() const =0
Main public interface functions.
virtual std::unique_ptr< SubSpectrum >clone() const =0
Clone the SubSpectrum object.
virtual voidwriteSLHAfile(int slha_version, const str & filename) const
Dump out spectrum information to an SLHA file (if possible)
virtual SLHAstructgetSLHAea(int slha_version) const
Get spectrum information in SLHAea format (if possible)
virtual voidadd_to_SLHAea(int , SLHAstruct & ) const
Add spectrum information to an SLHAea object (if possible)
virtual intget_numbers_stable_particles() const
virtual doublehard_upper() const
virtual doublesoft_upper() const
virtual doublesoft_lower() const
virtual doublehard_lower() const
virtual voidRunToScaleOverride(double )
Run spectrum to new scale.
virtual voidSetScale(double )
voidRunToScale(double scale, const int behave =0)
voidset_override(const Par::Tags partype, const double value, const str & name, const bool allow_new =false, const bool decouple =false)
Parameter override functions.
voidset_override(const Par::Tags partype, const double value, const str & name, const int i, const bool allow_new =false, const bool decouple =false)
voidset_override(const Par::Tags partype, const double value, const str & name, const int i, const int j, const bool allow_new =false)
voidset_override_vector(const Par::Tags tag, const double value, const std::vector< str > & params, const bool allow_new =false, const bool decouple =false)
Vector override functions.
voidset_override_vector(const Par::Tags tag, const double value, const std::vector< str > & params, const std::vector< int > indices, const bool allow_new =false, const bool decouple =false)
voidset_override_vector(const Par::Tags tag, const double value, const std::vector< str > & params, const int i, const bool allow_new =false, const bool decouple =false)
voidset_override_vector(const Par::Tags tag, const double value, const str & par, const std::vector< int > indices, const bool allow_new =false, const bool decouple =false)
boolhas(const Par::Tags partype, const int pdg_code, const int context, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
PDB getter/checker overloads.
doubleget(const Par::Tags partype, const int pdg_code, const int context, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
boolhas(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doubleget(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
boolhas(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doubleget(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doublesafeget(const Par::Tags partype, const str & mass, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
safeget functions, by Abram
doublesafeget(const Par::Tags partype, const str & mass, const int i, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doublesafeget(const Par::Tags partype, const str & mass, const int i, const int j, const SpecOverrideOptions =use_overrides) const
doublesafeget(const Par::Tags partype, const int pdg_code, const int context, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doublesafeget(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
doublesafeget(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const
voidset_override(const Par::Tags partype, const double value, const int PDGcode, const int context, const bool allow_new =false, const bool decouple =false)
PDB overloads for setters.
voidset_override(const Par::Tags partype, const double value, const std::pair< int, int > pdgpr, const bool allow_new =false, const bool decouple =false)
voidset_override(const Par::Tags partype, const double value, const std::pair< str, int > shortpr, const bool allow_new =false, const bool decouple =false)
PDB overloads of set_override functions.
virtual boolhas(const Par::Tags , const str & , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0
Getters/Setters etc.
virtual doubleget(const Par::Tags , const str & , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0
virtual boolhas(const Par::Tags , const str & , const int , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0
virtual doubleget(const Par::Tags , const str & , const int , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0
virtual boolhas(const Par::Tags , const str & , const int , const int , const SpecOverrideOptions =use_overrides) const =0
virtual doubleget(const Par::Tags , const str & , const int , const int , const SpecOverrideOptions =use_overrides) const =0
virtual voidset(const Par::Tags , const double , const str & , const SafeBool check_antiparticle =SafeBool(true)) =0
virtual voidset(const Par::Tags , const double , const str & , const int , const SafeBool check_antiparticle =SafeBool(true)) =0
virtual voidset(const Par::Tags , const double , const str & , const int , const int ) =0
virtual const std::map< int, int > &PDG_translator() const
TODO: extra PDB overloads to handle all the one and two index cases (well all the ones that are feasible…)

Protected Attributes inherited from Gambit::SubSpectrum

Name
std::map< Par::Tags, OverrideMaps >override_maps
Map of override maps.

Public Functions Documentation

function SMSimpleSpec

SMSimpleSpec()

Member functions for SMSimpleSpec class.

Constructors Default Constructor

function SMSimpleSpec

SMSimpleSpec(
    const SLHAea::Coll & slhainput
)

Construct via SLHAea object.

function SMSimpleSpec

SMSimpleSpec(
    const SMInputs & sminput
)

Construct via SMINPUTS object.

function SMSimpleSpec

SMSimpleSpec(
    const SMSimpleSpec & other
)

Copy constructor: needed by clone function.

function ~SMSimpleSpec

inline virtual ~SMSimpleSpec()

function GetScale

virtual double GetScale() const

Hardcoded to return SLHA2 defined scale of light quark MSbar masses in SMINPUTS block (2 GeV)

Reimplements: Gambit::SLHASimpleSpec::GetScale

function fill_getter_maps

static GetterMaps fill_getter_maps()

Map filler Used to initialise maps of function pointers

Fill for mass1 map

Fill Pole_mass map (from Model object)


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