a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
DiBosonThObservables.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 HEPfit Collaboration
3  *
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #include "DiBosonThObservables.h"
9 #include "NPbase.h"
10 
11 mueeWW::mueeWW(const StandardModel& SM_i, const double sqrt_s_i)
12 : ThObservable(SM_i), sqrt_s(sqrt_s_i)
13 {
14  if ((myNPbase = dynamic_cast<const NPbase*> (&SM)) == NULL)
15  throw std::runtime_error("mueeWW called with a class whose parent is not NPbase");
16 }
17 
19 {
20  return myNPbase->mueeWW(sqrt_s);
21 }
22 
23 mueeWWPol::mueeWWPol(const StandardModel& SM_i, const double sqrt_s_i, const double Pol_em_i, const double Pol_ep_i)
24 : ThObservable(SM_i), sqrt_s(sqrt_s_i), Pol_em(Pol_em_i), Pol_ep(Pol_ep_i)
25 {
26  if ((myNPbase = dynamic_cast<const NPbase*> (&SM)) == NULL)
27  throw std::runtime_error("mueeWWPol called with a class whose parent is not NPbase");
28 }
29 
31 {
33 }
mueeWWPol::sqrt_s
const double sqrt_s
Definition: DiBosonThObservables.h:81
NPbase.h
mueeWWPol::Pol_em
const double Pol_em
Definition: DiBosonThObservables.h:81
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:474
mueeWW::mueeWW
mueeWW(const StandardModel &SM_i, const double sqrt_s_i)
Constructor.
Definition: DiBosonThObservables.cpp:11
mueeWWPol::computeThValue
double computeThValue()
A method to compute the value of in the current model.
Definition: DiBosonThObservables.cpp:30
mueeWWPol::Pol_ep
const double Pol_ep
Definition: DiBosonThObservables.h:81
mueeWWPol::myNPbase
const NPbase * myNPbase
Definition: DiBosonThObservables.h:80
NPbase::mueeWW
virtual double mueeWW(const double sqrt_s) const
The ratio between the production cross-section in the current model and in the Standard Model.
Definition: NPbase.h:1966
ThObservable::SM
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121
NPbase::mueeWWPol
virtual double mueeWWPol(const double sqrt_s, const double Pol_em, const double Pol_ep) const
The ratio between the production cross-section in the current model and in the Standard Model.
Definition: NPbase.h:1979
mueeWW::computeThValue
double computeThValue()
A method to compute the value of in the current model.
Definition: DiBosonThObservables.cpp:18
ThObservable
A class for a model prediction of an observable.
Definition: ThObservable.h:25
mueeWW::myNPbase
const NPbase * myNPbase
Definition: DiBosonThObservables.h:48
DiBosonThObservables.h
mueeWW::sqrt_s
const double sqrt_s
Definition: DiBosonThObservables.h:49
mueeWWPol::mueeWWPol
mueeWWPol(const StandardModel &SM_i, const double sqrt_s_i, const double Pol_em_i, const double Pol_ep_i)
Constructor.
Definition: DiBosonThObservables.cpp:23