herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
VVVDecayer.h
1// -*- C++ -*-
2//
3// VVVDecayer.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_VVVDecayer_H
10#define HERWIG_VVVDecayer_H
11//
12// This is the declaration of the VVVDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h"
18#include "ThePEG/Helicity/Vertex/AbstractVVVVVertex.h"
19
20namespace Herwig {
21using namespace ThePEG;
22using Helicity::VVVVertexPtr;
23
34
35public:
36
41
53 double me2(const int ichan,const Particle & part,
54 const tPDVector & outgoing,
55 const vector<Lorentz5Momentum> & momenta,
56 MEOption meopt) const;
57
61 virtual void constructSpinInfo(const Particle & part,
63
70 virtual Energy partialWidth(PMPair inpart, PMPair outa,
71 PMPair outb) const;
72
77 vector<VertexBasePtr>,
78 map<ShowerInteraction,VertexBasePtr> &,
79 const vector<map<ShowerInteraction,VertexBasePtr> > &,
80 map<ShowerInteraction,VertexBasePtr>);
81
86 POWHEGType output = FSR;
87 for(auto vertex : vertex_) {
88 if(vertex->orderInAllCouplings()!=1) {
89 output = No;
90 break;
91 }
92 }
93 return output;
94 }
95
99 virtual double threeBodyME(const int , const Particle & inpart,
100 const ParticleVector & decay,
101 ShowerInteraction inter, MEOption meopt);
103
104public:
105
113
119 void persistentInput(PersistentIStream & is, int version);
121
128 static void Init();
129
130protected:
131
138 virtual IBPtr clone() const;
139
144 virtual IBPtr fullclone() const;
146
147protected:
148
152 void identifyVertices(const Particle & inpart, const ParticleVector & decay,
153 AbstractVVVVertexPtr & outgoingVertex1,
154 AbstractVVVVertexPtr & outgoingVertex2,
155 ShowerInteraction inter);
156
157private:
158
163 VVVDecayer & operator=(const VVVDecayer &) = delete;
164
165private:
166
170 vector<AbstractVVVVertexPtr> vertex_;
171
175 vector<VVVVertexPtr> perturbativeVertex_;
176
180 map<ShowerInteraction,AbstractVVVVertexPtr> incomingVertex_;
181
185 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex1_;
186
190 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex2_;
191
195 map<ShowerInteraction,AbstractVVVVVertexPtr> fourPointVertex_;
196
201
205 mutable vector<Helicity::VectorWaveFunction> vectors_[3];
206
207private:
208
217
221 mutable vector<Helicity::VectorWaveFunction> vector3_;
222
226 mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
227
231 mutable vector<Helicity::VectorWaveFunction> gluon_;
233};
234
235}
236
237#endif /* HERWIG_VVVDecayer_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 VVVDecayer class implements the decay of a vector to 2 vectors in a general model.
Definition: VVVDecayer.h:33
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
vector< VVVVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: VVVDecayer.h:175
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
static void Init()
The standard Init function used to initialize the interfaces.
RhoDMatrix rho_
Spin density matrix.
Definition: VVVDecayer.h:200
VVVDecayer & operator=(const VVVDecayer &)=delete
The assignment operator is private and must never be called.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: VVVDecayer.h:85
map< ShowerInteraction, AbstractVVVVVertexPtr > fourPointVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from the 4-point vertex.
Definition: VVVDecayer.h:195
VVVDecayer()
The default constructor.
Definition: VVVDecayer.h:40
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: VVVDecayer.h:231
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void identifyVertices(const Particle &inpart, const ParticleVector &decay, AbstractVVVVertexPtr &outgoingVertex1, AbstractVVVVertexPtr &outgoingVertex2, ShowerInteraction inter)
Find the vertices for 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.
RhoDMatrix rho3_
Members for the POWHEG correction.
Definition: VVVDecayer.h:216
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractVVVVertex for QCD radiation from the second outgoing vector.
Definition: VVVDecayer.h:190
vector< Helicity::VectorWaveFunction > vectors3_[2]
Vector wavefunctions.
Definition: VVVDecayer.h:226
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< Helicity::VectorWaveFunction > vectors_[3]
Vector wavefunctions.
Definition: VVVDecayer.h:205
map< ShowerInteraction, AbstractVVVVertexPtr > incomingVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from incoming vector.
Definition: VVVDecayer.h:180
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractVVVVertex for QCD radiation from the first outgoing vector.
Definition: VVVDecayer.h:185
vector< Helicity::VectorWaveFunction > vector3_
Vector wavefunction for 3 body decay.
Definition: VVVDecayer.h:221
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
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.
vector< AbstractVVVVertexPtr > vertex_
Abstract pointer to AbstractVVVVertex.
Definition: VVVDecayer.h:170
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