herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
MatchboxAmplitudehbbbar.h
1 // -*- C++ -*-
2 //
3 // MatchboxAmplitudebbbarh.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef Herwig_MatchboxAmplitudehbbbar_H
10 #define Herwig_MatchboxAmplitudehbbbar_H
11 //
12 // This is the declaration of the MatchboxAmplitudehbbbar class.
13 //
14 
15 #include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16 #include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17 
18 namespace Herwig {
19 
20 using namespace ThePEG;
21 
29  public MatchboxAmplitude, public MatchboxCurrents {
30 
31 public:
32 
39 
43  virtual ~MatchboxAmplitudehbbbar();
45 
46 public:
47 
51  virtual bool canHandle(const PDVector&) const;
52 
57  virtual unsigned int orderInGs() const { return 0; }
58 
63  virtual unsigned int orderInGem() const { return 1; }
64 
69  virtual bool haveOneLoop() const { return true; }
70 
75  virtual void prepareAmplitudes(Ptr<MatchboxMEBase>::tcptr);
76 
81  virtual Complex evaluate(size_t, const vector<int>&, Complex&);
82 
87  virtual Complex evaluateOneLoop(size_t, const vector<int>&);
88 
93  virtual bool isBDK() const { return true; }
94 
100  virtual Energy2 mu2() const { return lastSHat(); }
101 
105  virtual void flushCaches() {
108  }
109 
110 public:
111 
118  void persistentOutput(PersistentOStream & os) const;
119 
125  void persistentInput(PersistentIStream & is, int version);
127 
134  static void Init();
135 
136 protected:
137 
144  virtual IBPtr clone() const;
145 
150  virtual IBPtr fullclone() const;
152 
153 
154 // If needed, insert declarations of virtual function defined in the
155 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
156 
157 protected:
158 
166  virtual void doinit();
167 
172  virtual void doinitrun();
174 
175 private:
176 
177  /*
178  * The interfaced up quark mass
179  */
180  Energy interfaceUMass;
181  /*
182  * The interfaced down quark mass
183  */
184  Energy interfaceDMass;
185  /*
186  * The interfaced strange quark mass
187  */
188  Energy interfaceSMass;
189  /*
190  * The interfaced charm quark mass
191  */
192  Energy interfaceCMass;
193  /*
194  * The interfaced bottom quark mass
195  */
196  Energy interfaceBMass;
197 
202  MatchboxAmplitudehbbbar & operator=(const MatchboxAmplitudehbbbar &) = delete;
203 
204 };
205 
206 }
207 
208 #endif /* Herwig_MatchboxAmplitudehbbbar_H */
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
virtual void flushCaches()
Flush all cashes.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
-*- C++ -*-
vector< PDPtr > PDVector
virtual void flushCaches()
Flush all cashes.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
MatchboxCurrents.