v1.0
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
57 for (std::map<std::string, double>::const_iterator it = DPars.begin(); it != DPars.end(); it++)
80 if(
name.compare(
"c1") == 0)
82 else if(
name.compare(
"c2") == 0)
84 else if(
name.compare(
"c3") == 0)
86 else if(
name.compare(
"c4") == 0)
96 std::cout <<
"missing mandatory myModel parameter " <<
myModelvars[i] << std::endl;
109 if(
name.compare(
"condition") == 0){
static const std::string myModelvars[NmyModelvars]
myModel()
myModel constructor
virtual void setParameter(const std::string name, const double &value)
A method to set the value of a parameter of 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...
A model class for the Standard Model.
bool UpdateError
A boolean set to false if update is successful.
virtual bool Update(const std::map< std::string, double > &DPars)
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 PostUpdate()
virtual bool InitializeModel()
virtual bool Init(const std::map< std::string, double > &DPars)
A method to initialize the model parameters.
virtual bool PreUpdate()
The pre-update method for StandardModel.
virtual bool CheckParameters(const std::map< std::string, double > &DPars)
virtual bool setFlag(const std::string name, const bool value)
virtual bool PostUpdate()
The post-update method for StandardModel.
bool IsModelInitialized() const
A method to check if the model is initialized.
virtual void setParameter(const std::string, const double &)
virtual bool InitializeModel()
A method to initialize the model.
virtual bool Init(const std::map< std::string, double > &DPars)
std::string name
The name of the model.
static const int NmyModelvars
~myModel()
myModel destructor
void setModelInitialized(bool ModelInitialized)
A set method to fix the failure or success of the initialization of the model.