v1.0
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
11 std::string
THDM::THDMvars[NTHDMvars] = {
"logtb",
"bma",
"mHh2",
"mA2",
"mHp2",
"m12_2",
12 "BDtaunu_SM",
"BDtaunu_A",
"BDtaunu_B",
"BDstartaunu_SM",
"BDstartaunu_A",
"BDstartaunu_B",
13 "bsgamma_theoryerror",
"Q_THDM",
"Rpeps",
"NLOuniscale"};
56 bool THDM::Init(
const std::map<std::string, double>& DPars) {
73 for (std::map<std::string, double>::const_iterator it = DPars.begin(); it != DPars.end(); it++)
94 if(
name.compare(
"logtb") == 0) {
102 throw std::runtime_error(
"error in THDM::SetParameter, tanb < 0!");
105 else if(
name.compare(
"bma") == 0) {
121 else if(
name.compare(
"m12_2") == 0)
123 else if(
name.compare(
"BDtaunu_SM") == 0)
125 else if(
name.compare(
"BDtaunu_A") == 0)
127 else if(
name.compare(
"BDtaunu_B") == 0)
129 else if(
name.compare(
"BDstartaunu_SM") == 0)
131 else if(
name.compare(
"BDstartaunu_A") == 0)
133 else if(
name.compare(
"BDstartaunu_B") == 0)
135 else if(
name.compare(
"bsgamma_theoryerror") == 0)
137 else if(
name.compare(
"Q_THDM") == 0)
139 else if(
name.compare(
"Rpeps") == 0)
141 else if(
name.compare(
"NLOuniscale") == 0)
149 if (DPars.find(
THDMvars[i]) == DPars.end()) {
150 std::cout <<
"ERROR: missing mandatory THDM parameter " <<
THDMvars[i] << std::endl;
164 if(
name.compare(
"modelTypeflag") == 0)
173 throw std::runtime_error(
"THDM::setFlagStr(): Invalid flag "
174 +
name +
"=" + value);
177 else if(
name.compare(
"RGEorder") == 0) {
185 throw std::runtime_error(
"THDM::setFlagStr(): Invalid flag "
186 +
name +
"=" + value);
200 if(
name.compare(
"use_sq_masses") == 0) {
213 else if(
name.compare(
"wavefunctionrenormalization") == 0) {
virtual void setParameter(const std::string name, const double &value)
A method to set the value of a parameter of StandardModel.
bool checkRGEorder(const std::string RGEorder) const
A method to check if the RGE order name in string form is valid.
complex sin(const complex &z)
void addMissingModelParameter(const std::string &missingParameterName)
bool checkmodelType(const std::string modeltype) const
A method to check if the model type 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 StandardModel have been provided in model initi...
A class for the caching of some THDM objects.
A model class for the Standard Model.
bool UpdateError
A boolean set to false if update is successful.
Matching< StandardModelMatching, StandardModel > SMM
An object of type Matching.
std::string flag_RGEorder
virtual bool setFlag(const std::string name, const bool value)
A method to set a flag of StandardModel.
std::map< std::string, std::reference_wrapper< const double > > ModelParamMap
virtual bool setFlag(const std::string name, const bool value)
A method to set a flag of THDM.
THDMcache * myTHDMcache
An object of type THDMCache.
virtual bool InitializeModel()
A method to initialize the model.
virtual bool Init(const std::map< std::string, double > &DPars)
A method to initialize the model parameters.
A class for the matching in the Standard Model.
virtual bool Init(const std::map< std::string, double > &DPars)
Initializes the THDM parameters found in the argument.
static std::string THDMvars[NTHDMvars]
virtual bool PreUpdate()
The pre-update method for StandardModel.
virtual bool PostUpdate()
The post-update method for THDM.
complex pow(const complex &z1, const complex &z2)
void raiseMissingModelParameterCount()
complex sqrt(const complex &z)
virtual bool PostUpdate()
The post-update method for StandardModel.
static const int NTHDMvars
double bsgamma_theoryerror
virtual bool setFlagStr(const std::string name, const std::string value)
A method to set a flag of StandardModel.
bool IsModelInitialized() const
A method to check if the model is initialized.
virtual void setParameter(const std::string name, const double &value)
A method to set the value of a parameter of THDM.
virtual bool setFlagStr(const std::string name, const std::string value)
A method to set a string flag of THDM.
virtual bool InitializeModel()
A method to initialize the model.
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...
virtual bool PreUpdate()
The pre-update method for THDM.
std::string name
The name of the model.
Matching< THDMMatching, THDM > THDMM
An object of type THDMMatching.
virtual bool Update(const std::map< std::string, double > &DPars)
The update method for THDM.
void setModelInitialized(bool ModelInitialized)
A set method to fix the failure or success of the initialization of the model.