herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
MatchboxAmplitudellbarqqbarg.h
1 // -*- C++ -*-
2 //
3 // MatchboxAmplitudellbarqqbarg.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_MatchboxAmplitudellbarqqbarg_H
10 #define Herwig_MatchboxAmplitudellbarqqbarg_H
11 //
12 // This is the declaration of the MatchboxAmplitudellbarqqbarg class.
13 //
14 
15 #include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxZGammaAmplitude.h"
16 #include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17 
18 namespace Herwig {
19 
20 using namespace ThePEG;
21 
30 
31 public:
32 
39 
45 
46 public:
47 
51  virtual bool canHandle(const PDVector&) const;
52 
57  virtual unsigned int orderInGs() const { return 1; }
58 
63  virtual unsigned int orderInGem() const { return 2; }
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 
181  MatchboxAmplitudellbarqqbarg & operator=(const MatchboxAmplitudellbarqqbarg &) = delete;
182 
183 };
184 
185 }
186 
187 #endif /* Herwig_MatchboxAmplitudellbarqqbarg_H */
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Here is the documentation of the MatchboxZGammaAmplitude class.
virtual void flushCaches()
Flush all cashes.
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
virtual void flushCaches()
Flush all cashes.
-*- C++ -*-
vector< PDPtr > PDVector
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
MatchboxCurrents.