Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
- Examples
- libmode_header.cpp.
Definition at line 19 of file libmode_header.cpp.
24 std::string ModelName =
"NPEpsilons";
34 DPars_IN[
"mcharm"] = 1.3;
35 DPars_IN[
"mub"] = 4.2;
42 std::map<std::string, std::string> DFlags;
43 DFlags[
"epsilon2SM"] =
"TRUE";
44 DFlags[
"epsilonbSM"] =
"TRUE";
50 CO.AddObservable(
"Mw");
51 CO.AddObservable(
"GammaZ");
52 CO.AddObservable(
"AFBbottom");
58 std::map<std::string, double> DObs = CO.getObservables();
61 std::map<std::string, double> DPars;
63 for (
int i = 0; i < 2; i++) {
66 DPars[
"epsilon_1"] = 0. + i * 0.01;
67 DPars[
"epsilon_3"] = 0. + i * 0.01;
70 DObs = CO.compute(DPars);
72 std::cout <<
"\nParameters[" << i + 1 <<
"]:"<< std::endl;
73 for (std::map<std::string, double>::iterator it = DPars.begin(); it != DPars.end(); it++) {
74 std::cout << it->first <<
" = " << it->second << std::endl;
76 std::cout <<
"\nObservables[" << i + 1 <<
"]:" << std::endl;
77 for (std::map<std::string, double>::iterator it = DObs.begin(); it != DObs.end(); it++) {
78 std::cout << it->first <<
" = " << it->second << std::endl;
83 }
catch (
const std::runtime_error& e) {
84 std::cerr << e.what() << std::endl;