herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MEvv2ss.h
1// -*- C++ -*-
2//
3// MEvv2ss.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_MEvv2ss_H
10#define HERWIG_MEvv2ss_H
11//
12// This is the declaration of the MEvv2ss class.
13//
14
15#include "GeneralHardME.h"
16#include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
17#include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
18#include "ThePEG/Helicity/Vertex/AbstractVVSVertex.h"
19#include "ThePEG/Helicity/Vertex/AbstractVSSVertex.h"
20#include "ThePEG/Helicity/Vertex/AbstractVVVVertex.h"
21#include "ThePEG/Helicity/Vertex/AbstractVVTVertex.h"
22#include "ThePEG/Helicity/Vertex/AbstractSSTVertex.h"
23#include "ThePEG/Helicity/Vertex/AbstractVVSSVertex.h"
24#include "ThePEG/Helicity/Vertex/AbstractSSSVertex.h"
25#include "Herwig/MatrixElement/ProductionMatrixElement.h"
26
27namespace Herwig {
28using namespace ThePEG;
31
41class MEvv2ss: public GeneralHardME {
42
43public:
44
46 typedef vector<VectorWaveFunction> VBVector;
47
48public:
49
59 virtual double me2() const;
61
66 virtual void constructVertex(tSubProPtr sub);
67
68private:
69
82 const ScalarWaveFunction & sca1,
83 const ScalarWaveFunction & sca2,
84 double & me2, bool first) const;
85protected:
86
92 virtual void debug(double me2) const;
93
94public:
95
103
109 void persistentInput(PersistentIStream & is, int version);
111
118 static void Init();
119
120
121protected:
122
130 virtual void doinit();
132
133
134protected:
135
142 virtual IBPtr clone() const {return new_ptr(*this);}
143
148 virtual IBPtr fullclone() const {return new_ptr(*this);}
150
151private:
152
157 MEvv2ss & operator=(const MEvv2ss &) = delete;
158
159private:
160
166 vector<pair<AbstractVVSVertexPtr, AbstractSSSVertexPtr> > scalar1_;
167
171 vector<pair<AbstractVSSVertexPtr, AbstractVSSVertexPtr> > scalar2_;
172
176 vector<pair<AbstractVVSVertexPtr, AbstractVVSVertexPtr> > scalar3_;
177
181 vector<pair<AbstractVVVVertexPtr, AbstractVSSVertexPtr> > vector_;
182
186 vector<pair<AbstractVVTVertexPtr, AbstractSSTVertexPtr> > tensor_;
187
191 vector<AbstractVVSSVertexPtr> contact_;
193
194
195};
196
197}
198
199#endif /* HERWIG_MEvv2ss_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 the process vector-vector to scalar-scalar.
Definition: MEvv2ss.h:41
vector< VectorWaveFunction > VBVector
A vector of VectorWaveFunction objects.
Definition: MEvv2ss.h:46
vector< pair< AbstractVVSVertexPtr, AbstractVVSVertexPtr > > scalar3_
Intermediate t-channel scalar.
Definition: MEvv2ss.h:176
vector< pair< AbstractVVVVertexPtr, AbstractVSSVertexPtr > > vector_
Intermediate s-channel vector.
Definition: MEvv2ss.h:181
vector< pair< AbstractVSSVertexPtr, AbstractVSSVertexPtr > > scalar2_
Intermediate t-channel scalar.
Definition: MEvv2ss.h:171
virtual double me2() const
The matrix element for the kinematical configuration previously provided by the last call to setKinem...
ProductionMatrixElement vv2ssME(const VBVector &v1, const VBVector &v2, const ScalarWaveFunction &sca1, const ScalarWaveFunction &sca2, double &me2, bool first) const
Calculate the matrix element.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: MEvv2ss.h:148
vector< pair< AbstractVVSVertexPtr, AbstractSSSVertexPtr > > scalar1_
Intermediate s-channel scalar.
Definition: MEvv2ss.h:166
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: MEvv2ss.h:142
virtual void debug(double me2) const
A debugging function to test the value of me2 against an analytic function.
MEvv2ss & operator=(const MEvv2ss &)=delete
The assignment operator is private and must never be called.
static void Init()
The standard Init function used to initialize the interfaces.
vector< AbstractVVSSVertexPtr > contact_
The contact vertex.
Definition: MEvv2ss.h:191
vector< pair< AbstractVVTVertexPtr, AbstractSSTVertexPtr > > tensor_
Intermediate s-channel tensor.
Definition: MEvv2ss.h:186
virtual void constructVertex(tSubProPtr sub)
Set the Hardvertex for the spin correlations.
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