herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Builtin
Amplitudes
MatchboxAmplitudelnuqqbarqqbar.h
1
// -*- C++ -*-
2
//
3
// MatchboxAmplitudelnuqqbarqqbar.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_MatchboxAmplitudelnuqqbarqqbar_H
10
#define Herwig_MatchboxAmplitudelnuqqbarqqbar_H
11
//
12
// This is the declaration of the MatchboxAmplitudelnuqqbarqqbar class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Base/MatchboxAmplitude.h"
16
#include "Herwig/MatrixElement/Matchbox/Builtin/Amplitudes/MatchboxCurrents.h"
17
#include "Herwig/MatrixElement/Matchbox/Utility/SU2Helper.h"
18
#include "ThePEG/StandardModel/StandardModelBase.h"
19
#include "ThePEG/Interface/ClassDocumentation.h"
20
#include "ThePEG/Interface/Switch.h"
21
#include "ThePEG/Interface/Parameter.h"
22
#include "ThePEG/EventRecord/Particle.h"
23
#include "ThePEG/Repository/UseRandom.h"
24
#include "ThePEG/Repository/EventGenerator.h"
25
#include "ThePEG/Utilities/DescribeClass.h"
26
#include "ThePEG/Persistency/PersistentOStream.h"
27
#include "ThePEG/Persistency/PersistentIStream.h"
28
#include "ThePEG/PDT/EnumParticles.h"
29
30
namespace
Herwig
{
31
32
using namespace
ThePEG
;
33
40
class
MatchboxAmplitudelnuqqbarqqbar
:
public
MatchboxAmplitude
,
public
MatchboxCurrents
{
41
42
public
:
43
47
MatchboxAmplitudelnuqqbarqqbar
();
48
53
virtual
unsigned
int
orderInGs
()
const
{
return
2; }
54
59
virtual
unsigned
int
orderInGem
()
const
{
return
2; }
60
65
virtual
bool
haveOneLoop
()
const
{
return
false
; }
66
70
virtual
bool
canHandle
(
const
PDVector
&)
const
;
71
76
virtual
void
prepareAmplitudes
(Ptr<MatchboxMEBase>::tcptr);
77
82
virtual
Complex
evaluate
(
size_t
,
const
vector<int>&,
Complex
&);
83
88
virtual
bool
isBDK
()
const
{
return
true
; }
89
95
virtual
Energy2
mu2
()
const
{
return
lastSHat
(); }
96
100
virtual
void
flushCaches
() {
101
MatchboxCurrents::reset
();
102
MatchboxAmplitude::flushCaches
();
103
}
104
109
void
persistentOutput
(
PersistentOStream
& os)
const
;
110
116
void
persistentInput
(
PersistentIStream
& is,
int
version);
117
124
static
void
Init
();
125
126
protected
:
127
132
virtual
IBPtr
clone
()
const
;
133
138
virtual
IBPtr
fullclone
()
const
;
139
145
virtual
void
doinit
();
146
151
virtual
void
doinitrun
();
152
153
private
:
154
159
bool
theDiagonal
;
160
164
vector< vector<Complex> >
theCKM
;
165
170
MatchboxAmplitudelnuqqbarqqbar
&
operator=
(
const
MatchboxAmplitudelnuqqbarqqbar
&) =
delete
;
171
172
};
173
174
}
175
176
#endif
/* Herwig_MatchboxAmplitudelnuqqbarqqbar_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::MatchboxAmplitudelnuqqbarqqbar
MatchboxAmplitudelnuqqbarqqbar.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:40
Herwig::MatchboxAmplitudelnuqqbarqqbar::flushCaches
virtual void flushCaches()
Flush all cashes.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:100
Herwig::MatchboxAmplitudelnuqqbarqqbar::orderInGs
virtual unsigned int orderInGs() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:53
Herwig::MatchboxAmplitudelnuqqbarqqbar::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MatchboxAmplitudelnuqqbarqqbar::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MatchboxAmplitudelnuqqbarqqbar::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::MatchboxAmplitudelnuqqbarqqbar::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MatchboxAmplitudelnuqqbarqqbar::mu2
virtual Energy2 mu2() const
Return the value of the dimensional regularization parameter.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:95
Herwig::MatchboxAmplitudelnuqqbarqqbar::MatchboxAmplitudelnuqqbarqqbar
MatchboxAmplitudelnuqqbarqqbar()
The default constructor.
Herwig::MatchboxAmplitudelnuqqbarqqbar::canHandle
virtual bool canHandle(const PDVector &) const
Return true, if this amplitude can handle the given process.
Herwig::MatchboxAmplitudelnuqqbarqqbar::prepareAmplitudes
virtual void prepareAmplitudes(Ptr< MatchboxMEBase >::tcptr)
Calculate the tree level amplitudes for the phasespace point stored in lastXComb.
Herwig::MatchboxAmplitudelnuqqbarqqbar::theDiagonal
bool theDiagonal
True, if a diagonal CKM matrix should be assumed.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:159
Herwig::MatchboxAmplitudelnuqqbarqqbar::isBDK
virtual bool isBDK() const
Return true, if one loop corrections are given in the conventions of BDK.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:88
Herwig::MatchboxAmplitudelnuqqbarqqbar::evaluate
virtual Complex evaluate(size_t, const vector< int > &, Complex &)
Evaluate the amplitude for the given colour tensor id and helicity assignment.
Herwig::MatchboxAmplitudelnuqqbarqqbar::orderInGem
virtual unsigned int orderInGem() const
Return the (tree-level) order in in which this matrix element is given.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:59
Herwig::MatchboxAmplitudelnuqqbarqqbar::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MatchboxAmplitudelnuqqbarqqbar::haveOneLoop
virtual bool haveOneLoop() const
Return true, if this amplitude is capable of calculating one-loop (QCD) corrections.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:65
Herwig::MatchboxAmplitudelnuqqbarqqbar::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MatchboxAmplitudelnuqqbarqqbar::theCKM
vector< vector< Complex > > theCKM
The ckm.
Definition:
MatchboxAmplitudelnuqqbarqqbar.h:164
Herwig::MatchboxAmplitudelnuqqbarqqbar::operator=
MatchboxAmplitudelnuqqbarqqbar & operator=(const MatchboxAmplitudelnuqqbarqqbar &)=delete
The assignment operator is private and must never be called.
Herwig::MatchboxAmplitudelnuqqbarqqbar::Init
static void Init()
The standard Init function used to initialize the interfaces.
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