herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MatchboxAmplitudelnuqqbargg.h
1// -*- C++ -*-
2//
3// MatchboxAmplitudelnuqqbargg.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_MatchboxAmplitudelnuqqbargg_H
10#define Herwig_MatchboxAmplitudelnuqqbargg_H
11//
12// This is the declaration of the MatchboxAmplitudelnuqqbargg class.
13//
14
15#include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16#include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17#include "ThePEG/StandardModel/StandardModelBase.h"
18#include "ThePEG/Interface/ClassDocumentation.h"
19#include "ThePEG/EventRecord/Particle.h"
20#include "ThePEG/Repository/UseRandom.h"
21#include "ThePEG/Repository/EventGenerator.h"
22#include "ThePEG/Utilities/DescribeClass.h"
23#include "ThePEG/Persistency/PersistentOStream.h"
24#include "ThePEG/Persistency/PersistentIStream.h"
25#include "ThePEG/PDT/EnumParticles.h"
26#include "Herwig/MatrixElement/Matchbox/Utility/SU2Helper.h"
27
28namespace Herwig {
29
30using namespace ThePEG;
31
39
40public:
41
46
51 virtual unsigned int orderInGs() const { return 2; }
52
57 virtual unsigned int orderInGem() const { return 2; }
58
63 virtual bool haveOneLoop() const { return false; }
64
68 virtual bool canHandle(const PDVector&) const;
69
74 virtual void prepareAmplitudes(Ptr<MatchboxMEBase>::tcptr);
75
80 virtual Complex evaluate(size_t, const vector<int>&, Complex&);
81
86 virtual bool isBDK() const { return true; }
87
93 virtual Energy2 mu2() const { return lastSHat(); }
94
98 virtual void flushCaches() {
101 }
102
108
114 void persistentInput(PersistentIStream & is, int version);
115
122 static void Init();
123
124protected:
125
130 virtual IBPtr clone() const;
131
136 virtual IBPtr fullclone() const;
137
143 virtual void doinit();
144
149 virtual void doinitrun();
150
151private:
152
158
162 vector< vector<Complex> > theCKM;
163
169
170};
171
172}
173
174#endif /* Herwig_MatchboxAmplitudelnuqqbargg_H */
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
virtual void flushCaches()
Flush all cashes.
MatchboxAmplitudelnuqqbargg()
The default constructor.
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
vector< vector< Complex > > theCKM
The ckm.
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
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.
MatchboxAmplitudelnuqqbargg & operator=(const MatchboxAmplitudelnuqqbargg &)=delete
The assignment operator is private and must never be called.
virtual void flushCaches()
Flush all cashes.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
static void Init()
The standard Init function used to initialize the interfaces.
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
virtual void doinitrun()
Initialize this object.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
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 void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
-*- C++ -*-
vector< PDPtr > PDVector
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr