herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Builtin
Amplitudes
MatchboxAmplitudehqqbarg.h
1
// -*- C++ -*-
2
//
3
// MatchboxAmplitudehqqbarg.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_MatchboxAmplitudehqqbarg_H
10
#define Herwig_MatchboxAmplitudehqqbarg_H
11
//
12
// This is the declaration of the MatchboxAmplitudehqqbarg class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16
#include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
28
class
MatchboxAmplitudehqqbarg
:
29
public
MatchboxAmplitude
,
public
MatchboxCurrents
{
30
31
public
:
32
36
MatchboxAmplitudehqqbarg
();
37
38
public
:
39
43
virtual
bool
canHandle
(
const
PDVector
&)
const
;
44
49
virtual
unsigned
int
orderInGs
()
const
{
return
3; }
50
55
virtual
unsigned
int
orderInGem
()
const
{
return
1; }
56
61
virtual
bool
haveOneLoop
()
const
{
return
false
; }
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
85
virtual
bool
isBDK
()
const
{
return
true
; }
86
92
virtual
Energy2
mu2
()
const
{
return
lastSHat
(); }
96
virtual
void
flushCaches
() {
97
MatchboxCurrents::reset
();
98
MatchboxAmplitude::flushCaches
();
99
}
100
101
public
:
102
109
void
persistentOutput
(
PersistentOStream
& os)
const
;
110
116
void
persistentInput
(
PersistentIStream
& is,
int
version);
118
125
static
void
Init
();
126
127
protected
:
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
148
protected
:
149
157
virtual
void
doinit
();
158
163
virtual
void
doinitrun
();
165
166
private
:
167
/*
168
* The interfaced THooftMass
169
*/
170
Energy interfaceTHooft;
175
MatchboxAmplitudehqqbarg
&
operator=
(
const
MatchboxAmplitudehqqbarg
&) =
delete
;
176
177
};
178
179
}
180
181
#endif
/* Herwig_MatchboxAmplitudehqqbarg_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::MatchboxAmplitudehqqbarg
MatchboxAmplitudehqqbarg.
Definition:
MatchboxAmplitudehqqbarg.h:29
Herwig::MatchboxAmplitudehqqbarg::MatchboxAmplitudehqqbarg
MatchboxAmplitudehqqbarg()
The default constructor.
Herwig::MatchboxAmplitudehqqbarg::mu2
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
Definition:
MatchboxAmplitudehqqbarg.h:92
Herwig::MatchboxAmplitudehqqbarg::haveOneLoop
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
Definition:
MatchboxAmplitudehqqbarg.h:61
Herwig::MatchboxAmplitudehqqbarg::evaluate
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudehqqbarg::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MatchboxAmplitudehqqbarg::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitudehqqbarg.h:96
Herwig::MatchboxAmplitudehqqbarg::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MatchboxAmplitudehqqbarg::prepareAmplitudes
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
Herwig::MatchboxAmplitudehqqbarg::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MatchboxAmplitudehqqbarg::isBDK
virtual bool isBDK() const
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Definition:
MatchboxAmplitudehqqbarg.h:85
Herwig::MatchboxAmplitudehqqbarg::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MatchboxAmplitudehqqbarg::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MatchboxAmplitudehqqbarg::operator=
MatchboxAmplitudehqqbarg & operator=(const MatchboxAmplitudehqqbarg &)=delete
The assignment operator is private and must never be called.
Herwig::MatchboxAmplitudehqqbarg::orderInGs
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudehqqbarg.h:49
Herwig::MatchboxAmplitudehqqbarg::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MatchboxAmplitudehqqbarg::orderInGem
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudehqqbarg.h:55
Herwig::MatchboxAmplitudehqqbarg::canHandle
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
Herwig::MatchboxAmplitudehqqbarg::doinitrun
virtual void doinitrun()
Initialize this object.
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