a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
ParamObs.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 HEPfit Collaboration
3  *
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #include "ParamObs.h"
9 #include "StandardModel.h"
10 
11 ParamObs::ParamObs(const StandardModel& SM_i, std::string name)
12 : ThObservable(SM_i), param(SM_i.getModelParam(name))
13 {
14 }
15 
17 {
18  return param;
19 }
ParamObs::ParamObs
ParamObs(const StandardModel &SM, const std::string name)
Constructor.
Definition: ParamObs.cpp:11
StandardModel.h
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:474
ParamObs.h
ParamObs::computeThValue
double computeThValue()
the method to compute the theory value of the parameter
Definition: ParamObs.cpp:16
ThObservable
A class for a model prediction of an observable.
Definition: ThObservable.h:25
ParamObs::param
const double & param
The parameter.
Definition: ParamObs.h:39