33 else throw std::runtime_error(
"ERROR: Observable named: " + name +
" already exists. Please give a different name to the user-defined observable " + name +
".");
41 throw std::runtime_error(
"ERROR: Wrong observable " + name +
" passed to ThObsFactory.\nIf " + name +
" is a parameter that is specific to an observable, please list it after the observable in the configuration file.\n");
bool isModelParam(std::string name) const
A class for setting a parameter as an observable.
void addParameters(std::vector< std::string > params_i)
A method to add parameters that are specific to only one set of observables.
A model class for the Standard Model.
void registerTopQuarkObservables()
void registerDiBosonObservables()
void registerFlavourObservables()
std::map< std::string, std::function< ThObservable *(const StandardModel &) > > obsThFactory
void registerHiggsLeptonObservables()
void registerEWObservables()
void registerBSMObservables()
void registerCouplingObservables()
ThObservable * CreateThMethod(const std::string &name, StandardModel &model) const
This method checks for the existence of an observable of a specific name in the map thobs and returns...
void addObsToFactory(const std::string name, std::function< ThObservable *(const StandardModel &) >)
void registerHiggsObservables()
void registerLEP2Observables()
A class for a model prediction of an observable.
const std::vector< std::string > getParametersForObservable()
A get method to get the parameters for the specific observable.