BSMPT 3.0.7
BSMPT - Beyond the Standard Model Phase Transitions : A C++ package for the computation of the EWPT in BSM models
Loading...
Searching...
No Matches
BSMPT::ModelID Namespace Reference

operator << overload for the model parameter More...

Enumerations

enum class  ModelIDs {
  NotSet , C2HDM , R2HDM , N2HDM ,
  CXSM , CPINTHEDARK , SM , TEMPLATE ,
  stop
}
 The ModelIDs enum containing all IDs for identifying the Models.
 

Functions

std::unordered_map< ModelIDs, std::string > InvertModelNames ()
 InvertModelNames.
 
std::unique_ptr< Class_Potential_OriginFChoose (ModelIDs choice)
 
std::unique_ptr< Class_Potential_OriginFChoose (ModelIDs choice, const ISMConstants &smConstants)
 
ModelIDs getModel (const std::string &s)
 

Variables

const std::unordered_map< std::string, ModelIDsModelNames
 Mapping between the model name which is given as the first argument to the binary and the ModelIDs element.
 

Detailed Description

operator << overload for the model parameter

Function Documentation

◆ FChoose() [1/2]

std::unique_ptr< Class_Potential_Origin > BSMPT::ModelID::FChoose ( ModelIDs  choice)
Parameters
choiceModelIDs for the Model under investigation
Returns
smart pointer to the instance of the class matching the ModelIDs choice. If choice == NotSet the function throws an runtime error
Exceptions
Runtimeerror if an invalid model was given into choice

◆ FChoose() [2/2]

std::unique_ptr< Class_Potential_Origin > BSMPT::ModelID::FChoose ( ModelIDs  choice,
const ISMConstants smConstants 
)
Parameters
choiceModelIDs for the Model under investigation
Returns
smart pointer to the instance of the class matching the ModelIDs choice. If choice == NotSet the function throws an runtime error
Parameters
smConstantsThe SM Constants to use for the parameter
Exceptions
Runtimeerror if an invalid model was given into choice

◆ getModel()

ModelIDs BSMPT::ModelID::getModel ( const std::string &  s)
Parameters
sThe input string, which is turned to lower case and then compared to the entries of the ModelNames map
Returns
If a match in ModelNames is found, return the corresponding ModelIDs entry, otherwise return ModelIDs::NoSet

◆ InvertModelNames()

std::unordered_map< ModelIDs, std::string > BSMPT::ModelID::InvertModelNames ( )

InvertModelNames.

Returns
The switched map to ModelNames

Variable Documentation

◆ ModelNames

const std::unordered_map<std::string, ModelIDs> BSMPT::ModelID::ModelNames
Initial value:
{
{"c2hdm", ModelIDs::C2HDM},
{"r2hdm", ModelIDs::R2HDM},
{"n2hdm", ModelIDs::N2HDM},
{"cxsm", ModelIDs::CXSM},
{"sm", ModelIDs::SM},
{"cpinthedark", ModelIDs::CPINTHEDARK},
{"template", ModelIDs::TEMPLATE},
}

Mapping between the model name which is given as the first argument to the binary and the ModelIDs element.