herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MEff2rf.h
1// -*- C++ -*-
2#ifndef Herwig_MEff2rf_H
3#define Herwig_MEff2rf_H
4//
5// This is the declaration of the MEff2rf class.
6//
7
8#include "GeneralHardME.h"
9#include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
10#include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
11#include "ThePEG/Helicity/WaveFunction/RSSpinorWaveFunction.h"
12#include "ThePEG/Helicity/WaveFunction/RSSpinorBarWaveFunction.h"
13#include "Herwig/MatrixElement/ProductionMatrixElement.h"
14#include "ThePEG/Helicity/Vertex/AbstractFFSVertex.h"
15#include "ThePEG/Helicity/Vertex/AbstractFFVVertex.h"
16#include "ThePEG/Helicity/Vertex/AbstractRFSVertex.h"
17#include "ThePEG/Helicity/Vertex/AbstractRFVVertex.h"
18
19namespace Herwig {
20
21using namespace ThePEG;
26
34class MEff2rf: public GeneralHardME {
35
36public:
37
39 typedef vector<SpinorWaveFunction> SpinorVector;
40
42 typedef vector<SpinorBarWaveFunction> SpinorBarVector;
43
45 typedef vector<RSSpinorWaveFunction> RSSpinorVector;
46
48 typedef vector<RSSpinorBarWaveFunction> RSSpinorBarVector;
49
50public:
51
61 virtual double me2() const;
63
64private:
65
77 ffb2rfbHeME(double & me2, bool first) const;
78
88 ffb2rbfHeME(double & me2, bool first) const;
89
97 ProductionMatrixElement ff2rfHeME(double & me2, bool first) const;
98
108 ProductionMatrixElement fbfb2rbfbHeME(double & me2, bool first) const;
109
119 ffb2mfmfHeME(double & me2, bool first) const;
121
126 virtual void constructVertex(tSubProPtr sub);
127
128public:
129
137
143 void persistentInput(PersistentIStream & is, int version);
145
152 static void Init();
153
154protected:
155
162 virtual IBPtr clone() const;
163
168 virtual IBPtr fullclone() const;
170
171protected:
172
180 virtual void doinit();
182
183private:
184
189 MEff2rf & operator=(const MEff2rf &) = delete;
190
191private:
192
196 vector<pair<AbstractFFSVertexPtr, AbstractRFSVertexPtr> > scalar_;
197
201 vector<pair<AbstractFFVVertexPtr, AbstractRFVVertexPtr> > vector_;
202
206 mutable std::array<SpinorVector,3> spin_;
207
211 mutable std::array<SpinorBarVector,3> sbar_;
212
213 mutable RSSpinorVector rs_;
214 mutable RSSpinorBarVector rsbar_;
215};
216
217}
218
219#endif /* Herwig_MEff2rf_H */
This defines the GeneralHardME class that is designed to serve as a base class for matrix elements of...
Definition: GeneralHardME.h:40
This is the implementation of the matrix element for a fermion-fermion to fermion RS fermion process...
Definition: MEff2rf.h:34
virtual void constructVertex(tSubProPtr sub)
Construct the vertex information for the spin correlations.
MEff2rf & operator=(const MEff2rf &)=delete
The assignment operator is private and must never be called.
vector< RSSpinorBarWaveFunction > RSSpinorBarVector
Vector of RSSpinorBarWaveFunctions.
Definition: MEff2rf.h:48
std::array< SpinorBarVector, 3 > sbar_
Barred spinors.
Definition: MEff2rf.h:211
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
ProductionMatrixElement ffb2rbfHeME(double &me2, bool first) const
Compute the matrix element for .
ProductionMatrixElement fbfb2rbfbHeME(double &me2, bool first) const
Compute the matrix element for .
ProductionMatrixElement ff2rfHeME(double &me2, bool first) const
Compute the matrix element for .
std::array< SpinorVector, 3 > spin_
Spinors.
Definition: MEff2rf.h:206
virtual IBPtr clone() const
Make a simple clone of this object.
ProductionMatrixElement ffb2mfmfHeME(double &me2, bool first) const
Compute the matrix element for .
virtual double me2() const
The matrix element for the kinematical configuration previously provided by the last call to setKinem...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static void Init()
The standard Init function used to initialize the interfaces.
vector< SpinorWaveFunction > SpinorVector
Vector of SpinorWaveFunctions.
Definition: MEff2rf.h:39
vector< pair< AbstractFFSVertexPtr, AbstractRFSVertexPtr > > scalar_
Store the vector of FFSVertex pairs.
Definition: MEff2rf.h:196
vector< RSSpinorWaveFunction > RSSpinorVector
Vector of RSSpinorWaveFunctions.
Definition: MEff2rf.h:45
vector< pair< AbstractFFVVertexPtr, AbstractRFVVertexPtr > > vector_
Store the vector of FFVVertex pairs.
Definition: MEff2rf.h:201
ProductionMatrixElement ffb2rfbHeME(double &me2, bool first) const
Compute the matrix element for .
vector< SpinorBarWaveFunction > SpinorBarVector
Vector of SpinorBarWaveFunctions.
Definition: MEff2rf.h:42
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
The storage of the helicity amplitude expression for the matrix element of a hard process.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< SubProcess >::transient_pointer tSubProPtr