herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SVVDecayer.h
1// -*- C++ -*-
2//
3// SVVDecayer.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_SVVDecayer_H
10#define HERWIG_SVVDecayer_H
11//
12// This is the declaration of the SVVDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Scalar/VVSVertex.h"
18#include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
19#include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
20
21namespace Herwig {
22using namespace ThePEG;
23using Helicity::VVSVertexPtr;
24
36
37public:
38
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 vector<VertexBasePtr>,
80 map<ShowerInteraction,VertexBasePtr> &,
81 const vector<map<ShowerInteraction,VertexBasePtr> > &,
82 map<ShowerInteraction,VertexBasePtr>);
83
88 POWHEGType output = FSR;
89 for(auto vertex : vertex_) {
90 if(vertex->orderInAllCouplings()!=1) {
91 output = No;
92 break;
93 }
94 }
95 return output;
96 }
97
101 virtual double threeBodyME(const int , const Particle & inpart,
102 const ParticleVector & decay,
103 ShowerInteraction inter, MEOption meopt);
105
106public:
107
115
121 void persistentInput(PersistentIStream & is, int version);
123
130 static void Init();
131
132protected:
133
140 virtual IBPtr clone() const;
141
146 virtual IBPtr fullclone() const;
148
149protected:
150
154 void identifyVertices(const Particle & inpart, const ParticleVector & decay,
155 AbstractVVVVertexPtr & outgoingVertex1,
156 AbstractVVVVertexPtr & outgoingVertex2,
157 ShowerInteraction inter);
158
159private:
160
165 SVVDecayer & operator=(const SVVDecayer &) = delete;
166
167private:
168
172 vector<AbstractVVSVertexPtr> vertex_;
173
177 vector<VVSVertexPtr> perturbativeVertex_;
178
182 map<ShowerInteraction,AbstractVSSVertexPtr> incomingVertex_;
183
187 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex1_;
188
192 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex2_;
193
198
203
207 mutable vector<Helicity::VectorWaveFunction> vectors_[2];
208
209private:
210
219
224
228 mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
229
233 mutable vector<Helicity::VectorWaveFunction> gluon_;
235};
236
237}
238
239#endif /* HERWIG_SVVDecayer_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
This SVVDecayer class implements the decay of a scalar to 2 vector bosons using either the tree level...
Definition: SVVDecayer.h:35
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
RhoDMatrix rho3_
Member for the POWHEG correction.
Definition: SVVDecayer.h:218
void identifyVertices(const Particle &inpart, const ParticleVector &decay, AbstractVVVVertexPtr &outgoingVertex1, AbstractVVVVertexPtr &outgoingVertex2, ShowerInteraction inter)
Find the vertices for the decay.
SVVDecayer()
The default constructor.
Definition: SVVDecayer.h:42
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.
static void Init()
The standard Init function used to initialize the interfaces.
vector< VVSVertexPtr > perturbativeVertex_
Pointer to the perturbative form.
Definition: SVVDecayer.h:177
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
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 IBPtr clone() const
Make a simple clone of this object.
vector< Helicity::VectorWaveFunction > vectors3_[2]
Vector wavefunctions.
Definition: SVVDecayer.h:228
map< ShowerInteraction, AbstractVSSVertexPtr > incomingVertex_
Abstract pointer to AbstractVSSVertex for QCD radiation from incoming scalar.
Definition: SVVDecayer.h:182
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
ScalarWaveFunction swave3_
Scalar wavefunction for 3 body decay.
Definition: SVVDecayer.h:223
vector< AbstractVVSVertexPtr > vertex_
Abstract pointer to general VVS vertex.
Definition: SVVDecayer.h:172
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: SVVDecayer.h:233
RhoDMatrix rho_
Spin density matrix.
Definition: SVVDecayer.h:197
SVVDecayer & operator=(const SVVDecayer &)=delete
The assignment operator is private and must never be called.
Helicity::ScalarWaveFunction swave_
Scalar wavefunction.
Definition: SVVDecayer.h:202
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractFFVVertex for QCD radiation from the 1st outgoing vector.
Definition: SVVDecayer.h:187
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractFFVVertex for QCD radiation from the 2nd outgoing vector.
Definition: SVVDecayer.h:192
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.
vector< Helicity::VectorWaveFunction > vectors_[2]
Vector wavefunctions.
Definition: SVVDecayer.h:207
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: SVVDecayer.h:87
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