gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
QedQcdWrapper.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
29 
30 #ifndef __QedQcdWrapper_hpp__
31 #define __QedQcdWrapper_hpp__
32 
34 #include "gambit/Elements/spec.hpp"
36 
37 // This is a horrible hack to suppress the millions of warnings that get generated by flexiblesusy.
38 // It basically kills all warnings from the entire remainder of this header.
39 #pragma GCC system_header
40 #include "lowe.h"
41 
42 namespace Gambit
43 {
44  namespace SpecBit
45  {
46  class QedQcdWrapper;
47  }
48 
50  template <>
51  struct SpecTraits<SpecBit::QedQcdWrapper>
52  {
53  static std::string name() { return "QedQcdWrapper"; }
54  typedef SpectrumContents::SM Contents;
55  typedef softsusy::QedQcd Model;
56  typedef SMInputs Input;
57  };
58 
59  namespace SpecBit
60  {
61  class QedQcdWrapper : public Spec<QedQcdWrapper>
62  {
63  private:
64  // Keep copies of Model and Input objects internally
65  Model qedqcd;
66  Input sminputs;
67 
68  public:
69  // Constructors/destructors
70  QedQcdWrapper();
71  QedQcdWrapper(const softsusy::QedQcd&, const SMInputs&);
72  virtual ~QedQcdWrapper(); /***/
73 
74  // Functions to interface Model and Input objects with the base 'Spec' class
75  Model& get_Model() { return qedqcd; }
76  Input& get_Input() { return sminputs; }
77  const Model& get_Model() const { return qedqcd; }
78  const Input& get_Input() const { return sminputs; }
79 
80  virtual int get_numbers_stable_particles() const; /***/
81 
83  virtual void add_to_SLHAea(int, SLHAstruct& slha) const;
84 
86  virtual double GetScale() const; /***/
87  virtual void SetScale(double scale); /***/
88  virtual void RunToScaleOverride(double); /***/
89 
92  double hardup; // Be careful of order in constructor!
93  double softup;
94  double softlow;
95  double hardlow;
96  virtual double hard_upper() const {return hardup;} /*O*/
97  virtual double soft_upper() const {return softup;} /*O*/
98  virtual double soft_lower() const {return softlow;}/*O*/
99  virtual double hard_lower() const {return hardlow;}/*O*/
101 
103  static GetterMaps fill_getter_maps(); /*O*/
104  static SetterMaps fill_setter_maps(); /*O*/
105 
106  };
107 
108  } // end SpecBit namespace
109 } // end Gambit namespace
110 
111 #endif
virtual double soft_upper() const
const Input & get_Input() const
Register the definitions of SubSpectrum contents here.
double hardup
Limits for running.
virtual double soft_lower() const
Parameters used to define the Standard Model, in SLHA2 format.
Some member function definitions from classes in spec_head.hpp.
SLHAea::Coll SLHAstruct
Less confusing name for SLHAea container class.
virtual double hard_lower() const
TODO: see if we can use this one:
Definition: Analysis.hpp:33
virtual double hard_upper() const
const Model & get_Model() const