herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SSVDecayer.h
1// -*- C++ -*-
2//
3// SSVDecayer.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_SSVDecayer_H
10#define HERWIG_SSVDecayer_H
11//
12// This is the declaration of the SSVDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Helicity/Vertex/Scalar/VSSVertex.h"
17#include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h"
18#include "ThePEG/Helicity/Vertex/Scalar/VVSSVertex.h"
19#include "ThePEG/Repository/EventGenerator.h"
20
21namespace Herwig {
22using namespace ThePEG;
23using Helicity::VSSVertexPtr;
24
35
36public:
37
42
54 double me2(const int ichan,const Particle & part,
55 const tPDVector & outgoing,
56 const vector<Lorentz5Momentum> & momenta,
57 MEOption meopt) const;
58
62 virtual void constructSpinInfo(const Particle & part,
64
71 virtual Energy partialWidth(PMPair inpart, PMPair outa,
72 PMPair outb) const;
73
78 POWHEGType output = FSR;
79 for(auto vertex : vertex_) {
80 if(vertex->orderInAllCouplings()!=1) {
81 output = No;
82 break;
83 }
84 }
85 return output;
86 }
87
91 virtual double threeBodyME(const int , const Particle & inpart,
92 const ParticleVector & decay,
94 MEOption meopt);
95
100 vector<VertexBasePtr>,
101 map<ShowerInteraction,VertexBasePtr> &,
102 const vector<map<ShowerInteraction,VertexBasePtr> > &,
103 map<ShowerInteraction,VertexBasePtr>);
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
149private:
150
155 SSVDecayer & operator=(const SSVDecayer &) = delete;
156
157private:
158
162 vector<AbstractVSSVertexPtr> vertex_;
163
167 map<ShowerInteraction,AbstractVSSVertexPtr> incomingVertex_;
168
172 map<ShowerInteraction,AbstractVSSVertexPtr> outgoingVertexS_;
173
177 map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertexV_;
178
182 map<ShowerInteraction,AbstractVVSSVertexPtr> fourPointVertex_;
183
188
193
197 mutable vector<Helicity::VectorWaveFunction> vector_;
198
203
208
213
217 mutable vector<Helicity::VectorWaveFunction> vector3_;
218
222 mutable vector<Helicity::VectorWaveFunction> gluon_;
223
224};
225
226}
227
228#endif /* HERWIG_SSVDecayer_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 SSVDecayer class implements the decay of a scalar to a vector and a scalar in a general model.
Definition: SSVDecayer.h:34
RhoDMatrix rho_
Spinor density matrix.
Definition: SSVDecayer.h:187
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: SSVDecayer.h:77
map< ShowerInteraction, AbstractVVSSVertexPtr > fourPointVertex_
Abstract pointer to AbstractVVSSVertex for QCD radiation from 4 point vertex.
Definition: SSVDecayer.h:182
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
vector< AbstractVSSVertexPtr > vertex_
Abstract pointer to AbstractFFVVertex.
Definition: SSVDecayer.h:162
Helicity::ScalarWaveFunction swave3_
Scalar wavefunction for 3 body decay.
Definition: SSVDecayer.h:207
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.
Helicity::ScalarWaveFunction scal_
Scalar wavefunction for 3 body decay.
Definition: SSVDecayer.h:212
static void Init()
The standard Init function used to initialize the interfaces.
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: SSVDecayer.h:222
Helicity::ScalarWaveFunction swave_
Scalar wavefunction.
Definition: SSVDecayer.h:192
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: SSVDecayer.h:202
vector< Helicity::VectorWaveFunction > vector3_
Vector wavefunction for 3 body decay.
Definition: SSVDecayer.h:217
map< ShowerInteraction, AbstractVSSVertexPtr > outgoingVertexS_
Abstract pointer to AbstractVSSVertex for QCD radiation from outgoing scalar.
Definition: SSVDecayer.h:172
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.
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertexV_
Abstract pointer to AbstractVVVVertex for QCD radiation from outgoing vector.
Definition: SSVDecayer.h:177
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< Helicity::VectorWaveFunction > vector_
Vector wavefunction.
Definition: SSVDecayer.h:197
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.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
map< ShowerInteraction, AbstractVSSVertexPtr > incomingVertex_
Abstract pointer to AbstractVSSVertex for QCD radiation from incoming scalar.
Definition: SSVDecayer.h:167
SSVDecayer()
The default constructor.
Definition: SSVDecayer.h:41
SSVDecayer & operator=(const SSVDecayer &)=delete
The assignment operator is private and must never be called.
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