gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool

SM specialisation of SLHAea object wrapper version of SubSpectrum class. More...

#include <SMSimpleSpec.hpp>

Inheritance diagram for Gambit::SMSimpleSpec:
Collaboration diagram for Gambit::SMSimpleSpec:

Public Member Functions

virtual ~SMSimpleSpec ()
 
virtual double GetScale () const
 Hardcoded to return SLHA2 defined scale of light quark MSbar masses in SMINPUTS block (2 GeV) More...
 
 SMSimpleSpec ()
 Member functions for SMSimpleSpec class. More...
 
 SMSimpleSpec (const SLHAea::Coll &)
 Construct via SLHAea object. More...
 
 SMSimpleSpec (const SMInputs &)
 Construct via SMINPUTS object. More...
 
 SMSimpleSpec (const SMSimpleSpec &)
 Copy constructor: needed by clone function. More...
 
- Public Member Functions inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >
 SLHASimpleSpec ()
 
 SLHASimpleSpec (const SLHAea::Coll &input_slha)
 
virtual ~SLHASimpleSpec ()
 
Modelget_Model ()
 
const Modelget_Model () const
 
Inputget_Input ()
 
const Inputget_Input () const
 
void add_to_SLHAea (int, SLHAea::Coll &) const
 Add spectrum information to an SLHAea object. 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...
 
- Public Member Functions inherited from Gambit::Spec< SMSimpleSpec >
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< SubSpectrumclone () 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)
 
Modelget_Model ()
 
const Modelget_Model () const
 
Inputget_Input ()
 
const Inputget_Input () const
 
Modelmodel ()
 Get model object on which to call function pointers. More...
 
const Modelmodel () const
 Return it as const if we are a const object. More...
 
Inputinput ()
 Get struct containing any extra data input on SubSpectrum object creation. More...
 
const Inputinput () const
 Return it as const if we are a const object. More...
 
- Public Member Functions inherited from Gambit::SubSpectrum
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
 

Static Public Member Functions

static GetterMaps fill_getter_maps ()
 Map filler Used to initialise maps of function pointers. More...
 
- Static Public Member Functions inherited from Gambit::Spec< SMSimpleSpec >
static const std::map< Par::Tags, MapCollection< MTget > > fill_getter_maps ()
 
static const std::map< Par::Tags, MapCollection< MTset > > fill_setter_maps ()
 
static int index_offset ()
 Get integer offset convention used by internal model class (needed by getters which take indices) By default assume no offset. More...
 

Additional Inherited Members

- Public Types inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >
typedef SpecTraits< SMSimpleSpec >::Model Model
 
typedef SpecTraits< SMSimpleSpec >::Input Input
 
typedef MapTypes< SMSimpleSpec, MapTag::GetMTget
 
- Public Types inherited from Gambit::Spec< SMSimpleSpec >
typedef SMSimpleSpec D
 
typedef Spec< DSelf
 
typedef SpecTraits< D >::Contents Contents
 Note: Wrapper need to define a specialisation of SpecTraits, which typedefs Model and Input. More...
 
typedef SpecTraits< D >::Model Model
 
typedef SpecTraits< D >::Input Input
 
typedef MapTypes< D, MapTag::GetMTget
 
typedef MapTypes< D, MapTag::SetMTset
 
typedef std::map< Par::Tags, MapCollection< MTget > > GetterMaps
 Will need a map of map collections for both the getters and setters, containing the map collections for the permitted parameter types. More...
 
typedef std::map< Par::Tags, MapCollection< MTset > > SetterMaps
 
- Public Attributes inherited from Gambit::Spec< SMSimpleSpec >
DummyModel dummymodel
 Default "null" versions of get_Model and get_Input, to be used if wrapper does not override them. More...
 
DummyInput dummyinput
 
- Static Public Attributes inherited from Gambit::Spec< SMSimpleSpec >
static const GetterMaps getter_maps
 Initialise maps (uses filler overrides from DerivedSpec if defined) More...
 
static const SetterMaps setter_maps
 
- Protected Attributes inherited from Gambit::SLHASimpleSpec< SMSimpleSpec >
Model slhawrap
 
Input dummyinput
 
- Protected Attributes inherited from Gambit::SubSpectrum
std::map< Par::Tags, OverrideMapsoverride_maps
 Map of override maps. More...
 

Detailed Description

SM specialisation of SLHAea object wrapper version of SubSpectrum class.

Definition at line 88 of file SMSimpleSpec.hpp.

