herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
VFFDecayer.h
1// -*- C++ -*-
2//
3// VFFDecayer.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_VFFDecayer_H
10#define HERWIG_VFFDecayer_H
11//
12// This is the declaration of the VFFDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
18#include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h"
19
20namespace Herwig {
21using namespace ThePEG;
22using Helicity::FFVVertexPtr;
23
34
35public:
36
41
42public:
43
55 double me2(const int ichan,const Particle & part,
56 const tPDVector & outgoing,
57 const vector<Lorentz5Momentum> & momenta,
58 MEOption meopt) const;
59
63 virtual void constructSpinInfo(const Particle & part,
65
72 virtual Energy partialWidth(PMPair inpart, PMPair outa,
73 PMPair outb) const;
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);
95
99 void identifyVertices(const int iferm, const int ianti,
100 const Particle & inpart, const ParticleVector & decay,
101 AbstractFFVVertexPtr & abstractOutgoingVertexF,
102 AbstractFFVVertexPtr & abstractOutgoingVertexA,
103 ShowerInteraction inter);
104
109 vector<VertexBasePtr>,
110 map<ShowerInteraction,VertexBasePtr> &,
111 const vector<map<ShowerInteraction,VertexBasePtr> > &,
112 map<ShowerInteraction,VertexBasePtr>);
114
115public:
116
124
130 void persistentInput(PersistentIStream & is, int version);
132
139 static void Init();
140
141protected:
142
149 virtual IBPtr clone() const;
150
155 virtual IBPtr fullclone() const;
157
158private:
159
164 VFFDecayer & operator=(const VFFDecayer &) = delete;
165
166private:
167
171 vector<AbstractFFVVertexPtr> vertex_;
172
176 vector<FFVVertexPtr> perturbativeVertex_;
177
181 map<ShowerInteraction,AbstractVVVVertexPtr> incomingVertex_;
182
186 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertex1_;
187
191 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertex2_;
192
197
201 mutable vector<VectorWaveFunction> vectors_;
202
206 mutable vector<SpinorWaveFunction> wave_;
207
211 mutable vector<SpinorBarWaveFunction> wavebar_;
216
220 mutable vector<VectorWaveFunction> vector3_;
221
225 mutable vector<SpinorWaveFunction> wave3_;
226
230 mutable vector<SpinorBarWaveFunction> wavebar3_;
231
235 mutable vector<VectorWaveFunction> gluon_;
236
237};
238
239}
240
241#endif /* HERWIG_VFFDecayer_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 VFFDecayer class implements the decay of a vector to 2 fermions in a general model.
Definition: VFFDecayer.h:33
VFFDecayer & operator=(const VFFDecayer &)=delete
The assignment operator is private and must never be called.
vector< VectorWaveFunction > vector3_
Scalar wavefunction for 3 body decay.
Definition: VFFDecayer.h:220
vector< SpinorWaveFunction > wave3_
Spinor wavefunction for 3 body decay.
Definition: VFFDecayer.h:225
void identifyVertices(const int iferm, const int ianti, const Particle &inpart, const ParticleVector &decay, AbstractFFVVertexPtr &abstractOutgoingVertexF, AbstractFFVVertexPtr &abstractOutgoingVertexA, ShowerInteraction inter)
Indentify outgoing vertices for the fermion and antifermion.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
vector< FFVVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: VFFDecayer.h:176
vector< VectorWaveFunction > vectors_
Polarization vectors for the decaying particle.
Definition: VFFDecayer.h:201
vector< AbstractFFVVertexPtr > vertex_
Abstract pointer to AbstractFFVVertex.
Definition: VFFDecayer.h:171
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: VFFDecayer.h:215
vector< SpinorBarWaveFunction > wavebar3_
Barred spinor wavefunction for 3 body decay.
Definition: VFFDecayer.h:230
vector< VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: VFFDecayer.h:235
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< SpinorWaveFunction > wave_
Spinors for the decay products.
Definition: VFFDecayer.h:206
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: VFFDecayer.h:78
map< ShowerInteraction, AbstractVVVVertexPtr > incomingVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from incoming vector.
Definition: VFFDecayer.h:181
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
VFFDecayer()
The default constructor.
Definition: VFFDecayer.h:40
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.
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< SpinorBarWaveFunction > wavebar_
Barred spinors for the decay products.
Definition: VFFDecayer.h:211
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: VFFDecayer.h:186
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
static void Init()
The standard Init function used to initialize the interfaces.
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: VFFDecayer.h:191
RhoDMatrix rho_
Spin density matrix.
Definition: VFFDecayer.h:196
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