21 }
else if (basis == 0) {
28 throw std::runtime_error(
"Basis not defined in RealWeakEFTCC::RealWeakEFTCC()");
65 for (std::map<std::string, double>::const_iterator it =
DPars.begin(); it !=
DPars.end(); it++)
85 if (
name.compare(
"CSL") == 0)
87 else if (
name.compare(
"CSR") == 0)
89 else if (
name.compare(
"CVL") == 0)
91 else if (
name.compare(
"CVR") == 0)
93 else if (
name.compare(
"CT") == 0)
97 }
else if (basis == 0) {
98 if (
name.compare(
"CS") == 0)
100 else if (
name.compare(
"CP") == 0)
102 else if (
name.compare(
"CV") == 0)
104 else if (
name.compare(
"CA") == 0)
106 else if (
name.compare(
"CT") == 0)
111 throw std::runtime_error(
"Basis not defined in RealWeakEFTCC::RealWeakEFTCC()");
119 std::cout <<
"ERROR: missing mandatory RealWeakEFTCCPM parameter " <<
RealWeakEFTCCPMvars[i] << std::endl;
123 }
else if (basis == 0) {
125 std::cout <<
"ERROR: missing mandatory RealWeakEFTCC parameter " <<
RealWeakEFTCCvars[i] << std::endl;
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()
static const std::string RealWeakEFTCCPMvars[NRealWeakEFTCCvars]
virtual bool setFlag(const std::string name, const bool value)
A method to set a flag of RealWeakEFTCC.
virtual bool PreUpdate()
The pre-update method for RealWeakEFTCC.
virtual bool InitializeModel()
The post-update method for RealWeakEFTCC.
static const int NRealWeakEFTCCvars
~RealWeakEFTCC()
RealWeakEFTCC destructor.
RealWeakEFTCC(const unsigned int basis)
RealWeakEFTCC constructor.
virtual bool Init(const std::map< std::string, double > &DPars)
Initializes the RealWeakEFTCC parameters found in the argument.
static const std::string RealWeakEFTCCvars[NRealWeakEFTCCvars]
virtual bool Update(const std::map< std::string, double > &DPars)
The update method for RealWeakEFTCC.
virtual bool PostUpdate()
The post-update method for RealWeakEFTCC.
virtual bool CheckParameters(const std::map< std::string, double > &DPars)
A method to check if all the mandatory parameters for RealWeakEFTCC have been provided in model initi...
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 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.