herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Builtin
Amplitudes
MatchboxAmplitudeggttbar.h
1
// -*- C++ -*-
2
//
3
// MatchboxAmplitudeggttbar.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_MatchboxAmplitudeggttbar_H
10
#define Herwig_MatchboxAmplitudeggttbar_H
11
//
12
// This is the declaration of the MatchboxAmplitudeggttbar class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16
#include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17
#include "MG_gg2ttx.h"
18
#include "HelAmps_sm.h"
19
20
namespace
Herwig
{
21
22
using namespace
ThePEG
;
23
30
class
MatchboxAmplitudeggttbar
:
31
public
MatchboxAmplitude
,
public
MatchboxCurrents
{
32
33
public
:
34
38
MatchboxAmplitudeggttbar
();
39
40
public
:
41
45
virtual
bool
canHandle
(
const
PDVector
&)
const
;
46
51
virtual
unsigned
int
orderInGs
()
const
{
return
2; }
52
57
virtual
unsigned
int
orderInGem
()
const
{
return
0; }
58
62
virtual
bool
noCorrelations
()
const
{
return
false
; }
63
68
virtual
bool
haveOneLoop
()
const
{
return
false
; }
69
74
virtual
void
prepareAmplitudes
(Ptr<MatchboxMEBase>::tcptr);
75
80
virtual
Complex
evaluate
(
size_t
,
const
vector<int>&,
Complex
&);
81
87
virtual
Energy2
mu2
()
const
{
return
lastSHat
(); }
88
92
virtual
void
flushCaches
() {
93
MatchboxCurrents::reset
();
94
MatchboxAmplitude::flushCaches
();
95
}
96
97
public
:
98
105
void
persistentOutput
(
PersistentOStream
& os)
const
;
106
112
void
persistentInput
(
PersistentIStream
& is,
int
version);
114
121
static
void
Init
();
122
123
protected
:
124
131
virtual
IBPtr
clone
()
const
;
132
137
virtual
IBPtr
fullclone
()
const
;
139
140
141
// If needed, insert declarations of virtual function defined in the
142
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
143
144
protected
:
145
153
virtual
void
doinit
();
154
159
virtual
void
doinitrun
();
160
162
163
private
:
164
169
MatchboxAmplitudeggttbar
&
operator=
(
const
MatchboxAmplitudeggttbar
&) =
delete
;
170
174
double
mom0
[4];
175
double
mom1 [4];
176
double
mom2 [4];
177
double
mom3 [4];
178
182
void
setupParams
(map<string, double> & MGParams);
183
187
map<string,double>
MGParams_
;
188
189
};
190
191
}
192
193
#endif
/* Herwig_MatchboxAmplitudeggttbar_H */
Herwig::MatchboxAmplitude
MatchboxAmplitude is the base class for amplitude implementations inside Matchbox.
Definition:
MatchboxAmplitude.h:111
Herwig::MatchboxAmplitude::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitude.h:558
Herwig::MatchboxAmplitudeggttbar
MatchboxAmplitudeggttbar.
Definition:
MatchboxAmplitudeggttbar.h:31
Herwig::MatchboxAmplitudeggttbar::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MatchboxAmplitudeggttbar::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitudeggttbar.h:92
Herwig::MatchboxAmplitudeggttbar::noCorrelations
virtual bool noCorrelations() const
Return true, if this amplitude will not require colour correlations.
Definition:
MatchboxAmplitudeggttbar.h:62
Herwig::MatchboxAmplitudeggttbar::orderInGem
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudeggttbar.h:57
Herwig::MatchboxAmplitudeggttbar::orderInGs
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudeggttbar.h:51
Herwig::MatchboxAmplitudeggttbar::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MatchboxAmplitudeggttbar::mom0
double mom0[4]
Containers for external particle momenta.
Definition:
MatchboxAmplitudeggttbar.h:174
Herwig::MatchboxAmplitudeggttbar::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MatchboxAmplitudeggttbar::evaluate
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudeggttbar::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MatchboxAmplitudeggttbar::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MatchboxAmplitudeggttbar::haveOneLoop
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
Definition:
MatchboxAmplitudeggttbar.h:68
Herwig::MatchboxAmplitudeggttbar::MatchboxAmplitudeggttbar
MatchboxAmplitudeggttbar()
The default constructor.
Herwig::MatchboxAmplitudeggttbar::canHandle
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
Herwig::MatchboxAmplitudeggttbar::prepareAmplitudes
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
Herwig::MatchboxAmplitudeggttbar::mu2
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
Definition:
MatchboxAmplitudeggttbar.h:87
Herwig::MatchboxAmplitudeggttbar::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::MatchboxAmplitudeggttbar::MGParams_
map< string, double > MGParams_
Stores parameters needed in MG_process.
Definition:
MatchboxAmplitudeggttbar.h:187
Herwig::MatchboxAmplitudeggttbar::operator=
MatchboxAmplitudeggttbar & operator=(const MatchboxAmplitudeggttbar &)=delete
The assignment operator is private and must never be called.
Herwig::MatchboxAmplitudeggttbar::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MatchboxAmplitudeggttbar::setupParams
void setupParams(map< string, double > &MGParams)
Fill MGParams_ with Herwig values of parameters.
Herwig::SpinorHelicity::AmplitudeCache< pair< size_t, size_t > >::reset
void reset() const
Reset flags.
ThePEG::LastXCombInfo< StandardXComb >::lastSHat
Energy2 lastSHat() const
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::PDVector
vector< PDPtr > PDVector
ThePEG::Complex
std::complex< double > Complex
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::MatchboxCurrents
MatchboxCurrents.
Definition:
MatchboxCurrents.h:32
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6