class Gambit::SLHASimpleSpec

[No description available] More…

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

Public Types

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

Public Functions

Name
virtual voidadd_to_SLHAea(int , SLHAea::Coll & slha) const
Add spectrum information to an SLHAea object.
virtual doubleGetScale() const
(using bass class version of getSLHAea)
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

Name
Modelslhawrap
Inputdummyinput

Additional inherited members

Public Types inherited from Gambit::Spec< Derived >

Name
typedef DerivedSpecD
typedef Spec< D >Self
typedef SpecTraits< D >::ContentsContents
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 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< MTget > >fill_getter_maps()
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
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 intget_numbers_stable_particles() const
virtual doublehard_upper() const
virtual doublesoft_upper() const
virtual doublesoft_lower() const
virtual doublehard_lower() const
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.

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 (i.e. the final wrappers)

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