12std::string
THDM::THDMvars[NTHDMvars] = {
"logtb",
"bma",
"mHh2",
"mA2",
"mHp2",
"m12_2",
13 "BDtaunu_SM",
"BDtaunu_A",
"BDtaunu_B",
"BDstartaunu_SM",
"BDstartaunu_A",
"BDstartaunu_B",
14 "bsgamma_theoryerror",
"Q_THDM",
"Rpeps",
"NLOuniscale"};
75 for (std::map<std::string, double>::const_iterator it =
DPars.begin(); it !=
DPars.end(); it++)
96 if(
name.compare(
"logtb") == 0) {
104 throw std::runtime_error(
"error in THDM::SetParameter, tanb < 0!");
107 else if(
name.compare(
"bma") == 0) {
111 else if(
name.compare(
"mHh1") == 0){
119 else if(
name.compare(
"mA1") == 0){
127 else if(
name.compare(
"mHp1") == 0){
135 else if(
name.compare(
"mHh2") == 0){
143 else if(
name.compare(
"mA2") == 0){
151 else if(
name.compare(
"mHp2") == 0){
159 else if(
name.compare(
"m12_2") == 0)
161 else if(
name.compare(
"BDtaunu_SM") == 0)
163 else if(
name.compare(
"BDtaunu_A") == 0)
165 else if(
name.compare(
"BDtaunu_B") == 0)
167 else if(
name.compare(
"BDstartaunu_SM") == 0)
169 else if(
name.compare(
"BDstartaunu_A") == 0)
171 else if(
name.compare(
"BDstartaunu_B") == 0)
173 else if(
name.compare(
"bsgamma_theoryerror") == 0)
175 else if(
name.compare(
"Q_THDM") == 0)
177 else if(
name.compare(
"Rpeps") == 0)
179 else if(
name.compare(
"NLOuniscale") == 0)
188 std::cout <<
"ERROR: missing mandatory THDM parameter " <<
THDMvars[i] << std::endl;
202 if(
name.compare(
"modelTypeflag") == 0)
211 throw std::runtime_error(
"THDM::setFlagStr(): Invalid flag "
212 +
name +
"=" + value);
215 else if(
name.compare(
"RGEorder") == 0) {
223 throw std::runtime_error(
"THDM::setFlagStr(): Invalid flag "
224 +
name +
"=" + value);
238 if(
name.compare(
"use_sq_masses") == 0) {
251 else if(
name.compare(
"wavefunctionrenormalization") == 0) {
std::map< std::string, double > DPars
void addMissingModelParameter(const std::string &missingParameterName)
std::map< std::string, std::reference_wrapper< const double > > ModelParamMap
void setModelInitialized(bool ModelInitialized)
A set method to fix the failure or success of the initialization of the model.
bool IsModelInitialized() const
A method to check if the model is initialized.
std::string name
The name of the model.
bool UpdateError
A boolean set to false if update is successful.
void raiseMissingModelParameterCount()
A model class for the Standard Model.
virtual bool PreUpdate()
The pre-update method for StandardModel.
virtual bool CheckParameters(const std::map< std::string, double > &DPars)
A method to check if all the mandatory parameters for StandardModel have been provided in model initi...
virtual bool Init(const std::map< std::string, double > &DPars)
A method to initialize the model parameters.
virtual bool setFlagStr(const std::string name, const std::string value)
A method to set a flag of StandardModel.
Matching< StandardModelMatching, StandardModel > SMM
An object of type Matching.
virtual bool setFlag(const std::string name, const bool value)
A method to set a flag of StandardModel.
virtual bool PostUpdate()
The post-update method for StandardModel.
virtual void setParameter(const std::string name, const double &value)
A method to set the value of a parameter of StandardModel.
virtual bool InitializeModel()
A method to initialize the model.
A class for the matching in the Standard Model.
Matching< THDMMatching, THDM > THDMM
An object of type THDMMatching.
THDMcache * myTHDMcache
An object of type THDMCache.
virtual bool setFlag(const std::string name, const bool value)
A method to set a flag of THDM.
static const int NTHDMvars
virtual bool InitializeModel()
A method to initialize the model.
virtual bool Init(const std::map< std::string, double > &DPars)
Initializes the THDM parameters found in the argument.
bool checkmodelType(const std::string modeltype) const
A method to check if the model type name in string form is valid.
static std::string THDMvars[NTHDMvars]
virtual bool PreUpdate()
The pre-update method for THDM.
virtual bool Update(const std::map< std::string, double > &DPars)
The update method for THDM.
bool checkRGEorder(const std::string RGEorder) const
A method to check if the RGE order name in string form is valid.
virtual bool CheckParameters(const std::map< std::string, double > &DPars)
A method to check if all the mandatory parameters for THDM have been provided in model initialization...
double bsgamma_theoryerror
virtual bool PostUpdate()
The post-update method for THDM.
virtual bool setFlagStr(const std::string name, const std::string value)
A method to set a string flag of THDM.
std::string flag_RGEorder
virtual void setParameter(const std::string name, const double &value)
A method to set the value of a parameter of THDM.
A class for the caching of some THDM objects.