#include <GeneralTHDMZ2.h>
Definition at line 14 of file GeneralTHDMZ2.h.
|
bool | CheckModelType (const std::string modeltype) const |
| A method to check if the model type name in string form is valid. More...
|
|
virtual void | setParameter (const std::string, const double &) |
| A method to set the value of a parameter of GeneralTHDMZ2. More...
|
|
◆ GeneralTHDMZ2()
GeneralTHDMZ2::GeneralTHDMZ2 |
( |
| ) |
|
GeneralTHDMZ2 constructor.
Definition at line 12 of file GeneralTHDMZ2.cpp.
14 ModelParamMap.insert(std::make_pair(
"tanb", std::cref(
tanb)));
15 ModelParamMap.insert(std::make_pair(
"bma", std::cref(
bma)));
16 ModelParamMap.insert(std::make_pair(
"m12_2", std::cref(
m12_2)));
double m12_2
parameters exclusively in Z2 models: tan(beta), beta-alpha, m_12^2
◆ ~GeneralTHDMZ2()
GeneralTHDMZ2::~GeneralTHDMZ2 |
( |
| ) |
|
◆ CheckModelType()
bool GeneralTHDMZ2::CheckModelType |
( |
const std::string |
modeltype | ) |
const |
|
protected |
A method to check if the model type name in string form is valid.
- Parameters
-
- Returns
- a boolean that is true if the model type name is valid
Definition at line 203 of file GeneralTHDMZ2.cpp.
205 if (modeltype.compare(
"type1") == 0 ||
206 modeltype.compare(
"type2") == 0 ||
207 modeltype.compare(
"typeX") == 0 ||
208 modeltype.compare(
"typeY") == 0 ||
209 modeltype.compare(
"inert") == 0 )
◆ CheckParameters()
bool GeneralTHDMZ2::CheckParameters |
( |
const std::map< std::string, double > & |
DPars | ) |
|
|
virtual |
A method to check if all the mandatory parameters for GeneralTHDMZ2 have been provided in model initialization.
- Parameters
-
[in] | DPars | a map of the parameters that are being updated in the Monte Carlo run (including parameters that are varied and those that are held constant) |
- Returns
- a boolean that is true if the execution is successful
Definition at line 165 of file GeneralTHDMZ2.cpp.
169 std::cout <<
"ERROR: missing mandatory GeneralTHDMZ2 parameter " <<
GeneralTHDMZ2vars[i] << std::endl;
170 raiseMissingModelParameterCount();
174 return(GeneralTHDM::CheckParameters(
DPars));
std::map< std::string, double > DPars
static const int NGeneralTHDMZ2vars
static const std::string GeneralTHDMZ2vars[NGeneralTHDMZ2vars]
◆ getbeta_Z2()
double GeneralTHDMZ2::getbeta_Z2 |
( |
| ) |
const |
|
inline |
A getter for \(\beta\).
- Returns
- \(\beta\)
Definition at line 91 of file GeneralTHDMZ2.h.
◆ getbma_Z2()
double GeneralTHDMZ2::getbma_Z2 |
( |
| ) |
const |
|
inline |
A getter for the difference between \(\beta\) and \(\alpha\).
- Returns
- \(\beta - \alpha\)
Definition at line 127 of file GeneralTHDMZ2.h.
◆ getcosb_Z2()
double GeneralTHDMZ2::getcosb_Z2 |
( |
| ) |
const |
|
inline |
A getter for the cosine of \(\beta\).
- Returns
- \(\cos \beta\)
Definition at line 118 of file GeneralTHDMZ2.h.
◆ getlambda1_Z2()
double GeneralTHDMZ2::getlambda1_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\lambda_1\).
- Returns
- \(\lambda_1\) in the basis where the Z2 symmetry is imposed
Definition at line 145 of file GeneralTHDMZ2.h.
◆ getlambda2_Z2()
double GeneralTHDMZ2::getlambda2_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\lambda_2\).
- Returns
- \(\lambda_2\) in the basis where the Z2 symmetry is imposed
Definition at line 155 of file GeneralTHDMZ2.h.
◆ getlambda3_Z2()
double GeneralTHDMZ2::getlambda3_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\lambda_3\).
- Returns
- \(\lambda_3\) in the basis where the Z2 symmetry is imposed
Definition at line 165 of file GeneralTHDMZ2.h.
◆ getlambda4_Z2()
double GeneralTHDMZ2::getlambda4_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\lambda_4\).
- Returns
- \(\lambda_4\) in the basis where the Z2 symmetry is imposed
Definition at line 174 of file GeneralTHDMZ2.h.
◆ getlambda5_Z2()
double GeneralTHDMZ2::getlambda5_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\lambda_5\).
- Returns
- \(\lambda_5\) in the basis where the Z2 symmetry is imposed
Definition at line 183 of file GeneralTHDMZ2.h.
◆ getm12sq_Z2()
double GeneralTHDMZ2::getm12sq_Z2 |
( |
| ) |
const |
|
inline |
A getter for the parameter of the scalar potential \(\m_{12}^2\).
- Returns
- \(\m_{12}^2\) in the basis where the Z2 symmetry is imposed
Definition at line 136 of file GeneralTHDMZ2.h.
◆ getsinb_Z2()
double GeneralTHDMZ2::getsinb_Z2 |
( |
| ) |
const |
|
inline |
A getter for the sine of \(\beta\).
- Returns
- \(\sin \beta\)
Definition at line 109 of file GeneralTHDMZ2.h.
◆ gettanb_Z2()
double GeneralTHDMZ2::gettanb_Z2 |
( |
| ) |
const |
|
inline |
A getter for the tangent of \(\beta\).
- Returns
- \(\tan \beta\)
Definition at line 100 of file GeneralTHDMZ2.h.
◆ getWFRflag_Z2()
bool GeneralTHDMZ2::getWFRflag_Z2 |
( |
| ) |
const |
|
inline |
A getter for the chosen option to include WFR in NLO unitarity.
- Returns
- a boolean that is true if WFR is to be used, false if not
Definition at line 199 of file GeneralTHDMZ2.h.
◆ getZ2ModelType()
std::string GeneralTHDMZ2::getZ2ModelType |
( |
| ) |
const |
|
inline |
◆ InitializeModel()
bool GeneralTHDMZ2::InitializeModel |
( |
| ) |
|
|
virtual |
The post-update method for GeneralTHDMZ2.
This method runs all the procedures that are need to be executed after the model is successfully updated.
- Returns
- a boolean that is true if the execution is successful
Definition at line 28 of file GeneralTHDMZ2.cpp.
30 setModelInitialized(GeneralTHDM::InitializeModel());
◆ PostUpdate()
bool GeneralTHDMZ2::PostUpdate |
( |
| ) |
|
|
virtual |
The post-update method for GeneralTHDMZ2.
This method runs all the procedures that are need to be executed after the model is successfully updated.
- Returns
- a boolean that is true if the execution is successful
Definition at line 62 of file GeneralTHDMZ2.cpp.
64 if (!GeneralTHDM::PostUpdate())
return (
false);
◆ PreUpdate()
bool GeneralTHDMZ2::PreUpdate |
( |
| ) |
|
|
virtual |
The pre-update method for GeneralTHDMZ2.
- Returns
- a boolean that is true if the execution is successful
Definition at line 34 of file GeneralTHDMZ2.cpp.
36 if (!GeneralTHDM::PreUpdate())
return (
false);
38 if(!getCPconservationflag())
39 throw std::runtime_error(
"ERROR: GeneralTHDMZ2 class requires CP conservation, check corresponding flag");
◆ setFlag()
bool GeneralTHDMZ2::setFlag |
( |
const std::string |
name, |
|
|
const bool |
value |
|
) |
| |
|
virtual |
A method to set a flag of GeneralTHDMZ2.
- Parameters
-
[in] | name | name of a model flag |
[in] | value | the boolean to be assigned to the flag specified by name |
- Returns
- a boolean that is true if the execution is successful
Definition at line 215 of file GeneralTHDMZ2.cpp.
219 if(name.compare(
"use_wf_renorm") == 0) {
224 res = GeneralTHDM::setFlag(name,value);
◆ setFlagStr()
bool GeneralTHDMZ2::setFlagStr |
( |
const std::string |
name, |
|
|
const std::string |
value |
|
) |
| |
|
virtual |
A method to set a string flag of GeneralTHDMZ2.
- Parameters
-
[in] | name | name of a model flag |
[in] | value | the string to be assigned to the flag specified by name |
- Returns
- a boolean that is true if the execution is successful
Definition at line 181 of file GeneralTHDMZ2.cpp.
185 if(name.compare(
"modelType") == 0) {
193 throw std::runtime_error(
"GeneralTHDMZ2::setFlagStr(): invalid model-type flag"
194 + name +
"=" + value);
198 res = GeneralTHDM::setFlagStr(name,value);
bool CheckModelType(const std::string modeltype) const
A method to check if the model type name in string form is valid.
◆ setParameter()
void GeneralTHDMZ2::setParameter |
( |
const std::string |
name, |
|
|
const double & |
value |
|
) |
| |
|
protectedvirtual |
A method to set the value of a parameter of GeneralTHDMZ2.
- Parameters
-
[in] | name | name of a model parameter |
[in] | value | the value to be assigned to the parameter specified by name |
Definition at line 69 of file GeneralTHDMZ2.cpp.
71 if (name.compare(
"tanb") == 0) {
85 throw std::runtime_error(
"ERROR: in GeneralTHDMZ2::setParameter, tanb < 0!");
88 else if (name.compare(
"bma") == 0) {
95 else if (name.compare(
"m12_2") == 0) {
100 GeneralTHDM::setParameter(
"alpha1",
bma - M_PI/2.);
107 vev = GeneralTHDM::v();
122 GeneralTHDM::setParameter(
"Nu_11r", 1./
tanb);
123 GeneralTHDM::setParameter(
"Nd_11r", 1./
tanb);
124 GeneralTHDM::setParameter(
"Nl_11r", 1./
tanb);
127 GeneralTHDM::setParameter(
"Nu_11r", 1./
tanb);
128 GeneralTHDM::setParameter(
"Nd_11r", -
tanb);
129 GeneralTHDM::setParameter(
"Nl_11r", -
tanb);
132 GeneralTHDM::setParameter(
"Nu_11r", 1./
tanb);
133 GeneralTHDM::setParameter(
"Nd_11r", 1./
tanb);
134 GeneralTHDM::setParameter(
"Nl_11r", -
tanb);
137 GeneralTHDM::setParameter(
"Nu_11r", 1./
tanb);
138 GeneralTHDM::setParameter(
"Nd_11r", -
tanb);
139 GeneralTHDM::setParameter(
"Nl_11r", 1./
tanb);
142 GeneralTHDM::setParameter(
"Nu_11r", 0.);
143 GeneralTHDM::setParameter(
"Nd_11r", 0.);
144 GeneralTHDM::setParameter(
"Nl_11r", 0.);
147 else if (name.compare(
"alpha1") == 0) {
149 else if (name.compare(
"lambda2") == 0) {
151 else if (name.compare(
"lambda3") == 0) {
153 else if (name.compare(
"Relambda7") == 0) {
155 else if (name.compare(
"Nu_11r") == 0) {
157 else if (name.compare(
"Nd_11r") == 0) {
159 else if (name.compare(
"Nl_11r") == 0) {
162 GeneralTHDM::setParameter(name, value);
◆ Update()
bool GeneralTHDMZ2::Update |
( |
const std::map< std::string, double > & |
DPars | ) |
|
|
virtual |
The update method for GeneralTHDMZ2.
This method updates all the model parameters with given DPars.
- Parameters
-
[in] | DPars | a map of the parameters that are being updated in the Monte Carlo run |
- Returns
- a boolean that is true if the execution is successful
Definition at line 44 of file GeneralTHDMZ2.cpp.
48 if (!GeneralTHDM::Update(
DPars))
return (
false);
52 for (std::map<std::string, double>::const_iterator it =
DPars.begin(); it !=
DPars.end(); it++)
55 if (UpdateError)
return (
false);
virtual bool PostUpdate()
The post-update method for GeneralTHDMZ2.
virtual void setParameter(const std::string, const double &)
A method to set the value of a parameter of GeneralTHDMZ2.
virtual bool PreUpdate()
The pre-update method for GeneralTHDMZ2.
◆ beta
double GeneralTHDMZ2::beta |
|
private |
◆ bma
double GeneralTHDMZ2::bma |
|
private |
◆ cos2b
double GeneralTHDMZ2::cos2b |
|
private |
◆ cos2bma
double GeneralTHDMZ2::cos2bma |
|
private |
◆ cos2bmbma
double GeneralTHDMZ2::cos2bmbma |
|
private |
◆ cos4b
double GeneralTHDMZ2::cos4b |
|
private |
◆ cos6b
double GeneralTHDMZ2::cos6b |
|
private |
◆ cosb
double GeneralTHDMZ2::cosb |
|
private |
◆ flag_model
std::string GeneralTHDMZ2::flag_model |
|
private |
◆ flag_wfr
bool GeneralTHDMZ2::flag_wfr |
|
private |
◆ GeneralTHDMZ2vars
const std::string GeneralTHDMZ2::GeneralTHDMZ2vars = {"tanb", "bma", "m12_2"} |
|
static |
◆ m12_2
double GeneralTHDMZ2::m12_2 |
|
private |
parameters exclusively in Z2 models: tan(beta), beta-alpha, m_12^2
Definition at line 222 of file GeneralTHDMZ2.h.
◆ M2aux
double GeneralTHDMZ2::M2aux |
|
private |
◆ mA_2
double GeneralTHDMZ2::mA_2 |
|
private |
◆ mh_2
double GeneralTHDMZ2::mh_2 |
|
private |
◆ mH_2
double GeneralTHDMZ2::mH_2 |
|
private |
◆ mHp_2
double GeneralTHDMZ2::mHp_2 |
|
private |
◆ NGeneralTHDMZ2vars
const int GeneralTHDMZ2::NGeneralTHDMZ2vars = 3 |
|
static |
◆ sin2b
double GeneralTHDMZ2::sin2b |
|
private |
◆ sin2bma
double GeneralTHDMZ2::sin2bma |
|
private |
◆ sin2bmbma
double GeneralTHDMZ2::sin2bmbma |
|
private |
◆ sin4b
double GeneralTHDMZ2::sin4b |
|
private |
◆ sin6b
double GeneralTHDMZ2::sin6b |
|
private |
◆ sinb
double GeneralTHDMZ2::sinb |
|
private |
◆ tanb
double GeneralTHDMZ2::tanb |
|
private |
◆ vev
double GeneralTHDMZ2::vev |
|
private |
The documentation for this class was generated from the following files: