herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Builtin
Amplitudes
MatchboxAmplitudelnuqqbarg.h
1
// -*- C++ -*-
2
//
3
// MatchboxAmplitudelnuqqbarg.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_MatchboxAmplitudelnuqqbarg_H
10
#define Herwig_MatchboxAmplitudelnuqqbarg_H
11
//
12
// This is the declaration of the MatchboxAmplitudelnuqqbarg 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
MatchboxAmplitudelnuqqbarg
:
public
MatchboxAmplitude
,
public
MatchboxCurrents
{
39
40
public
:
41
45
MatchboxAmplitudelnuqqbarg
();
46
51
virtual
unsigned
int
orderInGs
()
const
{
return
1; }
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
MatchboxAmplitudelnuqqbarg
&
operator=
(
const
MatchboxAmplitudelnuqqbarg
&) =
delete
;
175
176
};
177
178
}
179
180
#endif
/* Herwig_MatchboxAmplitudelnuqqbarg_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::MatchboxAmplitudelnuqqbarg
MatchboxAmplitudelnuqqbarg.
Definition:
MatchboxAmplitudelnuqqbarg.h:38
Herwig::MatchboxAmplitudelnuqqbarg::mu2
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
Definition:
MatchboxAmplitudelnuqqbarg.h:99
Herwig::MatchboxAmplitudelnuqqbarg::MatchboxAmplitudelnuqqbarg
MatchboxAmplitudelnuqqbarg()
The default constructor.
Herwig::MatchboxAmplitudelnuqqbarg::theDiagonal
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
Definition:
MatchboxAmplitudelnuqqbarg.h:163
Herwig::MatchboxAmplitudelnuqqbarg::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MatchboxAmplitudelnuqqbarg::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MatchboxAmplitudelnuqqbarg::theCKM
vector< vector< Complex > > theCKM
The ckm.
Definition:
MatchboxAmplitudelnuqqbarg.h:168
Herwig::MatchboxAmplitudelnuqqbarg::haveOneLoop
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
Definition:
MatchboxAmplitudelnuqqbarg.h:63
Herwig::MatchboxAmplitudelnuqqbarg::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MatchboxAmplitudelnuqqbarg::canHandle
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
Herwig::MatchboxAmplitudelnuqqbarg::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MatchboxAmplitudelnuqqbarg::operator=
MatchboxAmplitudelnuqqbarg & operator=(const MatchboxAmplitudelnuqqbarg &)=delete
The assignment operator is private and must never be called.
Herwig::MatchboxAmplitudelnuqqbarg::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MatchboxAmplitudelnuqqbarg::evaluate
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudelnuqqbarg::prepareAmplitudes
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
Herwig::MatchboxAmplitudelnuqqbarg::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MatchboxAmplitudelnuqqbarg::orderInGs
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbarg.h:51
Herwig::MatchboxAmplitudelnuqqbarg::isBDK
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
Definition:
MatchboxAmplitudelnuqqbarg.h:92
Herwig::MatchboxAmplitudelnuqqbarg::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitudelnuqqbarg.h:104
Herwig::MatchboxAmplitudelnuqqbarg::evaluateOneLoop
virtual Complex evaluateOneLoop(size_t, const vector< int > &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudelnuqqbarg::orderInGem
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbarg.h:57
Herwig::MatchboxAmplitudelnuqqbarg::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