a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
GMunitarity.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 HEPfit Collaboration
3  * All rights reserved.
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #include "GMunitarity.h"
9 #include "GMcache.h"
10 #include "GeorgiMachacek.h"
11 
12 GMunitarityLO::GMunitarityLO(const StandardModel& SM_i, unsigned int index_i)
13 : ThObservable(SM_i),myGM(static_cast<const GeorgiMachacek&> (SM_i))
14 {
15  index = index_i;
16 }
17 
19 {}
20 
22 {
23  if( index > 16 ) {
24  throw std::runtime_error("Index out of range in GMunitarityLO");
25  }
26 // std::cout<<(myGM.getMyGMCache()->unitarityeigenvalues(index)).real()<<std::endl;
27  return (myGM.getMyGMCache()->unitarityeigenvalues(index)).real();
28 }
GMunitarity.h
GeorgiMachacek.h
GMunitarityLO::myGM
const GeorgiMachacek & myGM
Definition: GMunitarity.h:44
GMunitarityLO::GMunitarityLO
GMunitarityLO(const StandardModel &SM_i, unsigned int index_i)
GMunitarityLO constructor.
Definition: GMunitarity.cpp:12
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:477
GeorgiMachacek
A base class for the GeorgiMachacek model.
Definition: GeorgiMachacek.h:120
GMunitarityLO::index
unsigned int index
Definition: GMunitarity.h:45
GMcache.h
GMunitarityLO::~GMunitarityLO
virtual ~GMunitarityLO()
Destructor.
Definition: GMunitarity.cpp:18
GMcache::unitarityeigenvalues
gslpp::vector< gslpp::complex > unitarityeigenvalues
Definition: GMcache.h:902
ThObservable
A class for a model prediction of an observable.
Definition: ThObservable.h:25
GeorgiMachacek::getMyGMCache
GMcache * getMyGMCache() const
A method get the GeorgiMachacekCache.
Definition: GeorgiMachacek.h:191
GMunitarityLO::computeThValue
double computeThValue()
Definition: GMunitarity.cpp:21