class Gambit::SpecBit::MDMSpec

[No description available] More…

Inherits from Gambit::Spec< MDMSpec< MI > >, Gambit::SubSpectrum

Public Types

Name
typedef MDMSpec< MI >Self
typedef Self::MTgetMTget
typedef Self::MTsetMTset
typedef Self::GetterMapsGetterMaps
typedef Self::SetterMapsSetterMaps
typedef SpecTraits< Self >::ModelModel
typedef SpecTraits< Self >::InputInput

Public Functions

Name
SetterMapsfill_setter_maps()
intindex_offset()
Interface function overrides.
GetterMapsfill_getter_maps()
Map filler overrides.
virtual doubleGetScale() const
Returns the renormalisation scale of parameters.
virtual voidSetScale(double )
virtual voidRunToScaleOverride(double )
Run spectrum to new scale.
MDMSpec()
MDMSpec(MI mi, str backend_name, str backend_version)
virtual~MDMSpec()
Model &get_Model()
Input &get_Input()
const Model &get_Model() const
const Input &get_Input() const
virtual std::stringAccessError(std::string state) const
template <class MDMlike >
void
get_lowe_data_from(MDMlike & othermodel)
voidget_external_spectrum(typename MI::Model & othermodel)

Public Attributes

Name
MImodel_interface
DummyInputdummyinput

Additional inherited members

Public Types inherited from Gambit::Spec< MDMSpec< MI > >

Name
typedef DerivedSpecD
typedef SpecTraits< D >::ContentsContents

Public Functions inherited from Gambit::Spec< MDMSpec< MI > >

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)
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< MDMSpec< MI > >

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

Friends inherited from Gambit::Spec< MDMSpec< MI > >

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
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 MI >
class Gambit::SpecBit::MDMSpec;

Public Types Documentation

typedef Self

typedef MDMSpec<MI> Gambit::SpecBit::MDMSpec< MI >::Self;

These typedefs are inherited, but the name lookup doesn’t work so smoothly in templated wrapper classes, so need to help them along:

typedef MTget

typedef Self::MTget Gambit::SpecBit::MDMSpec< MI >::MTget;

typedef MTset

typedef Self::MTset Gambit::SpecBit::MDMSpec< MI >::MTset;

typedef GetterMaps

typedef Self::GetterMaps Gambit::SpecBit::MDMSpec< MI >::GetterMaps;

typedef SetterMaps

typedef Self::SetterMaps Gambit::SpecBit::MDMSpec< MI >::SetterMaps;

typedef Model

typedef SpecTraits<Self>::Model Gambit::SpecBit::MDMSpec< MI >::Model;

typedef Input

typedef SpecTraits<Self>::Input Gambit::SpecBit::MDMSpec< MI >::Input;

Public Functions Documentation

function fill_setter_maps

static SetterMaps fill_setter_maps()

mass2 - mass dimension 2 parameters

function index_offset

static inline int index_offset()

Interface function overrides.

function fill_getter_maps

static GetterMaps fill_getter_maps()

Map filler overrides.

function GetScale

virtual double GetScale() const

Returns the renormalisation scale of parameters.

Reimplements: Gambit::SubSpectrum::GetScale

function SetScale

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

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 MDMSpec

MDMSpec()

function MDMSpec

MDMSpec(
    MI mi,
    str backend_name,
    str backend_version
)

function ~MDMSpec

virtual ~MDMSpec()

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

function AccessError

virtual std::string AccessError(
    std::string state
) const

function get_lowe_data_from

template <class MDMlike >
inline void get_lowe_data_from(
    MDMlike & othermodel
)

function get_external_spectrum

inline void get_external_spectrum(
    typename MI::Model & othermodel
)

Public Attributes Documentation

variable model_interface

MI model_interface;

variable dummyinput

DummyInput dummyinput;

Updated on 2023-06-26 at 21:36:53 +0000