v1.0
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
70 virtual bool Init(
const std::map<std::string, double>& DPars) = 0;
89 virtual bool Update(
const std::map<std::string, double>& DPars) = 0;
108 virtual bool CheckParameters(
const std::map<std::string, double>& DPars) = 0;
116 virtual bool setFlag(
const std::string
name,
const bool value) = 0;
124 virtual bool setFlagStr(
const std::string
name,
const std::string value) = 0;
262 mutable std::map< std::string, std::reference_wrapper<const double> >
ModelParamMap;
void setUpdateError(bool UpdateError)
A set method to fix the update status as success or failure.
bool IsUpdateError() const
A method to check if there was any error in the model update process.
virtual bool setFlagStr(const std::string name, const std::string value)=0
A method to set a flag of the model.
bool ModelInitialized
A boolean set to true if the model is successfully initialized.
void setModelGeorgiMachacek()
std::vector< std::string > missingModelParameters
bool isModelParam(std::string name) const
std::vector< std::string > getmissingModelParameters()
virtual void setParameter(const std::string name, const double &value)=0
A method to set the value of a parameter of the model.
void addMissingModelParameter(const std::string &missingParameterName)
virtual bool Update(const std::map< std::string, double > &DPars)=0
The update method for the model.
virtual bool Init(const std::map< std::string, double > &DPars)=0
A method to initialize the model parameters.
const double & getModelParam(std::string name) const
void setModelGeneralTHDM()
bool flagGTHDMmodel
A flag identifying the model as a GeneralTHDM model.
bool flagTHDMWmodel
A flag identifying the model as a THDMW model.
bool isModelGeorgiMachacek() const
virtual bool CheckParameters(const std::map< std::string, double > &DPars)=0
A method to check if all the mandatory parameters for the model have been provided in model initializ...
bool UpdateError
A boolean set to false if update is successful.
bool flagGMmodel
A flag identifying the model as a GeorgiMachacek model.
std::map< std::string, std::reference_wrapper< const double > > ModelParamMap
bool isModelLinearized() const
virtual bool PostUpdate()=0
The post-update method for the model.
virtual bool setFlag(const std::string name, const bool value)=0
A method to set a flag of the model.
unsigned int getMissingModelParametersCount()
void raiseMissingModelParameterCount()
bool isSliced
A boolean set to true if the current istance is a slice of an extended object.
bool isModelTHDMW() const
bool flagSUSYmodel
A flag identifying the model as a SUSY model.
A class for the template of models.
bool IsModelInitialized() const
A method to check if the model is initialized.
bool isModelGeneralTHDM() const
void setModelName(const std::string name)
A method to set the name of the model.
unsigned int missingModelParametersCount
Model()
The default constructor.
std::string getModelName() const
A method to fetch the name of the model.
std::string name
The name of the model.
void setModelLinearized(bool linearized=true)
virtual bool PreUpdate()=0
The pre-update method for the model.
void setSliced(bool Sliced)
bool flagTHDMmodel
A flag identifying the model as a THDM model.
virtual bool CheckFlags() const =0
A method to check the sanity of the set of model flags.
void setModelInitialized(bool ModelInitialized)
A set method to fix the failure or success of the initialization of the model.
virtual ~Model()
The default destructor.
bool flagLinearized
A flag to identify models where the NP contribution to Higgs observables is linearized.