Gambit::SubSpectrum Class Referenceabstract Virtual base class for interacting with spectrum generator output. More...
Inheritance diagram for Gambit::SubSpectrum:
![]()
Collaboration diagram for Gambit::SubSpectrum:
![]()
Detailed DescriptionVirtual base class for interacting with spectrum generator output. Definition at line 87 of file subspectrum.hpp. Constructor & Destructor Documentation◆ SubSpectrum()
Constructors/destructors. Definition at line 92 of file subspectrum.hpp. std::map< Par::Tags, OverrideMaps > override_maps Map of override maps. Definition: subspectrum.hpp:268 static std::map< Par::Tags, OverrideMaps > create_override_maps() Initialiser function for override_maps. Definition: subspectrum.cpp:65 ◆ ~SubSpectrum()
Definition at line 93 of file subspectrum.hpp. References Gambit::Printers::HDF5::getName().
Here is the call graph for this function:
![]() Member Function Documentation◆ add_to_SLHAea()
Add spectrum information to an SLHAea object (if possible) Reimplemented in Gambit::MSSMSimpleSpec, Gambit::SpecBit::MSSMSpec< MI >, Gambit::SLHASimpleSpec< Derived >, Gambit::SLHASimpleSpec< SMSimpleSpec >, and Gambit::SLHASimpleSpec< MSSMSimpleSpec >. Definition at line 111 of file subspectrum.hpp. Referenced by getSLHAea(), and Gambit::Spectrum::getSLHAea().
Here is the caller graph for this function:
![]() ◆ clone()
Clone the SubSpectrum object. Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. Referenced by Gambit::Spectrum::clone_HE(), Gambit::Spectrum::clone_LE(), Gambit::SpecBit::light_quark_test(), Gambit::SpecBit::MSSMspectrum_test(), Gambit::SpecBit::run_lambda(), and Gambit::SpecBit::specbit_test_func3().
Here is the caller graph for this function:
![]() ◆ create_override_maps()
Initialiser function for override_maps. Initialiser function for empty map of override maps. Definition at line 65 of file subspectrum.cpp. References Gambit::Par::get_all().
Here is the call graph for this function:
![]() ◆ get() [1/6]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. Referenced by Gambit::SpecBit::add_extra_MSSM_parameter_combinations(), Gambit::slhahelp::add_MSSM_spectrum_to_SLHAea(), Gambit::DecayBit::chargino_plus_1_decays_smallsplit(), Gambit::SpecBit::check_perturb_MDM(), Gambit::DarkBit::DD_couplings_DiracSingletDM_Z2(), Gambit::DarkBit::DD_couplings_MajoranaSingletDM_Z2(), Gambit::DarkBit::DD_couplings_VectorSingletDM_Z2(), Gambit::DecayBit::DiracSingletDM_Higgs_decays(), Gambit::slhahelp::family_state_mix_matrix(), Gambit::Spectrum::get(), Gambit::slhahelp::get_gauge_admix_for_family_state(), Gambit::SpecBit::get_invisibles(), Gambit::slhahelp::get_mixing_element(), Gambit::slhahelp::get_Pole_Mixing_col(), Gambit::slhahelp::get_Pole_Mixing_row(), Gambit::DarkBit::get_ScalarSingletDM_DD_couplings(), Gambit::PrecisionBit::GM2C_SUSY(), main(), Gambit::DecayBit::MajoranaSingletDM_Higgs_decays(), Gambit::slhahelp::mass_es_closest_to_family(), Gambit::PrecisionBit::mh_from_MSSM_spectrum(), Gambit::PrecisionBit::mh_from_ScalarSingletDM_Z2_spectrum(), Gambit::PrecisionBit::mh_from_ScalarSingletDM_Z3_spectrum(), Gambit::PrecisionBit::mh_from_SM_spectrum(), Gambit::SpecBit::MSSM_higgs_couplings_pwid(), Gambit::DecayBit::MSSM_inv_Higgs_BF(), Gambit::MSSM_mA_to_MSSM_mhud(), Gambit::MSSMatX_to_MSSMatQ(), Gambit::ColliderBit::MSSMLikeHiggs_ModelParameters(), Gambit::SpecBit::MSSMspectrum_test(), Gambit::PrecisionBit::mw_from_DiracSingletDM_Z2_spectrum(), Gambit::PrecisionBit::mw_from_MajoranaSingletDM_Z2_spectrum(), Gambit::PrecisionBit::mw_from_MSSM_spectrum(), Gambit::PrecisionBit::mw_from_ScalarSingletDM_Z2_spectrum(), Gambit::PrecisionBit::mw_from_ScalarSingletDM_Z3_spectrum(), Gambit::PrecisionBit::mw_from_SM_spectrum(), Gambit::PrecisionBit::mw_from_VectorSingletDM_Z2_spectrum(), Gambit::DarkBit::RD_spectrum_MSSM(), Gambit::SpecBit::ScalarSingletDM_higgs_couplings_pwid(), Gambit::DecayBit::ScalarSingletDM_Higgs_decays(), Gambit::ColliderBit::set_SMLikeHiggs_ModelParameters(), Gambit::SLHAea_add_from_subspec(), Gambit::SMlike_higgs_PDG_code(), Gambit::DecayBit::stau_1_decays_smallsplit(), Gambit::DarkBit::TH_ProcessCatalog_DiracSingletDM_Z2(), Gambit::DarkBit::TH_ProcessCatalog_DS5_MSSM(), Gambit::DarkBit::TH_ProcessCatalog_DS_MSSM(), Gambit::DarkBit::TH_ProcessCatalog_MajoranaSingletDM_Z2(), Gambit::DarkBit::TH_ProcessCatalog_ScalarSingletDM_Z2(), Gambit::DarkBit::TH_ProcessCatalog_ScalarSingletDM_Z3(), Gambit::DarkBit::TH_ProcessCatalog_VectorSingletDM_Z2(), Gambit::PrecisionBit::update_H_masses(), Gambit::DecayBit::VectorSingletDM_Higgs_decays(), and Gambit::DecayBit::Z_gamma_chi_0_MSSM_tree().
Here is the caller graph for this function:
![]() ◆ get() [2/6]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ get() [3/6]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ get() [4/6]
Definition at line 88 of file subspectrum.cpp. ◆ get() [5/6]
Definition at line 106 of file subspectrum.cpp. References Gambit::Models::partmap::long_name(), and Gambit::Models::ParticleDB(). 111 return get( partype, Models::ParticleDB().long_name(pdgpr), check_overrides, check_antiparticle ); str long_name(str, int) const Retrieve the long name, from the short name and index. Definition: partmap.cpp:124
Here is the call graph for this function:
![]() ◆ get() [6/6]
Definition at line 124 of file subspectrum.cpp. ◆ get_numbers_stable_particles()
There may be more than one new stable particle this method will tell you how many. If more than zero you probbaly need to know what model you are working on, so we don't give all stable particles Reimplemented in Gambit::SpecBit::MSSMSpec< MI >. Definition at line 117 of file subspectrum.hpp. References LOCAL_INFO, and vfcn_error. #define vfcn_error(local_info) Helper macro for throwing errors in base class versions of virtual functions. Definition: subspectrum.hpp:50 ◆ getName()
Main public interface functions. Get name Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ GetScale()
Returns the renormalisation scale of parameters. Reimplemented in Gambit::SLHASimpleSpec< Derived >, Gambit::SLHASimpleSpec< SMSimpleSpec >, Gambit::SLHASimpleSpec< MSSMSimpleSpec >, Gambit::SMSimpleSpec, Gambit::SpecBit::ScalarSingletDM_Z2Spec< MI >, Gambit::SpecBit::ScalarSingletDM_Z3Spec< MI >, Gambit::SpecBit::MSSMSpec< MI >, and Gambit::SpecBit::MDMSpec< MI >. Definition at line 133 of file subspectrum.hpp. References LOCAL_INFO, and vfcn_error. Referenced by Gambit::slhahelp::add_MSSM_spectrum_to_SLHAea(), Gambit::SpecBit::exampleRead(), Gambit::PrecisionBit::GM2C_SUSY(), Gambit::SpecBit::MSSMspectrum_test(), Gambit::SpecBit::prepare_pass_MSSM_spectrum_to_vevacious(), Gambit::SpecBit::running_test(), SM_checks(), spec_manipulate(), spec_print(), Gambit::SpecBit::specbit_test_func2(), and Gambit::SpecBit::Spectrum_test(). #define vfcn_error(local_info) Helper macro for throwing errors in base class versions of virtual functions. Definition: subspectrum.hpp:50
Here is the caller graph for this function:
![]() ◆ getSLHAea()
Get spectrum information in SLHAea format (if possible) Definition at line 56 of file subspectrum.cpp. References Gambit::slhahelp::add_MODSEL_disclaimer(), and add_to_SLHAea(). Referenced by Gambit::SpecBit::prepare_pass_MSSM_spectrum_to_vevacious(), and writeSLHAfile(). virtual void add_to_SLHAea(int, SLHAstruct &) const Add spectrum information to an SLHAea object (if possible) Definition: subspectrum.hpp:111 void add_MODSEL_disclaimer(SLHAstruct &slha, const str &object) Add a disclaimer about the absence of a MODSEL block in a generated SLHAea object. Definition: mssm_slhahelp.cpp:75 SLHAea::Coll SLHAstruct Less confusing name for SLHAea container class. Definition: slhaea_helpers.hpp:41
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ hard_lower()
Definition at line 125 of file subspectrum.hpp. Referenced by RunToScale().
Here is the caller graph for this function:
![]() ◆ hard_upper()
Limits to RGE running; warning/error raised if running beyond these is attempted. If these aren't overridden in the derived class then effectively no limit on running will exist. These are public so that module writers can use them to check what the limits are. Definition at line 122 of file subspectrum.hpp. Referenced by RunToScale().
Here is the caller graph for this function:
![]() ◆ has() [1/6]
Getters/Setters etc. Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. Referenced by Gambit::slhahelp::add_MSSM_spectrum_to_SLHAea(), Gambit::Spectrum::get(), has(), Gambit::Spectrum::has(), Gambit::MSSM_mA_to_MSSM_mhud(), Gambit::MSSMatX_to_MSSMatQ(), set_override(), Gambit::ColliderBit::set_SMLikeHiggs_ModelParameters(), Gambit::SLHAea_add_from_subspec(), Gambit::SLHAea_add_QNumbers_from_subspec(), Gambit::SMlike_higgs_PDG_code(), and Gambit::SubSpectrumContents::verify_contents().
Here is the caller graph for this function:
![]() ◆ has() [2/6]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ has() [3/6]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ has() [4/6]
PDB getter/checker overloads. Definition at line 79 of file subspectrum.cpp. References has(). virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]() ◆ has() [5/6]
Definition at line 97 of file subspectrum.cpp. References has(), and Gambit::Models::ParticleDB(). 102 return has( partype, Models::ParticleDB().long_name(pdgpr), check_overrides, check_antiparticle );
virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]() ◆ has() [6/6]
Definition at line 115 of file subspectrum.cpp. References has(). virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]() ◆ PDG_translator()TODO: extra PDB overloads to handle all the one and two index cases (well all the ones that are feasible...) PDG code translation map, for special cases where an SLHA file has been read in and the PDG codes changed. Reimplemented in Gambit::MSSMSimpleSpec. Definition at line 257 of file subspectrum.hpp. Referenced by Gambit::Spectrum::PDG_translator().
Here is the caller graph for this function:
![]() ◆ RunToScale()Run spectrum to a new scale This function is a wrapper for RunToScaleOverride which automatically checks limits and raises warnings. Definition at line 550 of file subspectrum.cpp. References hard_lower(), hard_upper(), LOCAL_INFO, RunToScaleOverride(), soft_lower(), soft_upper(), Gambit::utils_error(), and Gambit::utils_warning(). Referenced by mssm_manipulate(), Gambit::Spectrum::RunBothToScale(), Gambit::SpecBit::running_test(), spec_manipulate(), and Gambit::SpecBit::Spectrum_test(). 557 msg << "RGE running requested outside hard limits! This is forbidden with behave=1. Set behave=0 (default) to automatically stop running at soft limits, or behave=2 to force running to requested scale (may trigger errors from underlying RGE code!)." << std::endl; 568 msg << "RGE running requested outside hard limits, but within soft limits! The soft limits should always be within the hard limits, so this is a bug in the derived SubSpectrum object being accessed. I cannot tell you which class this is though; check the dependency graph to see which ones are being created, and if necessary consult your debugger." << std::endl; 580 msg << "RGE running requested outside soft limits! Accuracy may be low. Note: Set behave=2 to suppress this warning, or behave=0 (default) to automatically stop running when soft limit is hit." << std::endl;
EXPORT_SYMBOLS warning & utils_warning() Utility warnings. Definition: standalone_error_handlers.cpp:34 virtual double hard_upper() const Limits to RGE running; warning/error raised if running beyond these is attempted. ... Definition: subspectrum.hpp:122
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ RunToScaleOverride()Run spectrum to new scale. Functions to be overridden in classes derived from Spec<Derived> (i.e. the final wrappers) Reimplemented in Gambit::SLHASimpleSpec< Derived >, Gambit::SLHASimpleSpec< SMSimpleSpec >, Gambit::SLHASimpleSpec< MSSMSimpleSpec >, Gambit::SpecBit::ScalarSingletDM_Z2Spec< MI >, Gambit::SpecBit::ScalarSingletDM_Z3Spec< MI >, Gambit::SpecBit::MSSMSpec< MI >, and Gambit::SpecBit::MDMSpec< MI >. Definition at line 131 of file subspectrum.hpp. References LOCAL_INFO, and vfcn_error. Referenced by RunToScale(). #define vfcn_error(local_info) Helper macro for throwing errors in base class versions of virtual functions. Definition: subspectrum.hpp:50
Here is the caller graph for this function:
![]() ◆ safeget() [1/6]
safeget functions, by Abram Definition at line 136 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error(). Referenced by Gambit::ColliderBit::get_sigma_ee_chi00(), Gambit::ColliderBit::get_sigma_ee_chipm(), Gambit::ColliderBit::get_sigma_ee_ll(), Gambit::DecayBit::MSSM_inv_Higgs_BF(), Gambit::DecayBit::stau_1_decays_smallsplit(), and Gambit::DecayBit::Z_gamma_chi_0_MSSM_tree().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ safeget() [2/6]
Definition at line 147 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error().
Here is the call graph for this function:
![]() ◆ safeget() [3/6]
Definition at line 158 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error().
Here is the call graph for this function:
![]() ◆ safeget() [4/6]
Definition at line 168 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error().
Here is the call graph for this function:
![]() ◆ safeget() [5/6]
Definition at line 179 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error().
Here is the call graph for this function:
![]() ◆ safeget() [6/6]
Definition at line 190 of file subspectrum.cpp. References LOCAL_INFO, and Gambit::utils_error().
Here is the call graph for this function:
![]() ◆ set() [1/3]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ set() [2/3]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ set() [3/3]
Implemented in Gambit::Spec< DerivedSpec >, Gambit::Spec< DiracSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSpec< MI > >, Gambit::Spec< SMSimpleSpec >, Gambit::Spec< Derived >, Gambit::Spec< MDMSpec< MI > >, Gambit::Spec< MajoranaSingletDM_Z2SimpleSpec >, Gambit::Spec< ScalarSingletDM_Z2Spec< MI > >, Gambit::Spec< ScalarSingletDM_Z3SimpleSpec >, Gambit::Spec< VectorSingletDM_Z2SimpleSpec >, Gambit::Spec< MSSMSimpleSpec >, Gambit::Spec< ScalarSingletDM_Z3Spec< MI > >, and Gambit::Spec< SMHiggsSimpleSpec >. ◆ set_override() [1/6]
Parameter override functions. Definition at line 205 of file subspectrum.cpp. References Gambit::Models::partmap::get_antiparticle(), has(), Gambit::Models::partmap::has_antiparticle(), Gambit::Models::partmap::has_particle(), LOCAL_INFO, override_maps, Gambit::Models::ParticleDB(), Gambit::Models::partmap::short_name_pair(), and Gambit::utils_error(). Referenced by Gambit::SpecBit::get_MSSM_spectrum_from_SLHAfile(), Gambit::PrecisionBit::make_MSSM_precision_spectrum_4H_W(), Gambit::PrecisionBit::make_MSSM_precision_spectrum_H(), Gambit::PrecisionBit::make_MSSM_precision_spectrum_H_W(), Gambit::SpecBit::run_FS_spectrum_generator(), set_override(), set_override_vector(), Gambit::PrecisionBit::update_H_masses(), and Gambit::PrecisionBit::update_W_masses(). 223 // SafeBool(false) set so we don't match on antiparticle; if anti-particle entry exists, need to convert to and set that override instead. 225 std::cout << "set_override "<<name<<" called (allow_new="<<allow_new<<", decouple="<<decouple<<"): checking zero index maps" << std::endl; 247 std::cout << "Found in one index override map with short name '"<<p.first<<","<<p.second<<"'; override added"<< std::endl; 269 errmsg << "Options 'decouple=true' and 'allow_new=false' set simultaneously, but this doesn't make sense. If you might be decoupling particle/antiparticle values for the first time then you *must* also set 'allow_new'." << std::endl; 290 std::cout << "Checking for antiparticle entry '"<<antiname<<"' in zero index override map"<< std::endl; 297 std::cout << "Found entry under antiparticle name '"<<antiname<<"' in zero index override map. Override added."<< std::endl; 303 std::cout << "Checking for entry under short antiparticle name + index in one index override map."<< std::endl; 311 std::cout << "Found entry under short antiparticle name + index in one index override map. Override added."<< std::endl; 321 std::cout << "No antiparticle match found, but 'allow_new'="<<allow_new<<", so adding entry to zero index override map." << std::endl; 332 std::cout << "Antiparticle doesn't exist, but 'allow_new'="<<allow_new<<", so adding entry to zero index override map." << std::endl; 339 errmsg << "No "<<Par::toString.at(partype)<<" with string reference '"<<name<<"' exists in the wrapped spectrum" <<std::endl; 340 errmsg << "If you intended to add this value to the spectrum without overriding anything, please call this function with the optional 'allow_new' boolean parameter set to 'true'. It can then be later retrieved using the normal getters with the same name used here." << std::endl; 352 errmsg << "No "<<Par::toString.at(partype)<<" with string reference '"<<name<<"' exists in the wrapped spectrum!" <<std::endl; 353 errmsg << "If you intended to add this value to the spectrum without overriding anything, please call this function with the optional 'allow_new' boolean parameter set to 'true'. It can then be later retrieved using the normal getters with the same name used here." << std::endl; std::pair< str, int > short_name_pair(str) const Retrieve the short name and index, from the long name. Definition: partmap.cpp:155 bool has_antiparticle(str) const Check if a particle has a matching anti-particle in the database, using the long name. Definition: partmap.cpp:277 str get_antiparticle(str) const Get the matching anti-particle long name for a particle in the database, using the long name... Definition: partmap.cpp:239 bool has_particle(str) const Check if a particle is in the database, using the long name. Definition: partmap.cpp:205 std::map< Par::Tags, OverrideMaps > override_maps Map of override maps. Definition: subspectrum.hpp:268 virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ set_override() [2/6]
Definition at line 358 of file subspectrum.cpp. References Gambit::Models::partmap::get_antiparticle(), has(), Gambit::Models::partmap::has_antiparticle(), Gambit::Models::partmap::has_particle(), LOCAL_INFO, Gambit::Models::partmap::long_name(), override_maps, Gambit::Models::ParticleDB(), and Gambit::utils_error(). 377 if( has(partype,name,i,use_overrides,SafeBool(false)) ) // Don't match anti-particle; will check that if other matching fails 406 errmsg << "Options 'decouple=true' and 'allow_new=false' set simultaneously, but this doesn't make sense. If you might be decoupling particle/antiparticle values for the first time then you *must* also set 'allow_new'." << std::endl; 418 if( has(partype,antiname,i,use_overrides,SafeBool(false)) ) // Don't match anti-particle; will check that if other matching fails 450 errmsg << "No "<<Par::toString.at(partype)<<" with string reference '"<<name<<"' exists in the wrapped spectrum" <<std::endl; 451 errmsg << "If you intended to add this value to the spectrum without overriding anything, please call this function with the optional 'allow_new' boolean parameter set to 'true'. It can then be later retrieved using the normal getters with the same name used here." << std::endl; 463 errmsg << "No "<<Par::toString.at(partype)<<" with string reference '"<<name<<"' exists in the wrapped spectrum!" <<std::endl; 464 errmsg << "If you intended to add this value to the spectrum without overriding anything, please call this function with the optional 'allow_new' boolean parameter set to 'true'. It can then be later retrieved using the normal getters with the same name used here." << std::endl;
str long_name(str, int) const Retrieve the long name, from the short name and index. Definition: partmap.cpp:124 bool has_antiparticle(str) const Check if a particle has a matching anti-particle in the database, using the long name. Definition: partmap.cpp:277 str get_antiparticle(str) const Get the matching anti-particle long name for a particle in the database, using the long name... Definition: partmap.cpp:239 bool has_particle(str) const Check if a particle is in the database, using the long name. Definition: partmap.cpp:205 std::map< Par::Tags, OverrideMaps > override_maps Map of override maps. Definition: subspectrum.hpp:268 virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]() ◆ set_override() [3/6]
Definition at line 470 of file subspectrum.cpp. References has(), LOCAL_INFO, override_maps, and Gambit::utils_error(). 477 errmsg << "No "<<Par::toString.at(partype)<<" with string reference '"<<name<<"' and indices '"<<i<<","<<j<<"' exists in the wrapped spectrum!" <<std::endl; 478 errmsg << "If you intended to add this value to the spectrum without overriding anything, please call this function with the optional 'allow_new' boolean parameter set to 'false'. It can then be later retrieved using the normal getters with the same name used here." << std::endl;
std::map< Par::Tags, OverrideMaps > override_maps Map of override maps. Definition: subspectrum.hpp:268 virtual bool has(const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const =0 Getters/Setters etc.
Here is the call graph for this function:
![]() ◆ set_override() [4/6]
PDB overloads for setters. Definition at line 493 of file subspectrum.cpp. References set_override(). void set_override(const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) Parameter override functions. Definition: subspectrum.cpp:205
Here is the call graph for this function:
![]() ◆ set_override() [5/6]
Definition at line 498 of file subspectrum.cpp. References Gambit::Models::ParticleDB(), and set_override(). 503 return set_override(partype, value, Models::ParticleDB().short_name_pair(pdgpr), allow_new, decouple); 507 return set_override(partype, value, Models::ParticleDB().long_name(pdgpr), allow_new, decouple);
void set_override(const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) Parameter override functions. Definition: subspectrum.cpp:205
Here is the call graph for this function:
![]() ◆ set_override() [6/6]
PDB overloads of set_override functions. Definition at line 487 of file subspectrum.cpp. References set_override(). void set_override(const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) Parameter override functions. Definition: subspectrum.cpp:205
Here is the call graph for this function:
![]() ◆ set_override_vector() [1/4]
Vector override functions. Definition at line 516 of file subspectrum.cpp. References set_override(). Referenced by Gambit::SpecBit::run_FS_spectrum_generator(), set_override_vector(), and Gambit::MSSMSimpleSpec::set_pole_mass_uncertainties(). void set_override(const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) Parameter override functions. Definition: subspectrum.cpp:205
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() ◆ set_override_vector() [2/4]
Definition at line 525 of file subspectrum.cpp. References set_override(). void set_override(const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) Parameter override functions. Definition: subspectrum.cpp:205
Here is the call graph for this function:
![]() ◆ set_override_vector() [3/4]
Definition at line 536 of file subspectrum.cpp. References set_override_vector(). void set_override_vector(const Par::Tags, const double, const std::vector< str > &, const bool allow_new=false, const bool decouple=false) Vector override functions. Definition: subspectrum.cpp:516
Here is the call graph for this function:
![]() ◆ set_override_vector() [4/4]
Definition at line 543 of file subspectrum.cpp. References set_override_vector(). void set_override_vector(const Par::Tags, const double, const std::vector< str > &, const bool allow_new=false, const bool decouple=false) Vector override functions. Definition: subspectrum.cpp:516
Here is the call graph for this function:
![]() ◆ SetScale()Manually set the renormalisation scale of parameters somewhat dangerous to allow this but may be needed. Reimplemented in Gambit::SLHASimpleSpec< Derived >, Gambit::SLHASimpleSpec< SMSimpleSpec >, Gambit::SLHASimpleSpec< MSSMSimpleSpec >, Gambit::SpecBit::ScalarSingletDM_Z2Spec< MI >, Gambit::SpecBit::ScalarSingletDM_Z3Spec< MI >, Gambit::SpecBit::MSSMSpec< MI >, and Gambit::SpecBit::MDMSpec< MI >. Definition at line 136 of file subspectrum.hpp. References double, int, LOCAL_INFO, and vfcn_error. #define vfcn_error(local_info) Helper macro for throwing errors in base class versions of virtual functions. Definition: subspectrum.hpp:50 ◆ soft_lower()
Definition at line 124 of file subspectrum.hpp. Referenced by RunToScale().
Here is the caller graph for this function:
![]() ◆ soft_upper()
Definition at line 123 of file subspectrum.hpp. Referenced by RunToScale().
Here is the caller graph for this function:
![]() ◆ writeSLHAfile()Dump out spectrum information to an SLHA file (if possible) SubSpectrum member function definitions. Dump out spectrum information to an SLHA file (if possible) Definition at line 40 of file subspectrum.cpp. References getSLHAea(), LOCAL_INFO, and Gambit::utils_error(). Referenced by Gambit::SpecBit::exampleRead(), and Gambit::SpecBit::MSSMspectrum_test(). virtual SLHAstruct getSLHAea(int) const Get spectrum information in SLHAea format (if possible) Definition: subspectrum.cpp:56
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() Member Data Documentation◆ empty_mapDefinition at line 261 of file subspectrum.hpp. ◆ override_maps
The documentation for this class was generated from the following files:
|