8#ifndef COMPUTEOBSERVABLES_H
9#define COMPUTEOBSERVABLES_H
50 const std::string& ModelConf_i,
const int rank_i = 0);
63 const std::string& ModelName_i, std::map<std::string, double> DPars_i,
64 std::map<std::string, std::string> DFlags_i,
const int rank_i = 0);
75 void setFlags(std::map<std::string, std::string> DFlags_i);
81 std::map<std::string, double>
compute(std::map<std::string, double> DP);
133 std::map<std::string, double>
DPars;
134 std::map<std::string, double>
DObs;
135 std::map<std::string, std::string>
DFlags;
137 std::map<std::string, ThObservable*>
DThObs;
141 boost::ptr_vector<Observable>
Obs;
143 std::vector<CorrelatedGaussianObservables>
CGO;
144 std::vector<CorrelatedGaussianParameters>
CGP;
A class for providing access to the computation of observables without a Monte Carlo run.
std::map< std::string, double > getObservables()
A method to get the map of observables.
std::map< std::string, double > getParameters()
A method to get the map of parameters.
const int rank
< Rank of the MPI process. Set to 0 for serial run.
InputParser myInputParser
An object of the InputParser class.
std::vector< std::string > unknownParameters
StandardModel * Mod
Pointer to an object of the class StandardModel.
void setFlags(std::map< std::string, std::string > DFlags_i)
This method sets the necessary flag for the requested model.
std::string ModelName
Name of the Model to be used.
std::map< std::string, double > DObs
Map of the observables to be computed.
std::map< std::string, double > compute(std::map< std::string, double > DP)
The method used to compute observables.
std::vector< CorrelatedGaussianParameters > CGP
std::vector< ModelParameter > ModPars
std::vector< Observable2D > Obs2D
std::map< std::string, ThObservable * > DThObs
virtual ~ComputeObservables()
The default destructor.
std::vector< std::string > paraNames
The vector of allowed parameter names.
std::map< std::string, std::string > DFlags
Map of the model flags to be passed to Model.
ComputeObservables(ModelFactory &ModelF, ThObsFactory &ThObsF, const std::string &ModelConf_i, const int rank_i=0)
Constructor.
StandardModel * getModel()
A get method return the pointer to the model.
boost::ptr_vector< Observable > Obs
void addCustomObservableType(const std::string name, boost::function< Observable *() > funct)
A method to add a user defined observable with a user defined likelihood.
void AddObservable(std::string ObsName)
A method to remove an observable from the list of observables.
std::map< std::string, double > DPars
Map of the parameters to be passed to Model.
void RemoveObservable(std::string ObsName)
A method to add an observable to the list of observables.
std::vector< CorrelatedGaussianObservables > CGO
A model class for the Standard Model.