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 double | GetScale() const Hardcoded to return SLHA2 defined scale of light quark MSbar masses in SMINPUTS block (2 GeV) |
GetterMaps | fill_getter_maps() |
Additional inherited members
Public Types inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >
Name | |
---|---|
typedef SpecTraits< Derived >::Model | Model |
typedef SpecTraits< Derived >::Input | Input |
typedef MapTypes< Derived, MapTag::Get > | MTget |
Public Functions inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >
Name | |
---|---|
virtual void | add_to_SLHAea(int , SLHAea::Coll & slha) const Add spectrum information to an SLHAea object. |
virtual void | SetScale(double ) |
virtual void | RunToScaleOverride(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 | |
---|---|
Model | slhawrap |
Input | dummyinput |
Public Types inherited from Gambit::Spec< Derived >
Name | |
---|---|
typedef DerivedSpec | D |
typedef Spec< D > | Self |
typedef SpecTraits< D >::Contents | Contents |
typedef SpecTraits< D >::Model | Model |
typedef SpecTraits< D >::Input | Input |
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 bool | has(const Par::Tags partype, const str & name, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const Spec member function definitions. |
virtual double | get(const Par::Tags partype, const str & name, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const |
virtual void | set(const Par::Tags partype, const double set_value, const str & name, const SafeBool =SafeBool(true)) |
virtual bool | has(const Par::Tags partype, const str & name, const int i, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const |
virtual double | get(const Par::Tags partype, const str & name, const int i, const SpecOverrideOptions =use_overrides, const SafeBool =SafeBool(true)) const |
virtual void | set(const Par::Tags partype, const double set_value, const str & name, const int i, const SafeBool =SafeBool(true)) |
virtual bool | has(const Par::Tags partype, const str & name, const int i, const int j, const SpecOverrideOptions =use_overrides) const |
virtual double | get(const Par::Tags partype, const str & name, const int i, const int j, const SpecOverrideOptions =use_overrides) const |
virtual void | set(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() |
int | index_offset() |
virtual std::string | getName() 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 | |
---|---|
DummyModel | dummymodel |
DummyInput | dummyinput |
const GetterMaps | getter_maps Initialise maps (uses filler overrides from DerivedSpec if defined) |
const SetterMaps | setter_maps |
Friends inherited from Gambit::Spec< Derived >
Name | |
---|---|
class | FptrFinder |
Public Functions inherited from Gambit::SubSpectrum
Name | |
---|---|
SubSpectrum() Constructors/destructors. | |
virtual | ~SubSpectrum() |
virtual std::string | getName() const =0 Main public interface functions. |
virtual std::unique_ptr< SubSpectrum > | clone() const =0 Clone the SubSpectrum object. |
virtual void | writeSLHAfile(int slha_version, const str & filename) const Dump out spectrum information to an SLHA file (if possible) |
virtual SLHAstruct | getSLHAea(int slha_version) const Get spectrum information in SLHAea format (if possible) |
virtual void | add_to_SLHAea(int , SLHAstruct & ) const Add spectrum information to an SLHAea object (if possible) |
virtual int | get_numbers_stable_particles() const |
virtual double | hard_upper() const |
virtual double | soft_upper() const |
virtual double | soft_lower() const |
virtual double | hard_lower() const |
virtual void | RunToScaleOverride(double ) Run spectrum to new scale. |
virtual void | SetScale(double ) |
void | RunToScale(double scale, const int behave =0) |
void | set_override(const Par::Tags partype, const double value, const str & name, const bool allow_new =false, const bool decouple =false) Parameter override functions. |
void | set_override(const Par::Tags partype, const double value, const str & name, const int i, const bool allow_new =false, const bool decouple =false) |
void | set_override(const Par::Tags partype, const double value, const str & name, const int i, const int j, const bool allow_new =false) |
void | set_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. |
void | set_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) |
void | set_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) |
void | set_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) |
bool | has(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. |
double | get(const Par::Tags partype, const int pdg_code, const int context, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
bool | has(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | get(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
bool | has(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | get(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | safeget(const Par::Tags partype, const str & mass, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const safeget functions, by Abram |
double | safeget(const Par::Tags partype, const str & mass, const int i, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | safeget(const Par::Tags partype, const str & mass, const int i, const int j, const SpecOverrideOptions =use_overrides) const |
double | safeget(const Par::Tags partype, const int pdg_code, const int context, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | safeget(const Par::Tags partype, const std::pair< int, int > pdgpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
double | safeget(const Par::Tags partype, const std::pair< str, int > shortpr, const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const |
void | set_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. |
void | set_override(const Par::Tags partype, const double value, const std::pair< int, int > pdgpr, const bool allow_new =false, const bool decouple =false) |
void | set_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 bool | has(const Par::Tags , const str & , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0 Getters/Setters etc. |
virtual double | get(const Par::Tags , const str & , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0 |
virtual bool | has(const Par::Tags , const str & , const int , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0 |
virtual double | get(const Par::Tags , const str & , const int , const SpecOverrideOptions =use_overrides, const SafeBool check_antiparticle =SafeBool(true)) const =0 |
virtual bool | has(const Par::Tags , const str & , const int , const int , const SpecOverrideOptions =use_overrides) const =0 |
virtual double | get(const Par::Tags , const str & , const int , const int , const SpecOverrideOptions =use_overrides) const =0 |
virtual void | set(const Par::Tags , const double , const str & , const SafeBool check_antiparticle =SafeBool(true)) =0 |
virtual void | set(const Par::Tags , const double , const str & , const int , const SafeBool check_antiparticle =SafeBool(true)) =0 |
virtual void | set(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