gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
Gambit::Models Namespace Reference

Forward declaration of Models::ModelFunctorClaw class for use in constructors. More...

Namespaces

 PARENT
 

Classes

struct  DiracSingletDM_Z2Model
 Simple extension of the SMHiggsSimpleSpec "model object" to include Dirac DM parameters We could easily just put these in the wrapper itself, but I am leaving them in a separate struct for the sake of building up examples towards a more complicated "model" object. More...
 
class  DiracSingletDM_Z2SimpleSpec
 
struct  MajoranaSingletDM_Z2Model
 Simple extension of the SMHiggsSimpleSpec "model object" to include Majorana DM parameters We could easily just put these in the wrapper itself, but I am leaving them in a separate struct for the sake of building up examples towards a more complicated "model" object. More...
 
class  MajoranaSingletDM_Z2SimpleSpec
 
class  ModelFunctorClaw
 Models object that performs initialisation and checking operations on a primary_model_functor list. More...
 
class  partmap
 
class  safe_param_map
 
struct  ScalarSingletDM_Z2Model
 Simple extension of the SMHiggsSimpleSpec "model object" to include scalar singlet DM parameters We could easily just put these in the wrapper itself, but I am leaving them in a separate struct for the sake of building up examples towards a more complicated "model" object. More...
 
class  ScalarSingletDM_Z2SimpleSpec
 
struct  ScalarSingletDM_Z3Model
 
class  ScalarSingletDM_Z3SimpleSpec
 
struct  VectorSingletDM_Z2Model
 Simple extension of the SMHiggsSimpleSpec "model object" to include vector DM parameters We could easily just put these in the wrapper itself, but I am leaving them in a separate struct for the sake of building up examples towards a more complicated "model" object. More...
 
class  VectorSingletDM_Z2SimpleSpec
 

Typedefs

typedef std::string str
 
typedef std::vector< primary_model_functor * > primodel_vec
 
typedef std::map< str, primary_model_functor * > activemodel_map
 
typedef std::map< std::string, primary_model_functor * >::const_iterator activemodel_it
 

Functions

ModelFunctorClawModelDB ()
 Claw accessor function. More...
 
void set_many_to_one (ModelParameters &myP, const std::vector< std::string > &v, const double value)
 
partmapParticleDB ()
 Database accessor function. More...
 
void define_particles (partmap *)
 Declare redirected constructor. More...
 

Detailed Description

Forward declaration of Models::ModelFunctorClaw class for use in constructors.

Typedef Documentation

◆ activemodel_it

typedef std::map<std::string, primary_model_functor *>::const_iterator Gambit::Models::activemodel_it

Definition at line 41 of file models.cpp.

◆ activemodel_map

Definition at line 51 of file models.hpp.

◆ primodel_vec

Definition at line 50 of file models.hpp.

◆ str

typedef std::string Gambit::Models::str

Definition at line 49 of file models.hpp.

Function Documentation

◆ define_particles()

void Gambit::Models::define_particles ( partmap )

Declare redirected constructor.

Referenced by ParticleDB(), and Gambit::Models::partmap::partmap().

Here is the caller graph for this function:

◆ ModelDB()

ModelFunctorClaw & Gambit::Models::ModelDB ( )

Claw accessor function.

Definition at line 26 of file claw_singleton.cpp.

Referenced by Gambit::add_model(), Gambit::copy_parameters(), Gambit::Core(), and main().

27  {
28  static ModelFunctorClaw local;
29  return local;
30  }
Here is the caller graph for this function:

◆ ParticleDB()

◆ set_many_to_one()

void Gambit::Models::set_many_to_one ( ModelParameters myP,
const std::vector< std::string > &  v,
const double  value 
)
inline

Definition at line 32 of file model_helpers.hpp.

References Gambit::ModelParameters::setValue().

33  {
34  for(std::vector<std::string>::const_iterator it = v.begin(); it != v.end(); ++it)
35  {
36  myP.setValue(*it, value);
37  }
38  }
Here is the call graph for this function: