herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
MatchboxAmplitudellbarqqbar.h
1 // -*- C++ -*-
2 //
3 // MatchboxAmplitudellbarqqbar.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_MatchboxAmplitudellbarqqbar_H
10 #define Herwig_MatchboxAmplitudellbarqqbar_H
11 //
12 // This is the declaration of the MatchboxAmplitudellbarqqbar 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 
43  virtual ~MatchboxAmplitudellbarqqbar();
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 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 
92  virtual bool isExpanded() const { return true; }
93 
99  virtual Energy2 mu2() const { return lastSHat(); }
100 
104  virtual void flushCaches() {
107  }
108 
109 public:
110 
117  void persistentOutput(PersistentOStream & os) const;
118 
124  void persistentInput(PersistentIStream & is, int version);
126 
133  static void Init();
134 
135 protected:
136 
143  virtual IBPtr clone() const;
144 
149  virtual IBPtr fullclone() const;
151 
152 
153 // If needed, insert declarations of virtual function defined in the
154 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
155 
156 protected:
157 
165  virtual void doinit();
166 
171  virtual void doinitrun();
173 
174 private:
175 
180  MatchboxAmplitudellbarqqbar & operator=(const MatchboxAmplitudellbarqqbar &) = delete;
181 
182 };
183 
184 }
185 
186 #endif /* Herwig_MatchboxAmplitudellbarqqbar_H */
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Here is the documentation of the MatchboxZGammaAmplitude class.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
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 void flushCaches()
Flush all cashes.
MatchboxCurrents.
virtual bool isExpanded() const
Return true if one loop corrections are given in the conventions of everything expanded - this is cur...
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.