herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
VVSDecayer.h
1// -*- C++ -*-
2#ifndef THEPEG_VVSDecayer_H
3#define THEPEG_VVSDecayer_H
4//
5// This is the declaration of the VVSDecayer class.
6//
7
8#include "GeneralTwoBodyDecayer.h"
9#include "ThePEG/Helicity/Vertex/Scalar/VVSVertex.h"
10#include "ThePEG/Repository/EventGenerator.h"
11
12namespace Herwig {
13using namespace ThePEG;
14using Helicity::VVSVertexPtr;
15
27
28public:
29
34
46 double me2(const int ichan,const Particle & part,
47 const tPDVector & outgoing,
48 const vector<Lorentz5Momentum> & momenta,
49 MEOption meopt) const;
50
54 virtual void constructSpinInfo(const Particle & part,
56
63 virtual Energy partialWidth(PMPair inpart, PMPair outa,
64 PMPair outb) const;
65
70 vector<VertexBasePtr>,
71 map<ShowerInteraction,VertexBasePtr> &,
72 const vector<map<ShowerInteraction,VertexBasePtr> > &,
73 map<ShowerInteraction,VertexBasePtr>);
74
79 POWHEGType output = FSR;
80 for(auto vertex : vertex_) {
81 if(vertex->orderInAllCouplings()!=1) {
82 output = No;
83 break;
84 }
85 }
86 return output;
87 }
88
92 virtual double threeBodyME(const int , const Particle & inpart,
93 const ParticleVector & decay,
94 ShowerInteraction inter, MEOption meopt);
96
97public:
98
106
112 void persistentInput(PersistentIStream & is, int version);
114
121 static void Init();
122
123protected:
124
131 virtual IBPtr clone() const;
132
137 virtual IBPtr fullclone() const;
139
140private:
141
146 VVSDecayer & operator=(const VVSDecayer &) = delete;
147
148private:
149
153 vector<AbstractVVSVertexPtr> vertex_;
154
158 vector<VVSVertexPtr> perturbativeVertex_;
159
163 map<ShowerInteraction,AbstractVVVVertexPtr> incomingVertex_;
164
168 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertexV_;
169
173 map<ShowerInteraction,AbstractVSSVertexPtr> outgoingVertexS_;
174
179
183 mutable vector<Helicity::VectorWaveFunction> vectors_[2];
184
185private:
186
195
199 mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
200
204 mutable vector<Helicity::VectorWaveFunction> gluon_;
206};
207
208}
209
210#endif /* THEPEG_VVSDecayer_H */
MEOption
Enum for the matrix element option.
The GeneralTwoBodyDecayer class is designed to be the base class for 2 body decays for some general m...
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
For a given decay mode and a given particle instance, perform the decay and return the decay products...
pair< tcPDPtr, Energy > PMPair
A ParticleData ptr and (possible) mass pair.
POWHEGType
Virtual members to be overridden by inheriting classes which implement hard corrections.
Definition: HwDecayerBase.h:76
The VVSDecayer class implements the decay of a vector to a vector and a scalar in a general model.
Definition: VVSDecayer.h:26
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
virtual IBPtr clone() const
Make a simple clone of this object.
double me2(const int ichan, const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Return the matrix element squared for a given mode and phase-space channel.
vector< Helicity::VectorWaveFunction > vectors_[2]
Vector wavefunctions.
Definition: VVSDecayer.h:183
RhoDMatrix rho_
Spin density matrix.
Definition: VVSDecayer.h:178
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
map< ShowerInteraction, AbstractVSSVertexPtr > outgoingVertexS_
Abstract pointer to AbstractVVVVertex for QCD radiation from the second outgoing vector.
Definition: VVSDecayer.h:173
vector< VVSVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: VVSDecayer.h:158
map< ShowerInteraction, AbstractVVVVertexPtr > incomingVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from incoming vector.
Definition: VVSDecayer.h:163
vector< AbstractVVSVertexPtr > vertex_
Abstract pointer to AbstractVVSVertex.
Definition: VVSDecayer.h:153
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: VVSDecayer.h:204
static void Init()
The standard Init function used to initialize the interfaces.
VVSDecayer & operator=(const VVSDecayer &)=delete
The assignment operator is private and must never be called.
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertexV_
Abstract pointer to AbstractVVVVertex for QCD radiation from the first outgoing vector.
Definition: VVSDecayer.h:168
vector< Helicity::VectorWaveFunction > vectors3_[2]
Vector wavefunctions.
Definition: VVSDecayer.h:199
RhoDMatrix rho3_
Members for the POWHEG correction.
Definition: VVSDecayer.h:194
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: VVSDecayer.h:78
VVSDecayer()
The default constructor.
Definition: VVSDecayer.h:33
virtual void setDecayInfo(PDPtr incoming, PDPair outgoing, vector< VertexBasePtr >, map< ShowerInteraction, VertexBasePtr > &, const vector< map< ShowerInteraction, VertexBasePtr > > &, map< ShowerInteraction, VertexBasePtr >)
Set the information on the decay.
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
ShowerInteraction
Handy header file to be included in all Shower classes.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::pointer PDPtr
pair< PDPtr, PDPtr > PDPair