70 virtual bool Init(
const std::map<std::string, double>&
DPars) = 0;
89 virtual bool Update(
const std::map<std::string, double>&
DPars) = 0;
116 virtual bool setFlag(
const std::string
name,
const bool value) = 0;
280 mutable std::map< std::string, std::reference_wrapper<const double> >
ModelParamMap;
std::map< std::string, double > DPars
A class for the template of models.
virtual bool PostUpdate()=0
The post-update method for the model.
virtual bool Init(const std::map< std::string, double > &DPars)=0
A method to initialize the model parameters.
bool flagGMmodel
A flag identifying the model as a GeorgiMachacek model.
void addMissingModelParameter(const std::string &missingParameterName)
bool isModelLinearized() const
void setModelGeneralTHDM()
void setModelLinearized(bool linearized=true)
bool isModelTHDMW() const
virtual bool Update(const std::map< std::string, double > &DPars)=0
The update method for the model.
void setSliced(bool Sliced)
void setModelGeorgiMachacek()
bool flagLinearized
A flag to identify models where the NP contribution to Higgs observables is linearized.
unsigned int missingModelParametersCount
bool flagSUSYmodel
A flag identifying the model as a SUSY model.
void setModelNPquadratic(bool NPquadratic=true)
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 isModelParam(std::string name) const
void setUpdateError(bool UpdateError)
A set method to fix the update status as success or failure.
virtual void setParameter(const std::string name, const double &value)=0
A method to set the value of a parameter of the model.
bool IsModelInitialized() const
A method to check if the model is initialized.
std::string name
The name of the model.
bool isModelNPquadratic() const
void setModelName(const std::string name)
A method to set the name of the model.
bool isSliced
A boolean set to true if the current istance is a slice of an extended object.
bool isModelFWC_DF2() const
bool UpdateError
A boolean set to false if update is successful.
virtual bool PreUpdate()=0
The pre-update method for the model.
const double & getModelParam(std::string name) 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 flagGTHDMmodel
A flag identifying the model as a GeneralTHDM model.
virtual bool setFlag(const std::string name, const bool value)=0
A method to set a flag of the model.
std::vector< std::string > getmissingModelParameters()
bool flagFWCDF2model
A flag identifying the model as a FlavourWilsonCoefficient_DF2 model.
std::string getModelName() const
A method to fetch the name of the model.
virtual bool CheckFlags() const =0
A method to check the sanity of the set of model flags.
void raiseMissingModelParameterCount()
bool flagTHDMWmodel
A flag identifying the model as a THDMW model.
bool ModelInitialized
A boolean set to true if the model is successfully initialized.
bool isModelGeneralTHDM() const
Model()
The default constructor.
bool flagTHDMmodel
A flag identifying the model as a THDM model.
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.
unsigned int getMissingModelParametersCount()
virtual ~Model()
The default destructor.
bool isModelGeorgiMachacek() const
std::vector< std::string > missingModelParameters