herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FFVDecayer.h
1// -*- C++ -*-
2//
3// FFVDecayer.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_FFVDecayer_H
10#define HERWIG_FFVDecayer_H
11//
12// This is the declaration of the FFVDecayer 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 virtual void setDecayInfo(PDPtr incoming, PDPair outgoing, vector<VertexBasePtr>,
100 map<ShowerInteraction,VertexBasePtr> &,
101 const vector<map<ShowerInteraction,VertexBasePtr> > &,
102 map<ShowerInteraction,VertexBasePtr>);
104
105public:
106
114
120 void persistentInput(PersistentIStream & is, int version);
122
129 static void Init();
130
131protected:
132
139 virtual IBPtr clone() const;
140
145 virtual IBPtr fullclone() const;
147
148private:
149
154 FFVDecayer & operator=(const FFVDecayer &) = delete;
155
156private:
157
161 vector<AbstractFFVVertexPtr> vertex_;
162
166 vector<FFVVertexPtr> perturbativeVertex_;
167
171 map<ShowerInteraction,AbstractFFVVertexPtr> incomingVertex_;
172
176 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertexF_;
177
181 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertexV_;
182
187
191 mutable vector<SpinorWaveFunction> wave_ ;
192
196 mutable vector<SpinorBarWaveFunction> wavebar_;
197
201 mutable vector<VectorWaveFunction> vector_;
202
207
211 mutable vector<VectorWaveFunction> vector3_;
212
216 mutable vector<SpinorWaveFunction> wave3_;
217
221 mutable vector<SpinorBarWaveFunction> wavebar3_;
222
226 mutable vector<VectorWaveFunction> gluon_;
227
228};
229
230}
231
232#endif /* HERWIG_FFVDecayer_H */
MEOption
Enum for the matrix element option.
The FFVDecayer class implements the decay of a fermion to a fermion and a vector in a general model.
Definition: FFVDecayer.h:33
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: FFVDecayer.h:78
vector< SpinorBarWaveFunction > wavebar3_
Barred spinor wavefunction for 3 body decay.
Definition: FFVDecayer.h:221
vector< SpinorWaveFunction > wave3_
Spinor wavefunction for 3 body decay.
Definition: FFVDecayer.h:216
vector< VectorWaveFunction > gluon_
Vector wavefunction for gluon in 3 body decay.
Definition: FFVDecayer.h:226
vector< SpinorWaveFunction > wave_
Spinor wavefunction.
Definition: FFVDecayer.h:191
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: FFVDecayer.h:206
vector< VectorWaveFunction > vector_
Polarization vectors.
Definition: FFVDecayer.h:201
static void Init()
The standard Init function used to initialize the interfaces.
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.
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< AbstractFFVVertexPtr > vertex_
Abstract pointer to AbstractFFVVertex.
Definition: FFVDecayer.h:161
map< ShowerInteraction, AbstractFFVVertexPtr > incomingVertex_
Abstract pointer to AbstractFFVVertex for QCD radiation from incoming (anti)fermion.
Definition: FFVDecayer.h:171
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertexV_
Abstract pointer to AbstractVVVVertex for QCD radiation from outgoing vector.
Definition: FFVDecayer.h:181
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunction.
Definition: FFVDecayer.h:196
virtual IBPtr clone() const
Make a simple clone of this object.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< VectorWaveFunction > vector3_
vector wavefunction for 3 body decay
Definition: FFVDecayer.h:211
FFVDecayer()
The default constructor.
Definition: FFVDecayer.h:40
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertexF_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: FFVDecayer.h:176
FFVDecayer & operator=(const FFVDecayer &)=delete
The assignment operator is private and must never be called.
RhoDMatrix rho_
Spin density matrix.
Definition: FFVDecayer.h:186
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
vector< FFVVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: FFVDecayer.h:166
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
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
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