herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
General
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
20
namespace
Herwig
{
21
using namespace
ThePEG
;
22
using
Helicity::VVVVertexPtr;
23
33
class
VVVDecayer
:
public
GeneralTwoBodyDecayer
{
34
35
public
:
36
40
VVVDecayer
() {}
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,
62
ParticleVector
outgoing
)
const
;
63
70
virtual
Energy
partialWidth
(
PMPair
inpart,
PMPair
outa,
71
PMPair
outb)
const
;
72
76
virtual
void
setDecayInfo
(
PDPtr
incoming
,
PDPair
outgoing
,
77
vector<VertexBasePtr>,
78
map<ShowerInteraction,VertexBasePtr> &,
79
const
vector<map<ShowerInteraction,VertexBasePtr> > &,
80
map<ShowerInteraction,VertexBasePtr>);
81
85
virtual
POWHEGType
hasPOWHEGCorrection
() {
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
104
public
:
105
112
void
persistentOutput
(
PersistentOStream
& os)
const
;
113
119
void
persistentInput
(
PersistentIStream
& is,
int
version);
121
128
static
void
Init
();
129
130
protected
:
131
138
virtual
IBPtr
clone
()
const
;
139
144
virtual
IBPtr
fullclone
()
const
;
146
147
protected
:
148
152
void
identifyVertices
(
const
Particle
& inpart,
const
ParticleVector
&
decay
,
153
AbstractVVVVertexPtr & outgoingVertex1,
154
AbstractVVVVertexPtr & outgoingVertex2,
155
ShowerInteraction
inter);
156
157
private
:
158
163
VVVDecayer
&
operator=
(
const
VVVDecayer
&) =
delete
;
164
165
private
:
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
200
mutable
RhoDMatrix
rho_
;
201
205
mutable
vector<Helicity::VectorWaveFunction>
vectors_
[3];
206
207
private
:
208
216
mutable
RhoDMatrix
rho3_
;
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 */
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:72
Herwig::GeneralTwoBodyDecayer
The GeneralTwoBodyDecayer class is designed to be the base class for 2 body decays for some general m...
Definition:
GeneralTwoBodyDecayer.h:38
Herwig::GeneralTwoBodyDecayer::decay
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...
Herwig::GeneralTwoBodyDecayer::PMPair
pair< tcPDPtr, Energy > PMPair
A ParticleData ptr and (possible) mass pair.
Definition:
GeneralTwoBodyDecayer.h:43
Herwig::HwDecayerBase::POWHEGType
POWHEGType
Virtual members to be overridden by inheriting classes which implement hard corrections.
Definition:
HwDecayerBase.h:76
Herwig::VVVDecayer
The VVVDecayer class implements the decay of a vector to 2 vectors in a general model.
Definition:
VVVDecayer.h:33
Herwig::VVVDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VVVDecayer::perturbativeVertex_
vector< VVVVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition:
VVVDecayer.h:175
Herwig::VVVDecayer::threeBodyME
virtual double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
Herwig::VVVDecayer::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::VVVDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VVVDecayer.h:200
Herwig::VVVDecayer::operator=
VVVDecayer & operator=(const VVVDecayer &)=delete
The assignment operator is private and must never be called.
Herwig::VVVDecayer::hasPOWHEGCorrection
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition:
VVVDecayer.h:85
Herwig::VVVDecayer::fourPointVertex_
map< ShowerInteraction, AbstractVVVVVertexPtr > fourPointVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from the 4-point vertex.
Definition:
VVVDecayer.h:195
Herwig::VVVDecayer::VVVDecayer
VVVDecayer()
The default constructor.
Definition:
VVVDecayer.h:40
Herwig::VVVDecayer::gluon_
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition:
VVVDecayer.h:231
Herwig::VVVDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VVVDecayer::identifyVertices
void identifyVertices(const Particle &inpart, const ParticleVector &decay, AbstractVVVVertexPtr &outgoingVertex1, AbstractVVVVertexPtr &outgoingVertex2, ShowerInteraction inter)
Find the vertices for the decay.
Herwig::VVVDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::VVVDecayer::me2
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.
Herwig::VVVDecayer::rho3_
RhoDMatrix rho3_
Members for the POWHEG correction.
Definition:
VVVDecayer.h:216
Herwig::VVVDecayer::partialWidth
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
Herwig::VVVDecayer::outgoingVertex2_
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractVVVVertex for QCD radiation from the second outgoing vector.
Definition:
VVVDecayer.h:190
Herwig::VVVDecayer::vectors3_
vector< Helicity::VectorWaveFunction > vectors3_[2]
Vector wavefunctions.
Definition:
VVVDecayer.h:226
Herwig::VVVDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::VVVDecayer::vectors_
vector< Helicity::VectorWaveFunction > vectors_[3]
Vector wavefunctions.
Definition:
VVVDecayer.h:205
Herwig::VVVDecayer::incomingVertex_
map< ShowerInteraction, AbstractVVVVertexPtr > incomingVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from incoming vector.
Definition:
VVVDecayer.h:180
Herwig::VVVDecayer::outgoingVertex1_
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractVVVVertex for QCD radiation from the first outgoing vector.
Definition:
VVVDecayer.h:185
Herwig::VVVDecayer::vector3_
vector< Helicity::VectorWaveFunction > vector3_
Vector wavefunction for 3 body decay.
Definition:
VVVDecayer.h:221
Herwig::VVVDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VVVDecayer::setDecayInfo
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.
Herwig::VVVDecayer::vertex_
vector< AbstractVVVVertexPtr > vertex_
Abstract pointer to AbstractVVVVertex.
Definition:
VVVDecayer.h:170
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig::ShowerInteraction
ShowerInteraction
Handy header file to be included in all Shower classes.
Definition:
ShowerInteraction.h:23
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
ThePEG::Helicity::incoming
incoming
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPDVector
vector< tPDPtr > tPDVector
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::PDPtr
ThePEG::Ptr< ParticleData >::pointer PDPtr
ThePEG::PDPair
pair< PDPtr, PDPtr > PDPair
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6