herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
MatchboxAmplitudelnuqqbarqqbar.h
1 // -*- C++ -*-
2 //
3 // MatchboxAmplitudelnuqqbarqqbar.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_MatchboxAmplitudelnuqqbarqqbar_H
10 #define Herwig_MatchboxAmplitudelnuqqbarqqbar_H
11 //
12 // This is the declaration of the MatchboxAmplitudelnuqqbarqqbar class.
13 //
14 
15 #include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16 #include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17 #include "Herwig/MatrixElement/Matchbox/Utility/SU2Helper.h"
18 #include "ThePEG/StandardModel/StandardModelBase.h"
19 #include "ThePEG/Interface/ClassDocumentation.h"
20 #include "ThePEG/Interface/Switch.h"
21 #include "ThePEG/Interface/Parameter.h"
22 #include "ThePEG/EventRecord/Particle.h"
23 #include "ThePEG/Repository/UseRandom.h"
24 #include "ThePEG/Repository/EventGenerator.h"
25 #include "ThePEG/Utilities/DescribeClass.h"
26 #include "ThePEG/Persistency/PersistentOStream.h"
27 #include "ThePEG/Persistency/PersistentIStream.h"
28 #include "ThePEG/PDT/EnumParticles.h"
29 
30 namespace Herwig {
31 
32 using namespace ThePEG;
33 
41 
42 public:
43 
48 
53 
58  virtual unsigned int orderInGs() const { return 2; }
59 
64  virtual unsigned int orderInGem() const { return 2; }
65 
70  virtual bool haveOneLoop() const { return false; }
71 
75  virtual bool canHandle(const PDVector&) const;
76 
81  virtual void prepareAmplitudes(Ptr<MatchboxMEBase>::tcptr);
82 
87  virtual Complex evaluate(size_t, const vector<int>&, Complex&);
88 
93  virtual bool isBDK() const { return true; }
94 
100  virtual Energy2 mu2() const { return lastSHat(); }
101 
105  virtual void flushCaches() {
108  }
109 
114  void persistentOutput(PersistentOStream & os) const;
115 
121  void persistentInput(PersistentIStream & is, int version);
122 
129  static void Init();
130 
131 protected:
132 
137  virtual IBPtr clone() const;
138 
143  virtual IBPtr fullclone() const;
144 
150  virtual void doinit();
151 
156  virtual void doinitrun();
157 
158 private:
159 
165 
169  vector< vector<Complex> > theCKM;
170 
176 
177 };
178 
179 }
180 
181 #endif /* Herwig_MatchboxAmplitudelnuqqbarqqbar_H */
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
std::complex< double > Complex
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
virtual void flushCaches()
Flush all cashes.
vector< vector< Complex > > theCKM
The ckm.
-*- C++ -*-
vector< PDPtr > PDVector
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
MatchboxCurrents.