Constructor & Destructor Documentation

◆ SMSimpleSpec() [1/4]

Gambit::SMSimpleSpec::SMSimpleSpec ( )

Member functions for SMSimpleSpec class.

Constructors Default Constructor

Definition at line 132 of file SMSimpleSpec.cpp.

133  {}

◆ SMSimpleSpec() [2/4]

Gambit::SMSimpleSpec::SMSimpleSpec ( const SLHAea::Coll &  slhainput)

Construct via SLHAea object.

Definition at line 136 of file SMSimpleSpec.cpp.

◆ SMSimpleSpec() [3/4]

Gambit::SMSimpleSpec::SMSimpleSpec ( const SMInputs sminput)

Construct via SMINPUTS object.

Definition at line 141 of file SMSimpleSpec.cpp.

142  : SLHASimpleSpec(sminput.getSLHAea())
143  {}

◆ SMSimpleSpec() [4/4]

Gambit::SMSimpleSpec::SMSimpleSpec ( const SMSimpleSpec other)

Copy constructor: needed by clone function.

Definition at line 146 of file SMSimpleSpec.cpp.

◆ ~SMSimpleSpec()

virtual Gambit::SMSimpleSpec::~SMSimpleSpec ( )
inlinevirtual

Definition at line 97 of file SMSimpleSpec.hpp.

97 {};

Member Function Documentation

◆ fill_getter_maps()

SMSimpleSpec::GetterMaps Gambit::SMSimpleSpec::fill_getter_maps ( )
static

Map filler Used to initialise maps of function pointers.

Fill for mass1 map

Fill Pole_mass map (from Model object)

Definition at line 159 of file SMSimpleSpec.cpp.

References Gambit::Par::dimensionless, Gambit::Utils::endA(), Gambit::SMea::get_alpha(), Gambit::SMea::get_alphaS(), Gambit::SMea::get_MbMb(), Gambit::SMea::get_McMc(), Gambit::SMea::get_md(), Gambit::SMea::get_Melectron_pole(), Gambit::SMea::get_MGluon(), Gambit::SMea::get_MGluon_pole(), Gambit::SMea::get_Mmuon_pole(), Gambit::SMea::get_Mnu1_pole(), Gambit::SMea::get_Mnu2_pole(), Gambit::SMea::get_Mnu3_pole(), Gambit::SMea::get_MPhoton(), Gambit::SMea::get_MPhoton_pole(), Gambit::SMea::get_ms(), Gambit::SMea::get_Mtau_pole(), Gambit::SMea::get_Mtop_pole(), Gambit::SMea::get_mu(), Gambit::SMea::get_MW_pole(), Gambit::SMea::get_MW_unc(), Gambit::SMea::get_MZ_pole(), Gambit::SMea::get_sinthW2_pole(), Gambit::Par::mass1, Gambit::Par::Pole_Mass, Gambit::Par::Pole_Mass_1srd_high, Gambit::Par::Pole_Mass_1srd_low, and Gambit::Par::Pole_Mixing.

