a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
nonMinimal.cpp
Go to the documentation of this file.
1// Include the necessary header file.
2#include <HEPfit.h>
3
4// Define the model configuration file.
5std::string ModelConf = "SomeModel.conf";
6
7// Define a map for the observables.
8std::map<std::string, double> DObs;
9
10// Define a map for the parameters to be varied.
11std::map<std::string, double> DPars;
12
13// Initialize the observables to be returned.
14DObs["Mw"] = 0;
15DObs["GammaZ"] = 0.;
16DObs["AFBbottom"] = 0.;
17
18// Create and object of the class ComputeObservables.
20
21// Vary the parameters that need to be varied in the analysis.
22DPars["Mz"] = 91.1875;
23DPars["AlsMz"] = 0.1184;
24
25// Get the map of observables with the parameter values defined above.
A class for providing access to the computation of observables without a Monte Carlo run.
std::map< std::string, double > compute(std::map< std::string, double > DP)
The method used to compute observables.
ComputeObservables CO(ModelConf, DObs)
std::map< std::string, double > DPars
Definition: nonMinimal.cpp:11
std::string ModelConf
Definition: nonMinimal.cpp:5
std::map< std::string, double > DObs
Definition: nonMinimal.cpp:8