1 #ifndef CENTRALVALUESANDUNCERTAINTIES_H 2 #define CENTRALVALUESANDUNCERTAINTIES_H 10 #include <TDecompChol.h> A list/table of parameter names and values.
static CentralValuesAndUncertainties * instance
std::pair< std::string, double > Parameter
std::vector< ParameterTable > correlated_par_tables
std::vector< TMatrixD > covariance_matrices
ParameterTable calculateParsForUniverse(int universe)
Calculate a table of randomly varied parameters for a particular universe i. The universe number is u...
ParameterTable uncorrelated_pars
void addUncorrelated(Parameter &cv_par, double uncertainty)
Add a parameter with its central value and its uncertainty. The parameter is specified as uncorrelate...
boost::interprocess::flat_map< std::string, double > uncorrelated_errors
static CentralValuesAndUncertainties * getInstance()
A class to manage parameter central values and their uncertanities.
ParameterTable getCVPars()
Get the central value parameters.
void addCorrelated(ParameterTable &cv_pars, TMatrixD &cov_mx)
Add a set of parameters with correlated uncertainties. The central values of the parameters must be p...
void readFromXML(const char *filename)
Read a xml file name to parse the parameters.
CentralValuesAndUncertainties()
void setBaseSeed(int val)
Set a beggining/base seed to be used in generating random parameter shifts for the many universe meth...