160  {
161  GetterMaps map_collection;
162 
163  typedef MTget::FInfo1 FInfo1;
164 
165  // Can't use c++11 initialiser lists, se have to initialise the index sets like this.
166  static const int i123v[] = {1,2,3};
167  static const std::set<int> i123(i123v, Utils::endA(i123v));
168 
169 
171  {
172  MTget::fmap0 tmp_map;
173 
174  tmp_map["gamma"] = &SMea::get_MPhoton;
175  tmp_map["g"] = &SMea::get_MGluon;
176 
177  //tmp_map["u_1"] = &SMea::get_mu; // u
178  //tmp_map["d_1"] = &SMea::get_md; // d
179  //tmp_map["d_2"] = &SMea::get_ms; // s
180 
181  // Nearest flavour 'aliases' for the SM mass eigenstates
182  tmp_map["u"] = &SMea::get_mu; // u
183  tmp_map["d"] = &SMea::get_md; // d
184  tmp_map["s"] = &SMea::get_ms; // s
185 
186  tmp_map["e-_3"]= &SMea::get_Mtau_pole; // tau
187  tmp_map["e-_2"]= &SMea::get_Mmuon_pole; // mu
188  tmp_map["e-_1"]= &SMea::get_Melectron_pole;
189 
190  map_collection[Par::mass1].map0 = tmp_map;
191  }
192 
193  {
194  MTget::fmap1 tmp_map;
195  tmp_map["d"] = FInfo1( &Model::get_mD, i123 );
196  tmp_map["u"] = FInfo1( &Model::get_mU, i123 );
197  //tmp_map["e-"] = FInfo1( &Model::get_me, i123456 );
198 
199  map_collection[Par::mass1].map1 = tmp_map;
200  }
201 
203  {
204  { //local scoping block
205  MTget::fmap0 tmp_map;
206 
207 
208  tmp_map["Z0"] = &SMea::get_MZ_pole;
209  tmp_map["W+"] = &SMea::get_MW_pole;
210  tmp_map["gamma"] = &SMea::get_MPhoton_pole;
211  tmp_map["g"] = &SMea::get_MGluon_pole;
212 
213  tmp_map["d_3"] = &SMea::get_MbMb; // b
214  tmp_map["u_2"] = &SMea::get_McMc; // c
215  tmp_map["u_3"] = &SMea::get_Mtop_pole; //t
216  tmp_map["e-_3"]= &SMea::get_Mtau_pole; // tau
217  tmp_map["e-_2"]= &SMea::get_Mmuon_pole; // mu
218  tmp_map["e-_1"]= &SMea::get_Melectron_pole;
219  tmp_map["nu_1"]= &SMea::get_Mnu1_pole;
220  tmp_map["nu_2"]= &SMea::get_Mnu2_pole;
221  tmp_map["nu_3"]= &SMea::get_Mnu3_pole;
222 
223  // Nearest flavour 'aliases' for the SM mass eigenstates
224  tmp_map["b"] = &SMea::get_MbMb; // b
225  tmp_map["c"] = &SMea::get_McMc; // c
226  tmp_map["t"] = &SMea::get_Mtop_pole; //t
227  tmp_map["tau-"]= &SMea::get_Mtau_pole; // tau
228  tmp_map["mu-"] = &SMea::get_Mmuon_pole; // mu
229  tmp_map["e-"] = &SMea::get_Melectron_pole;
230 
231 
232  map_collection[Par::Pole_Mass].map0 = tmp_map;
233  }
234 
235  { // fill W mass uncertainties
236  MTget::fmap0 tmp_map;
237  tmp_map["W+"] = &SMea::get_MW_unc;
238  map_collection[Par::Pole_Mass_1srd_high].map0 = tmp_map;
239  }
240 
241  {
242  MTget::fmap0 tmp_map;
243  tmp_map["W+"] = &SMea::get_MW_unc;
244  map_collection[Par::Pole_Mass_1srd_low].map0 = tmp_map;
245  }
246 
247 
248  { //local scoping block
249  MTget::fmap0 tmp_map;
250 
251  tmp_map["sinW2"] = &SMea::get_sinthW2_pole;
252 
253  map_collection[Par::Pole_Mixing].map0 = tmp_map;
254  }
255 
256  {
257  MTget::fmap0 tmp_map;
258 
259  tmp_map["alpha"] = &SMea::get_alpha;
260  tmp_map["alphaS"] = &SMea::get_alphaS;
261 
262  map_collection[Par::dimensionless].map0 = tmp_map;
263  }
264 
265  }
266 
267  return map_collection;
268  }
double get_Mmuon_pole() const
double get_sinthW2_pole() const
double get_McMc() const
double get_Mnu3_pole() const
double get_MW_unc() const
double get_MPhoton() const
double get_Mnu1_pole() const
double get_alphaS() const
double get_mu() const
double get_MPhoton_pole() const
double get_Mtop_pole() const
double get_MZ_pole() const
Getters for SM information.
double get_MGluon_pole() const
double get_MGluon() const
double get_MW_pole() const
double get_alpha() const
double get_md() const
Running masses.
T * endA(T(&arr)[N])
double get_Melectron_pole() const
double get_ms() const
double get_Mnu2_pole() const
std::map< Par::Tags, MapCollection< MTget > > GetterMaps
Will need a map of map collections for both the getters and setters, containing the map collections f...
Definition: spec_head.hpp:248
double get_Mtau_pole() const
double get_MbMb() const
Here is the call graph for this function:

◆ GetScale()

double Gambit::SMSimpleSpec::GetScale ( ) const
virtual

Hardcoded to return SLHA2 defined scale of light quark MSbar masses in SMINPUTS block (2 GeV)

Reimplemented from Gambit::SLHASimpleSpec< SMSimpleSpec >.

Definition at line 153 of file SMSimpleSpec.cpp.

153 { return 2; }

The documentation for this class was generated from the following files: