herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Builtin
Amplitudes
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
28
namespace
Herwig
{
29
30
using namespace
ThePEG
;
31
38
class
MatchboxAmplitudelnuqqbar
:
public
MatchboxAmplitude
,
public
MatchboxCurrents
{
39
40
public
:
41
45
MatchboxAmplitudelnuqqbar
();
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
() {
105
MatchboxCurrents::reset
();
106
MatchboxAmplitude::flushCaches
();
107
}
108
113
void
persistentOutput
(
PersistentOStream
& os)
const
;
114
120
void
persistentInput
(
PersistentIStream
& is,
int
version);
121
128
static
void
Init
();
129
130
protected
:
131
136
virtual
IBPtr
clone
()
const
;
137
142
virtual
IBPtr
fullclone
()
const
;
143
149
virtual
void
doinit
();
150
155
virtual
void
doinitrun
();
156
157
private
:
158
163
bool
theDiagonal
;
164
168
vector< vector<Complex> >
theCKM
;
169
174
MatchboxAmplitudelnuqqbar
&
operator=
(
const
MatchboxAmplitudelnuqqbar
&) =
delete
;
175
176
};
177
178
}
179
180
#endif
/* Herwig_MatchboxAmplitudelnuqqbar_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::MatchboxAmplitudelnuqqbar
MatchboxAmplitudelnuqqbar.
Definition:
MatchboxAmplitudelnuqqbar.h:38
Herwig::MatchboxAmplitudelnuqqbar::orderInGem
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbar.h:57
Herwig::MatchboxAmplitudelnuqqbar::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitudelnuqqbar.h:104
Herwig::MatchboxAmplitudelnuqqbar::orderInGs
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbar.h:51
Herwig::MatchboxAmplitudelnuqqbar::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MatchboxAmplitudelnuqqbar::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MatchboxAmplitudelnuqqbar::operator=
MatchboxAmplitudelnuqqbar & operator=(const MatchboxAmplitudelnuqqbar &)=delete
The assignment operator is private and must never be called.
Herwig::MatchboxAmplitudelnuqqbar::mu2
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
Definition:
MatchboxAmplitudelnuqqbar.h:99
Herwig::MatchboxAmplitudelnuqqbar::MatchboxAmplitudelnuqqbar
MatchboxAmplitudelnuqqbar()
The default constructor.
Herwig::MatchboxAmplitudelnuqqbar::evaluateOneLoop
virtual Complex evaluateOneLoop(size_t, const vector< int > &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudelnuqqbar::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MatchboxAmplitudelnuqqbar::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MatchboxAmplitudelnuqqbar::isBDK
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
Definition:
MatchboxAmplitudelnuqqbar.h:92
Herwig::MatchboxAmplitudelnuqqbar::canHandle
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
Herwig::MatchboxAmplitudelnuqqbar::theDiagonal
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
Definition:
MatchboxAmplitudelnuqqbar.h:163
Herwig::MatchboxAmplitudelnuqqbar::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MatchboxAmplitudelnuqqbar::theCKM
vector< vector< Complex > > theCKM
The ckm.
Definition:
MatchboxAmplitudelnuqqbar.h:168
Herwig::MatchboxAmplitudelnuqqbar::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MatchboxAmplitudelnuqqbar::haveOneLoop
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
Definition:
MatchboxAmplitudelnuqqbar.h:63
Herwig::MatchboxAmplitudelnuqqbar::prepareAmplitudes
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
Herwig::MatchboxAmplitudelnuqqbar::evaluate
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudelnuqqbar::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