herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MatchboxAmplitudelnuqqbar.h
1// -*- C++ -*-
2//
3// MatchboxAmplitudelnuqqbar.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_MatchboxAmplitudelnuqqbar_H
10#define Herwig_MatchboxAmplitudelnuqqbar_H
11//
12// This is the declaration of the MatchboxAmplitudelnuqqbar 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 0; }
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_MatchboxAmplitudelnuqqbar_H */
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
virtual void flushCaches()
Flush all cashes.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
virtual void flushCaches()
Flush all cashes.
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
MatchboxAmplitudelnuqqbar & operator=(const MatchboxAmplitudelnuqqbar &)=delete
The assignment operator is private and must never be called.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
MatchboxAmplitudelnuqqbar()
The default constructor.
virtual Complex evaluateOneLoop(size_t, const vector< int > &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
static void Init()
The standard Init function used to initialize the interfaces.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< vector< Complex > > theCKM
The ckm.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
virtual void doinitrun()
Initialize this object.
-*- C++ -*-
vector< PDPtr > PDVector
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr