|
GAMBIT
v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
|
#include <SLHASimpleSpec.hpp>
|
| 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 |
|
|
void | add_to_SLHAea (int, SLHAea::Coll &) const |
| Add spectrum information to an SLHAea object. More...
|
|
|
virtual double | GetScale () const |
| (using bass class version of getSLHAea) More...
|
|
virtual void | SetScale (double) |
| Manually set the renormalisation scale of parameters somewhat dangerous to allow this but may be needed. More...
|
|
virtual void | RunToScaleOverride (double) |
| Run spectrum to new scale. More...
|
|
std::string | getName () const |
| Main public interface functions. More...
|
|
| Spec () |
| Constructor This uses the "Contents" class to verify (once, not every construction) that this wrapper provides all the basic functionality that it is supposed to. More...
|
|
virtual | ~Spec () |
| Virtual destructor. More...
|
|
virtual std::unique_ptr< SubSpectrum > | clone () const |
| CRTP-style polymorphic clone function Now derived classes will not need to re-implement the clone function. More...
|
|
bool | has (const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool=SafeBool(true)) const |
| Spec member function definitions. More...
|
|
double | get (const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool=SafeBool(true)) const |
|
void | set (const Par::Tags, const double, const str &, const SafeBool=SafeBool(true)) |
|
bool | has (const Par::Tags, const str &, const int, const SpecOverrideOptions=use_overrides, const SafeBool=SafeBool(true)) const |
| One index. More...
|
|
double | get (const Par::Tags, const str &, const int, const SpecOverrideOptions=use_overrides, const SafeBool=SafeBool(true)) const |
|
void | set (const Par::Tags, const double, const str &, const int, const SafeBool=SafeBool(true)) |
|
bool | has (const Par::Tags, const str &, const int, const int, const SpecOverrideOptions=use_overrides) const |
| Two indices. More...
|
|
double | get (const Par::Tags, const str &, const int, const int, const SpecOverrideOptions=use_overrides) const |
|
void | set (const Par::Tags, const double, const str &, const int, const int) |
|
Model & | get_Model () |
|
const Model & | get_Model () const |
|
Input & | get_Input () |
|
const Input & | get_Input () const |
|
Model & | model () |
| Get model object on which to call function pointers. More...
|
|
const Model & | model () const |
| Return it as const if we are a const object. More...
|
|
Input & | input () |
| Get struct containing any extra data input on SubSpectrum object creation. More...
|
|
const Input & | input () const |
| Return it as const if we are a const object. More...
|
|
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...) More...
|
|
| SubSpectrum () |
| Constructors/destructors. More...
|
|
virtual | ~SubSpectrum () |
|
virtual void | writeSLHAfile (int, const str &) const |
| Dump out spectrum information to an SLHA file (if possible) More...
|
|
virtual SLHAstruct | getSLHAea (int) const |
| Get spectrum information in SLHAea format (if possible) More...
|
|
virtual int | get_numbers_stable_particles () const |
| There may be more than one new stable particle this method will tell you how many. More...
|
|
virtual double | hard_upper () const |
| Limits to RGE running; warning/error raised if running beyond these is attempted. More...
|
|
virtual double | soft_upper () const |
|
virtual double | soft_lower () const |
|
virtual double | hard_lower () const |
|
void | RunToScale (double scale, const int behave=0) |
| Run spectrum to a new scale This function is a wrapper for RunToScaleOverride which automatically checks limits and raises warnings. More...
|
|
void | set_override (const Par::Tags, const double, const str &, const bool allow_new=false, const bool decouple=false) |
| Parameter override functions. More...
|
|
void | set_override (const Par::Tags, const double, const str &, const int, const bool allow_new=false, const bool decouple=false) |
|
void | set_override (const Par::Tags, const double, const str &, const int, const int, const bool allow_new=false) |
|
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. More...
|
|
void | set_override_vector (const Par::Tags, const double, const std::vector< str > &, const std::vector< int >, const bool allow_new=false, const bool decouple=false) |
|
void | set_override_vector (const Par::Tags, const double, const std::vector< str > &, const int, const bool allow_new=false, const bool decouple=false) |
|
void | set_override_vector (const Par::Tags, const double, const str &, const std::vector< int >, const bool allow_new=false, const bool decouple=false) |
|
double | safeget (const Par::Tags, const str &, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
| safeget functions, by Abram More...
|
|
double | safeget (const Par::Tags, const str &, const int, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
double | safeget (const Par::Tags, const str &, const int, const int, const SpecOverrideOptions=use_overrides) const |
|
double | safeget (const Par::Tags, const int, const int, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
double | safeget (const Par::Tags, const std::pair< int, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
double | safeget (const Par::Tags, const std::pair< str, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
void | set_override (const Par::Tags, const double, const int, const int, const bool allow_new=false, const bool decouple=false) |
| PDB overloads for setters. More...
|
|
void | set_override (const Par::Tags, const double, const std::pair< int, int >, const bool allow_new=false, const bool decouple=false) |
|
void | set_override (const Par::Tags, const double, const std::pair< str, int >, const bool allow_new=false, const bool decouple=false) |
| PDB overloads of set_override functions. More...
|
|
bool | has (const Par::Tags, const int, const int, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
| PDB getter/checker overloads. More...
|
|
double | get (const Par::Tags, const int, const int, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
bool | has (const Par::Tags, const std::pair< int, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
double | get (const Par::Tags, const std::pair< int, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
bool | has (const Par::Tags, const std::pair< str, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
double | get (const Par::Tags, const std::pair< str, int >, const SpecOverrideOptions=use_overrides, const SafeBool check_antiparticle=SafeBool(true)) const |
|
template<class Derived>
class Gambit::SLHASimpleSpec< Derived >
Definition at line 64 of file SLHASimpleSpec.hpp.
◆ Input
◆ Model
◆ MTget
◆ SLHASimpleSpec() [1/2]
◆ SLHASimpleSpec() [2/2]
◆ ~SLHASimpleSpec()
◆ add_to_SLHAea()
Add spectrum information to an SLHAea object.
Member functions for SLHASimpleSpec class.
Add spectrum information to an SLHAea object
Reimplemented from Gambit::SubSpectrum.
Definition at line 157 of file SLHASimpleSpec.hpp.
175 SLHAea::Coll data_copy = data; 176 SLHAea::Coll::key_matches target_blocks[4] = { SLHAea::Coll::key_matches( "SMINPUTS"), SLHAea::Coll::key_matches( "VCKMIN"), SLHAea::Coll::key_matches( "UPMNSIN"), SLHAea::Coll::key_matches( "MASS") }; 177 for (SLHAea::Coll::iterator sblock = slha.begin(); sblock != slha.end(); ++sblock) 179 for (SLHAea::Coll::iterator dblock = data_copy.begin(); dblock != data_copy.end();) 181 bool delete_dblock = false; 182 for ( int i = 0; i < 3; i++) 184 if (target_blocks[i](*sblock) and target_blocks[i](*dblock)) delete_dblock = true; 186 if (delete_dblock) dblock = data_copy.erase(dblock); 190 for (SLHAea::Coll::iterator sblock = slha.begin(); sblock != slha.end();) 192 if (target_blocks[3](*sblock)) 194 if(slha[ "MASS"][24].is_data_line()) data_copy[ "MASS"][24] = slha[ "MASS"][24]; 195 sblock = slha.erase(sblock); 202 slha.insert(slha.end(), data_copy.cbegin(), data_copy.cend());
◆ get_Input() [1/2]
◆ get_Input() [2/2]
◆ get_Model() [1/2]
◆ get_Model() [2/2]
◆ GetScale()
(using bass class version of getSLHAea)
RunningPars interface overrides
TODO: Currently assumes all blocks at same scale. Should at least check if this is true in constructor.
Reimplemented from Gambit::SubSpectrum.
Reimplemented in Gambit::SMSimpleSpec.
Definition at line 109 of file SLHASimpleSpec.hpp.
117 scale = SLHAea::to<double>( data.at( "GAUGE").find_block_def()->at(3)); 119 catch ( const std::out_of_range& e) 121 std::ostringstream errmsg; 122 errmsg << "Could not find block \"GAUGE\" in SLHAea object. Received out_of_range error with message: " << e.what();
EXPORT_SYMBOLS error & utils_error() Utility errors.
◆ RunToScaleOverride()
Run spectrum to new scale.
Functions to be overridden in classes derived from Spec<Derived> (i.e. the final wrappers)
Reimplemented from Gambit::SubSpectrum.
Definition at line 136 of file SLHASimpleSpec.hpp.
139 "Call made to RunToScale function of SLHASimpleSpec! This is not allowed; this\n" 140 "version of the SubSpectrum wrapper cannot perform RGE It is just a\n" 141 "simple box containing SLHA information read from a file or SLHAea object.\n"); EXPORT_SYMBOLS error & utils_error() Utility errors.
◆ SetScale()
Manually set the renormalisation scale of parameters somewhat dangerous to allow this but may be needed.
Reimplemented from Gambit::SubSpectrum.
Definition at line 128 of file SLHASimpleSpec.hpp.
133 "Call made to SetScale function of SLHASimpleSpec! This is currently not implemented!"); EXPORT_SYMBOLS error & utils_error() Utility errors.
◆ dummyinput
◆ slhawrap
The documentation for this class was generated from the following file:
|