class Gambit::SLHASimpleSpec
[No description available] More…
Inherits from Gambit::Spec< Derived >, Gambit::SubSpectrum
Public Types
Name | |
---|---|
typedef SpecTraits< Derived >::Model | Model |
typedef SpecTraits< Derived >::Input | Input |
typedef MapTypes< Derived, MapTag::Get > | MTget |
Public Functions
Name | |
---|---|
virtual void | add_to_SLHAea(int , SLHAea::Coll & slha) const Add spectrum information to an SLHAea object. |
virtual double | GetScale() const (using bass class version of getSLHAea) |
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
Name | |
---|---|
Model | slhawrap |
Input | dummyinput |
Additional inherited members
Public Types inherited from Gambit::Spec< Derived >
Name | |
---|---|
typedef DerivedSpec | D |
typedef Spec< D > | Self |
typedef SpecTraits< D >::Contents | Contents |
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 & | 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< MTget > > | fill_getter_maps() |
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 |
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 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 |
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. |
Detailed Description
template <class Derived >
class Gambit::SLHASimpleSpec;
Public Types Documentation
typedef Model
typedef SpecTraits<Derived>::Model Gambit::SLHASimpleSpec< Derived >::Model;
typedef Input
typedef SpecTraits<Derived>::Input Gambit::SLHASimpleSpec< Derived >::Input;
typedef MTget
typedef MapTypes<Derived,MapTag::Get> Gambit::SLHASimpleSpec< Derived >::MTget;
Public Functions Documentation
function add_to_SLHAea
virtual void add_to_SLHAea(
int ,
SLHAea::Coll & slha
) const
Add spectrum information to an SLHAea object.
Reimplements: Gambit::SubSpectrum::add_to_SLHAea
Member functions for SLHASimpleSpec class.
Add spectrum information to an SLHAea object
function GetScale
inline virtual double GetScale() const
(using bass class version of getSLHAea)
Reimplements: Gambit::SubSpectrum::GetScale
Reimplemented by: Gambit::SMSimpleSpec::GetScale
RunningPars interface overrides
TODO: Currently assumes all blocks at same scale. Should at least check if this is true in constructor.
function SetScale
inline virtual void SetScale(
double
)
Reimplements: Gambit::SubSpectrum::SetScale
Manually set the renormalisation scale of parameters somewhat dangerous to allow this but may be needed
function RunToScaleOverride
inline virtual void RunToScaleOverride(
double
)
Run spectrum to new scale.
Reimplements: Gambit::SubSpectrum::RunToScaleOverride
Functions to be overridden in classes derived from Spec
function SLHASimpleSpec
inline SLHASimpleSpec()
function SLHASimpleSpec
inline SLHASimpleSpec(
const SLHAea::Coll & input_slha
)
function ~SLHASimpleSpec
inline virtual ~SLHASimpleSpec()
function get_Model
inline Model & get_Model()
function get_Input
inline Input & get_Input()
function get_Model
inline const Model & get_Model() const
function get_Input
inline const Input & get_Input() const
Protected Attributes Documentation
variable slhawrap
Model slhawrap;
variable dummyinput
Input dummyinput;
Updated on 2024-07-18 at 13:53:30 +0000