herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FFSDecayer.h
1// -*- C++ -*-
2//
3// FFSDecayer.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_FFSDecayer_H
10#define HERWIG_FFSDecayer_H
11//
12// This is the declaration of the FFSDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Scalar/FFSVertex.h"
18#include "ThePEG/Helicity/Vertex/Scalar/VSSVertex.h"
19#include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
20
21
22namespace Herwig {
23using namespace ThePEG;
24using Helicity::FFSVertexPtr;
25
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;
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,
93 ShowerInteraction inter, MEOption meopt);
94
99 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 FFSDecayer & operator=(const FFSDecayer &) = delete;
155
156private:
157
161 vector<AbstractFFSVertexPtr> vertex_;
162
166 vector<FFSVertexPtr> perturbativeVertex_;
167
171 map<ShowerInteraction,AbstractFFVVertexPtr> incomingVertex_;
172
176 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertexF_;
177
181 map<ShowerInteraction,AbstractVSSVertexPtr> outgoingVertexS_;
182
187
191 mutable vector<SpinorWaveFunction> wave_ ;
192
196 mutable vector<SpinorBarWaveFunction> wavebar_;
197
202
207
211 mutable vector<SpinorWaveFunction> wave3_;
212
216 mutable vector<SpinorBarWaveFunction> wavebar3_;
217
221 mutable vector<VectorWaveFunction> gluon_;
222
223};
224
225}
226
227#endif /* HERWIG_FFSDecayer_H */
MEOption
Enum for the matrix element option.
The FFSDecayer class implements the decay of a fermion to a fermion and a vector in a general model.
Definition: FFSDecayer.h:35
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: FFSDecayer.h:201
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunctions.
Definition: FFSDecayer.h:196
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: FFSDecayer.h:77
vector< VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: FFSDecayer.h:221
vector< AbstractFFSVertexPtr > vertex_
Abstract pointer to AbstractFFSVertex.
Definition: FFSDecayer.h:161
map< ShowerInteraction, AbstractFFVVertexPtr > incomingVertex_
Abstract pointer to AbstractFFVVertex for QCD radiation from incoming (anti)fermion.
Definition: FFSDecayer.h:171
vector< FFSVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: FFSDecayer.h:166
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< SpinorBarWaveFunction > wavebar3_
Barred spinor wavefunction for 3 body decay.
Definition: FFSDecayer.h:216
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, AbstractVSSVertexPtr > outgoingVertexS_
Abstract pointer to AbstractVSSVertex for QCD radiation from outgoing scalar.
Definition: FFSDecayer.h:181
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.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< SpinorWaveFunction > wave3_
Spinor wavefunction for 3 body decay.
Definition: FFSDecayer.h:211
FFSDecayer()
The default constructor.
Definition: FFSDecayer.h:42
static void Init()
The standard Init function used to initialize the interfaces.
RhoDMatrix rho_
Spin density matrix.
Definition: FFSDecayer.h:186
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertexF_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: FFSDecayer.h:176
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.
FFSDecayer & operator=(const FFSDecayer &)=delete
The assignment operator is private and must never be called.
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
ScalarWaveFunction swave3_
Scalar wavefunction for 3 body decay.
Definition: FFSDecayer.h:206
vector< SpinorWaveFunction > wave_
Spinor wavefunctions.
Definition: FFSDecayer.h:191
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