herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
18namespace Herwig {
19
20using namespace ThePEG;
21
30
31public:
32
37
38public:
39
43 virtual bool canHandle(const PDVector&) const;
44
49 virtual unsigned int orderInGs() const { return 0; }
50
55 virtual unsigned int orderInGem() const { return 2; }
56
61 virtual bool haveOneLoop() const { return true; }
62
67 virtual void prepareAmplitudes(Ptr<MatchboxMEBase>::tcptr);
68
73 virtual Complex evaluate(size_t, const vector<int>&, Complex&);
74
79 virtual Complex evaluateOneLoop(size_t, const vector<int>&);
80
84 virtual bool isExpanded() const { return true; }
85
91 virtual Energy2 mu2() const { return lastSHat(); }
92
96 virtual void flushCaches() {
99 }
100
101public:
102
110
116 void persistentInput(PersistentIStream & is, int version);
118
125 static void Init();
126
127protected:
128
135 virtual IBPtr clone() const;
136
141 virtual IBPtr fullclone() const;
143
144
145// If needed, insert declarations of virtual function defined in the
146// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
147
148protected:
149
157 virtual void doinit();
158
163 virtual void doinitrun();
165
166private:
167
173
174};
175
176}
177
178#endif /* Herwig_MatchboxAmplitudellbarqqbar_H */
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 bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
static void Init()
The standard Init function used to initialize the interfaces.
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
MatchboxAmplitudellbarqqbar()
The default constructor.
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
MatchboxAmplitudellbarqqbar & operator=(const MatchboxAmplitudellbarqqbar &)=delete
The assignment operator is private and must never be called.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void flushCaches()
Flush all cashes.
virtual bool isExpanded() const
Return true if one loop corrections are given in the conventions of everything expanded - this is cur...
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual void doinitrun()
Initialize this object.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Here is the documentation of the MatchboxZGammaAmplitude class.
-*- C++ -*-
vector< PDPtr > PDVector
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr