A class for the template of models. More...
#include <Model.h>
A class for the template of models.
This template delineates the methods necessary for the construction and updating of a particular model. An example of its use can be found in the StandardModel class.
Public Member Functions | |
void | addMissingModelParameter (const std::string &missingParameterName) |
virtual bool | CheckFlags () const =0 |
A method to check the sanity of the set of model flags. More... | |
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 initialization. More... | |
std::vector< std::string > | getmissingModelParameters () |
unsigned int | getMissingModelParametersCount () |
std::string | getModelName () const |
A method to fetch the name of the model. More... | |
const double & | getModelParam (std::string name) const |
virtual bool | Init (const std::map< std::string, double > &DPars)=0 |
A method to initialize the model parameters. More... | |
bool | isModelFWC_DF2 () const |
bool | isModelGeneralTHDM () const |
bool | isModelGeorgiMachacek () const |
bool | IsModelInitialized () const |
A method to check if the model is initialized. More... | |
bool | isModelLinearized () const |
bool | isModelNPquadratic () const |
bool | isModelParam (std::string name) const |
bool | isModelSUSY () const |
bool | isModelTHDM () const |
bool | isModelTHDMW () const |
bool | IsUpdateError () const |
A method to check if there was any error in the model update process. More... | |
Model () | |
The default constructor. More... | |
virtual bool | PostUpdate ()=0 |
The post-update method for the model. More... | |
virtual bool | PreUpdate ()=0 |
The pre-update method for the model. More... | |
void | raiseMissingModelParameterCount () |
virtual bool | setFlag (const std::string name, const bool value)=0 |
A method to set a flag of the model. More... | |
virtual bool | setFlagStr (const std::string name, const std::string value)=0 |
A method to set a flag of the model. More... | |
void | setModelFWC_DF2 () |
void | setModelGeneralTHDM () |
void | setModelGeorgiMachacek () |
void | setModelInitialized (bool ModelInitialized) |
A set method to fix the failure or success of the initialization of the model. More... | |
void | setModelLinearized (bool linearized=true) |
void | setModelName (const std::string name) |
A method to set the name of the model. More... | |
void | setModelNPquadratic (bool NPquadratic=true) |
void | setModelSUSY () |
void | setModelTHDM () |
void | setModelTHDMW () |
void | setSliced (bool Sliced) |
void | setUpdateError (bool UpdateError) |
A set method to fix the update status as success or failure. More... | |
virtual bool | Update (const std::map< std::string, double > &DPars)=0 |
The update method for the model. More... | |
virtual | ~Model () |
The default destructor. More... | |
Protected Member Functions | |
virtual void | setParameter (const std::string name, const double &value)=0 |
A method to set the value of a parameter of the model. More... | |
Protected Attributes | |
bool | isSliced = false |
A boolean set to true if the current istance is a slice of an extended object. More... | |
std::map< std::string, std::reference_wrapper< const double > > | ModelParamMap |
bool | UpdateError = false |
A boolean set to false if update is successful. More... | |
Private Attributes | |
bool | flagFWCDF2model = false |
A flag identifying the model as a FlavourWilsonCoefficient_DF2 model. More... | |
bool | flagGMmodel = false |
A flag identifying the model as a GeorgiMachacek model. More... | |
bool | flagGTHDMmodel = false |
A flag identifying the model as a GeneralTHDM model. More... | |
bool | flagLinearized = false |
A flag to identify models where the NP contribution to Higgs observables is linearized. More... | |
bool | flagNPquadratic = false |
bool | flagSUSYmodel = false |
A flag identifying the model as a SUSY model. More... | |
bool | flagTHDMmodel = false |
A flag identifying the model as a THDM model. More... | |
bool | flagTHDMWmodel = false |
A flag identifying the model as a THDMW model. More... | |
std::vector< std::string > | missingModelParameters |
unsigned int | missingModelParametersCount = 0 |
bool | ModelInitialized = false |
A boolean set to true if the model is successfully initialized. More... | |
std::string | name |
The name of the model. More... | |
|
inline |
The default constructor.
Definition at line 32 of file Model.h.
|
inlinevirtual |
|
inline |
Definition at line 250 of file Model.h.
|
pure virtual |
A method to check the sanity of the set of model flags.
Implemented in QCD, and StandardModel.
|
pure virtual |
A method to check if all the mandatory parameters for the model have been provided in model initialization.
[in] | DPars | a map of the parameters that are being updated in the Monte Carlo run (including parameters that are varied and those that are held constant) |
Implemented in CMFV, FlavourWilsonCoefficient, FlavourWilsonCoefficient_DF2, LoopMediators, NPDF2, RealWeakEFTCC, RealWeakEFTLFV, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, HiggsChiral, HiggsKigen, NPEpsilons, NPEpsilons_pureNP, NPHiggs, NPSMEFTd6, NPSTU, NPSTUVWXY, NPSTUZbbbarLR, NPZbbbar, NPZbbbarLinearized, SigmaBR, pMSSM, QCD, StandardModel, SUSY, SUSYMassInsertion, THDM, and THDMW.
|
inline |
|
inline |
|
inline |
A method to fetch the name of the model.
|
inline |
Definition at line 168 of file Model.h.
|
pure virtual |
A method to initialize the model parameters.
[in] | DPars | a map of the parameters that are being updated in the Monte Carlo run (including parameters that are varied and those that are held constant) |
Implemented in FlavourWilsonCoefficient, LoopMediators, RealWeakEFTCC, RealWeakEFTLFV, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, NPSMEFTd6General, pMSSM, QCD, StandardModel, SUSY, SUSYMassInsertion, THDM, and THDMW.
|
inline |
Definition at line 190 of file Model.h.
|
inline |
Definition at line 206 of file Model.h.
|
inline |
Definition at line 222 of file Model.h.
|
inline |
A method to check if the model is initialized.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 198 of file Model.h.
|
inline |
Definition at line 214 of file Model.h.
|
inline |
A method to check if there was any error in the model update process.
Definition at line 154 of file Model.h.
|
pure virtual |
The post-update method for the model.
This method runs all the procedures that are need to be executed after the model is successfully updated. This includes updating any other variable that needs to be updated at this time due to the update of the model parameters
Implemented in FlavourWilsonCoefficient, FlavourWilsonCoefficient_DF2, LoopMediators, RealWeakEFTCC, RealWeakEFTLFV, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, HiggsChiral, HiggsKigen, NPd6SILH, NPEpsilons, NPSMEFTd6, NPSMEFTd6General, NPSMEFTd6U2, NPSMEFTd6U2qU1le, NPSMEFTd6U3, NPZbbbar, NPZbbbarLinearized, pMSSM, QCD, StandardModel, SUSY, SUSYMassInsertion, THDM, and THDMW.
|
pure virtual |
The pre-update method for the model.
This method checks if all requisites for the update process of the current model has been completed. Such requisites can be procedures like update of other models or any other procedures that need to be done before the current model can be successfully updated.
Implemented in FlavourWilsonCoefficient, LoopMediators, RealWeakEFTCC, RealWeakEFTLFV, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, NPSMEFTd6General, pMSSM, QCD, StandardModel, SUSY, SUSYMassInsertion, THDM, and THDMW.
|
inline |
|
pure virtual |
A method to set a flag of the model.
[in] | name | name of a model flag |
[in] | value | the boolean to be assigned to the flag specified by name |
Implemented in FlavourWilsonCoefficient, LoopMediators, RealWeakEFTCC, RealWeakEFTLFV, HiggsChiral, HiggsKigen, NPbase, NPd6SILH, NPEpsilons, NPSMEFTd6, NPSMEFTd6General, QCD, StandardModel, THDM, GeorgiMachacek, LeftRightSymmetricModel, NPSMEFT6dtopquark, and SUSY.
|
pure virtual |
A method to set a flag of the model.
[in] | name | name of a model flag |
[in] | value | the string to be assigned to the flag specified by name |
Implemented in LeftRightSymmetricModel, NPSMEFTd6General, QCD, StandardModel, THDM, and THDMW.
|
inline |
|
inline |
|
inline |
|
inline |
A set method to fix the failure or success of the initialization of the model.
[in] | ModelInitialized | true if the model has been successfully initialized |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
A method to set the value of a parameter of the model.
[in] | name | name of a model parameter |
[in] | value | the value to be assigned to the parameter specified by name |
Implemented in NPDF2, HiggsChiral, HiggsKigen, NPd6SILH, NPEpsilons, NPEpsilons_pureNP, NPHiggs, NPSMEFT6dtopquark, NPSMEFTd6, NPSMEFTd6General, NPSMEFTd6U2, NPSMEFTd6U2qU1le, NPSMEFTd6U3, NPSTU, NPSTUVWXY, NPSTUZbbbarLR, NPZbbbar, NPZbbbarLinearized, SigmaBR, QCD, StandardModel, SUSY, THDM, CMFV, FlavourWilsonCoefficient, FlavourWilsonCoefficient_DF2, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, pMSSM, SUSYMassInsertion, and THDMW.
|
inline |
Definition at line 245 of file Model.h.
|
inline |
A set method to fix the update status as success or failure.
[in] | UpdateError | true if update is not successful |
|
pure virtual |
The update method for the model.
This method updates all the model parameters with given DPars.
[in] | DPars | a map of the parameters that are being updated in the Monte Carlo run (including parameters that are varied and those that are held constant) |
Implemented in FlavourWilsonCoefficient, LoopMediators, RealWeakEFTCC, RealWeakEFTLFV, GeneralSUSY, GeorgiMachacek, LeftRightSymmetricModel, MFV, NPbase, pMSSM, QCD, StandardModel, SUSY, SUSYMassInsertion, THDM, and THDMW.
|
private |
A flag identifying the model as a FlavourWilsonCoefficient_DF2 model.
|
private |
A flag identifying the model as a GeorgiMachacek model.
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
mutableprotected |
|
protected |