master
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
8 #ifndef MODELPARAMETER_H
9 #define MODELPARAMETER_H
13 #include <boost/tokenizer.hpp>
38 ModelParameter(std::string name_in,
double ave_in,
double errg_in,
double errf_in);
49 boost::tokenizer<boost::char_separator<char> >::iterator &
ParseModelParameter(boost::tokenizer<boost::char_separator<char> >::iterator & beg);
virtual ~ModelParameter()
The default destructor.
double errg
The Gaussian error of the model parameter.
friend std::ostream & operator<<(std::ostream &output, const ModelParameter &m)
Befriending of the std::ostream operator << to generate an output stream for printing the model param...
double getmax() const
A get method to get the maximum value.
double ave
The average value of the model parameter.
double max
The maximum value of the model parameter.
boost::tokenizer< boost::char_separator< char > >::iterator & ParseModelParameter(boost::tokenizer< boost::char_separator< char > >::iterator &beg)
Parser for model parameters.
double geterrf() const
A get method to get the flat error.
bool IsFixed() const
A method to check if the parameter is fixed.
std::string getname() const
A get method to get the name of each parameter.
double errf
The flat error of the model parameter.
double getave() const
A get method to get the average.
std::string name
The name of the model parameter.
A class for model parameters.
void setCgp_name(std::string cgp_name)
A set method to set the name of the set of correlated parameter.
double getmin() const
A get method to get the minimum value.
bool IsCorrelated() const
A method to check if the parameters are correlated or not.
std::string getCgp_name() const
A get method to get the name of the set of correlated parameter.
ModelParameter()
Constructor.
double geterrg() const
A get method to get the gaussian error.
double min
The minimum value of the model parameter.
bool isFixed
A boolean flag that is true if the parameter is fixed.