herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
General
MEff2ff.h
1
// -*- C++ -*-
2
//
3
// MEff2ff.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_MEff2ff_H
10
#define HERWIG_MEff2ff_H
11
//
12
// This is the declaration of the MEff2ff class.
13
//
14
15
#include "GeneralHardME.h"
16
#include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
17
#include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
18
#include "Herwig/MatrixElement/ProductionMatrixElement.h"
19
#include "ThePEG/Helicity/Vertex/AbstractFFSVertex.h"
20
#include "ThePEG/Helicity/Vertex/AbstractFFVVertex.h"
21
#include "ThePEG/Helicity/Vertex/AbstractFFTVertex.h"
22
#include "ThePEG/Helicity/Vertex/AbstractFFFFVertex.h"
23
24
namespace
Herwig
{
25
using namespace
ThePEG
;
26
using
Helicity::SpinorWaveFunction
;
27
using
Helicity::SpinorBarWaveFunction
;
28
36
class
MEff2ff
:
public
GeneralHardME
{
37
38
public
:
39
41
typedef
vector<SpinorWaveFunction>
SpinorVector
;
42
44
typedef
vector<SpinorBarWaveFunction>
SpinorBarVector
;
45
46
public
:
47
57
virtual
double
me2
()
const
;
59
60
private
:
61
72
ProductionMatrixElement
73
ffb2ffbHeME
(
double
&
me2
,
bool
first)
const
;
74
82
ProductionMatrixElement
ff2ffHeME
(
double
&
me2
,
bool
first)
const
;
83
93
ProductionMatrixElement
fbfb2fbfbHeME
(
double
&
me2
,
bool
first)
const
;
94
103
ProductionMatrixElement
104
ffb2mfmfHeME
(
double
&
me2
,
bool
first)
const
;
106
111
virtual
void
constructVertex
(
tSubProPtr
sub);
112
113
protected
:
114
120
virtual
void
debug
(
double
me2
)
const
;
121
122
public
:
123
130
void
persistentOutput
(
PersistentOStream
& os)
const
;
131
137
void
persistentInput
(
PersistentIStream
& is,
int
version);
139
146
static
void
Init
();
147
148
protected
:
149
157
virtual
void
doinit
();
159
160
protected
:
161
168
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
169
174
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
176
177
private
:
178
183
MEff2ff
&
operator=
(
const
MEff2ff
&) =
delete
;
184
185
private
:
186
190
vector<pair<AbstractFFSVertexPtr, AbstractFFSVertexPtr> >
scalar_
;
191
195
vector<pair<AbstractFFVVertexPtr, AbstractFFVVertexPtr> >
vector_
;
196
200
vector<pair<AbstractFFTVertexPtr, AbstractFFTVertexPtr> >
tensor_
;
201
205
vector<AbstractFFFFVertexPtr>
four_
;
206
210
mutable
std::array<SpinorVector,4>
spin_
;
211
215
mutable
std::array<SpinorBarVector,4>
sbar_
;
216
};
217
218
}
219
220
#endif
/* HERWIG_MEff2ff_H */
Herwig::GeneralHardME
This defines the GeneralHardME class that is designed to serve as a base class for matrix elements of...
Definition:
GeneralHardME.h:40
Herwig::MEff2ff
This is the implementation of the matrix element for a process.
Definition:
MEff2ff.h:36
Herwig::MEff2ff::tensor_
vector< pair< AbstractFFTVertexPtr, AbstractFFTVertexPtr > > tensor_
Store the vector of FFTVertex pairs.
Definition:
MEff2ff.h:200
Herwig::MEff2ff::me2
virtual double me2() const
The matrix element for the kinematical configuration previously provided by the last call to setKinem...
Herwig::MEff2ff::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
MEff2ff.h:174
Herwig::MEff2ff::ffb2ffbHeME
ProductionMatrixElement ffb2ffbHeME(double &me2, bool first) const
Compute the matrix element for .
Herwig::MEff2ff::ffb2mfmfHeME
ProductionMatrixElement ffb2mfmfHeME(double &me2, bool first) const
Compute the matrix element for .
Herwig::MEff2ff::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MEff2ff::vector_
vector< pair< AbstractFFVVertexPtr, AbstractFFVVertexPtr > > vector_
Store the vector of FFVVertex pairs.
Definition:
MEff2ff.h:195
Herwig::MEff2ff::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MEff2ff::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
MEff2ff.h:168
Herwig::MEff2ff::ff2ffHeME
ProductionMatrixElement ff2ffHeME(double &me2, bool first) const
Compute the matrix element for .
Herwig::MEff2ff::spin_
std::array< SpinorVector, 4 > spin_
Spinors.
Definition:
MEff2ff.h:210
Herwig::MEff2ff::SpinorVector
vector< SpinorWaveFunction > SpinorVector
Vector of SpinorWaveFunctions.
Definition:
MEff2ff.h:41
Herwig::MEff2ff::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MEff2ff::debug
virtual void debug(double me2) const
A debugging function to test the value of me2 against an analytic function.
Herwig::MEff2ff::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MEff2ff::SpinorBarVector
vector< SpinorBarWaveFunction > SpinorBarVector
Vector of SpinorBarWaveFunctions.
Definition:
MEff2ff.h:44
Herwig::MEff2ff::operator=
MEff2ff & operator=(const MEff2ff &)=delete
The assignment operator is private and must never be called.
Herwig::MEff2ff::sbar_
std::array< SpinorBarVector, 4 > sbar_
Barred spinors.
Definition:
MEff2ff.h:215
Herwig::MEff2ff::fbfb2fbfbHeME
ProductionMatrixElement fbfb2fbfbHeME(double &me2, bool first) const
Compute the matrix element for .
Herwig::MEff2ff::constructVertex
virtual void constructVertex(tSubProPtr sub)
Construct the vertex information for the spin correlations.
Herwig::MEff2ff::scalar_
vector< pair< AbstractFFSVertexPtr, AbstractFFSVertexPtr > > scalar_
Store the vector of FFSVertex pairs.
Definition:
MEff2ff.h:190
Herwig::MEff2ff::four_
vector< AbstractFFFFVertexPtr > four_
Store any 4-point vertices.
Definition:
MEff2ff.h:205
Herwig::ProductionMatrixElement
The storage of the helicity amplitude expression for the matrix element of a hard process.
Definition:
ProductionMatrixElement.h:34
ThePEG::Helicity::SpinorBarWaveFunction
ThePEG::Helicity::SpinorWaveFunction
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tSubProPtr
ThePEG::Ptr< SubProcess >::transient_pointer tSubProPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6