gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
MSSM20atX.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
42 
45 #include "gambit/Logs/logger.hpp"
47 
48 #include "gambit/Models/models/MSSM63atQ.hpp" // Contains declaration of MSSM_mA_to_MSSM_mhud and MSSMatX_to_MSSMatQ functions
55 
57 
58 
59 // General helper translation function definition
60 namespace Gambit {
62  {
63  // Send all parameter values upstream to matching parameters in parent.
64  // Ignore that some parameters don't exist in the parent, these are set below.
65  targetP.setValues(myP,false);
66 
67  // RH squark soft masses, gen 1 and 2
68  targetP.setValue("mq2_1", myP["mq2_12"] ); // mq2_11 in MSSM63
69  targetP.setValue("mq2_2", myP["mq2_12"] ); // mq2_22 " "
70  // RH slepton soft masses, gen 1 and 2
71  targetP.setValue("ml2_1", myP["ml2_12"] ); // ml2_11 in MSSM63
72  targetP.setValue("ml2_2", myP["ml2_12"] ); // ml2_22 " "
73  // LH down-type squark soft masses
74  targetP.setValue("md2_1", myP["md2_12"] ); // ml2_11 in MSSM63
75  targetP.setValue("md2_2", myP["md2_12"] ); // ml2_22 " "
76  // LH up-type squark soft masses
77  targetP.setValue("mu2_1", myP["mu2_12"] ); // mu2_11 in MSSM63
78  targetP.setValue("mu2_2", myP["mu2_12"] ); // mu2_22 " "
79  // LH charged slepton soft masses
80  targetP.setValue("me2_1", myP["me2_12"] ); // me2_11 in MSSM63
81  targetP.setValue("me2_2", myP["me2_12"] ); // me2_22 " "
82  // Done
83  }
84 }
85 #undef MODEL
86 
89 #define DEFINE_IAPFUNC(PARENT) \
90 void MODEL_NAMESPACE::CAT_3(MODEL,_to_,PARENT) (const ModelParameters &myP, ModelParameters &targetP) \
91 { \
92  logger()<<"Running interpret_as_parent calculations for " STRINGIFY(MODEL) " --> " STRINGIFY(PARENT) "..."<<LogTags::info<<EOM; \
93  MSSM20atX_to_MSSM25atX(myP, targetP); \
94 } \
95 
96 #define MODEL MSSM20atQ
97 DEFINE_IAPFUNC(MSSM25atQ)
98 #undef MODEL
99 #define MODEL MSSM20atQ_mA
100 DEFINE_IAPFUNC(MSSM25atQ_mA)
101 #undef MODEL
102 #define MODEL MSSM20atMGUT
103 DEFINE_IAPFUNC(MSSM25atMGUT)
104 #undef MODEL
105 #define MODEL MSSM20atMGUT_mA
106 DEFINE_IAPFUNC(MSSM25atMGUT_mA)
107 #undef MODEL
108 #define MODEL MSSM20atMSUSY
109 DEFINE_IAPFUNC(MSSM25atMSUSY)
110 #undef MODEL
111 #define MODEL MSSM20atMSUSY_mA
112 DEFINE_IAPFUNC(MSSM25atMSUSY_mA)
113 #undef MODEL
114 
117 #define MODEL MSSM20atQ_mA
118 void MODEL_NAMESPACE::MSSM20atQ_mA_to_MSSM20atQ(const ModelParameters &myP, ModelParameters &targetP)
119 {
120  logger()<<"Running interpret_as_X calculations for MSSM20atQ_mA --> MSSM20atQ."<<LogTags::info<<EOM;
121  USE_MODEL_PIPE(MSSM20atQ) // Need the pipe for the TARGET model
122  const SubSpectrum& HE = Dep::unimproved_MSSM_spectrum->get_HE();
123  MSSM_mA_to_MSSM_mhud(myP, targetP, HE);
124 }
125 #undef MODEL
126 
127 #define MODEL MSSM20atMGUT_mA
128 void MODEL_NAMESPACE::MSSM20atMGUT_mA_to_MSSM20atMGUT(const ModelParameters &myP, ModelParameters &targetP)
129 {
130  logger()<<"Running interpret_as_X calculations for MSSM20atMGUT_mA --> MSSM20atMGUT."<<LogTags::info<<EOM;
131  USE_MODEL_PIPE(MSSM20atMGUT) // Need the pipe for the TARGET model
132  const SubSpectrum& HE = Dep::unimproved_MSSM_spectrum->get_HE();
133  MSSM_mA_to_MSSM_mhud(myP, targetP, HE);
134 }
135 #undef MODEL
136 
137 #define MODEL MSSM20atMSUSY_mA
138 void MODEL_NAMESPACE::MSSM20atMSUSY_mA_to_MSSM20atMSUSY(const ModelParameters &myP, ModelParameters &targetP)
139 {
140  logger()<<"Running interpret_as_X calculations for MSSM20atMSUSY_mA --> MSSM20atMSUSY."<<LogTags::info<<EOM;
141  USE_MODEL_PIPE(MSSM20atMSUSY) // Need the pipe for the TARGET model
142  const SubSpectrum& HE = Dep::unimproved_MSSM_spectrum->get_HE();
143  MSSM_mA_to_MSSM_mhud(myP, targetP, HE);
144 }
145 #undef MODEL
146 
149 #define MODEL MSSM20atMGUT
150 void MODEL_NAMESPACE::MSSM20atMGUT_to_MSSM20atQ (const ModelParameters &myP, ModelParameters &targetP)
151 {
152  USE_MODEL_PIPE(MSSM20atQ) // Need pipe for TARGET model
153  logger()<<"Running interpret_as_X calculations for MSSM20atMGUT --> MSSM20atQ..."<<LogTags::info<<EOM;
154  const SubSpectrum& HE = Dep::unimproved_MSSM_spectrum->get_HE();
155  MSSMatX_to_MSSMatQ(myP, targetP, HE);
156 }
157 #undef MODEL
158 
159 #define MODEL MSSM20atMSUSY
160 void MODEL_NAMESPACE::MSSM20atMSUSY_to_MSSM20atQ (const ModelParameters &myP, ModelParameters &targetP)
161 {
162  USE_MODEL_PIPE(MSSM20atQ) // Need pipe for TARGET model
163  logger()<<"Running interpret_as_X calculations for MSSM20atMSUSY --> MSSM20atQ..."<<LogTags::info<<EOM;
164  const SubSpectrum& HE = Dep::unimproved_MSSM_spectrum->get_HE();
165  MSSMatX_to_MSSMatQ(myP, targetP, HE);
166 }
167 #undef MODEL
void MSSM_mA_to_MSSM_mhud(const ModelParameters &myP, ModelParameters &targetP, const SubSpectrum &HE)
This class is used to deliver both information defined in the Standard Model (or potentially just QED...
MSSM20atMGUT_mA model definition.
Logging access header for GAMBIT.
Helper macros for model definitions.
MSSM20atMSUSY_mA model definition.
General small utility functions.
void setValue(std::string const &inkey, double const &value)
Set single parameter value.
MSSM20atMSUSY model definition.
void MSSMatX_to_MSSMatQ(const ModelParameters &myP, ModelParameters &targetP, const SubSpectrum &HE)
Definition: MSSM63atX.cpp:44
#define USE_MODEL_PIPE(MODEL_X)
Macro to easily get the Pipes for an INTERPRET_AS_X function, for retrieving dependencies.
MSSM20atQ_mA model definition.
const Logging::endofmessage EOM
Explicit const instance of the end of message struct in Gambit namespace.
Definition: logger.hpp:99
void MSSM20atX_to_MSSM25atX(const ModelParameters &myP, ModelParameters &targetP)
Definition: MSSM20atX.cpp:61
Logging::LogMaster & logger()
Function to retrieve a reference to the Gambit global log object.
Definition: logger.cpp:95
#define DEFINE_IAPFUNC(PARENT)
Definition: MSSM20atX.cpp:89
void setValues(std::map< std::string, double > const &params_map, bool missing_is_error=true)
Set many parameter values using a map.
TODO: see if we can use this one:
Definition: Analysis.hpp:33
MSSM20atQ model definition.
MSSM20atMGUT model definition.