herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MatchboxAmplitudelnuqqbarg.h
1// -*- C++ -*-
2//
3// MatchboxAmplitudelnuqqbarg.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_MatchboxAmplitudelnuqqbarg_H
10#define Herwig_MatchboxAmplitudelnuqqbarg_H
11//
12// This is the declaration of the MatchboxAmplitudelnuqqbarg 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 1; }
52
57 virtual unsigned int orderInGem() const { return 2; }
58
63 virtual bool haveOneLoop() const { return true; }
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 Complex evaluateOneLoop(size_t, const vector<int>&);
87
92 virtual bool isBDK() const { return true; }
93
99 virtual Energy2 mu2() const { return lastSHat(); }
100
104 virtual void flushCaches() {
107 }
108
114
120 void persistentInput(PersistentIStream & is, int version);
121
128 static void Init();
129
130protected:
131
136 virtual IBPtr clone() const;
137
142 virtual IBPtr fullclone() const;
143
149 virtual void doinit();
150
155 virtual void doinitrun();
156
157private:
158
164
168 vector< vector<Complex> > theCKM;
169
175
176};
177
178}
179
180#endif /* Herwig_MatchboxAmplitudelnuqqbarg_H */
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
virtual void flushCaches()
Flush all cashes.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
MatchboxAmplitudelnuqqbarg()
The default constructor.
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< vector< Complex > > theCKM
The ckm.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
static void Init()
The standard Init function used to initialize the interfaces.
MatchboxAmplitudelnuqqbarg & operator=(const MatchboxAmplitudelnuqqbarg &)=delete
The assignment operator is private and must never be called.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
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.
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.
virtual void flushCaches()
Flush all cashes.
virtual Complex evaluateOneLoop(size_t, const vector< int > &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
virtual void doinitrun()
Initialize this object.
-*- C++ -*-
vector< PDPtr > PDVector
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr