herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
TFFDecayer.h
1// -*- C++ -*-
2//
3// TFFDecayer.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_TFFDecayer_H
10#define HERWIG_TFFDecayer_H
11//
12// This is the declaration of the TFFDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Tensor/FFTVertex.h"
18#include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
19#include "ThePEG/Helicity/Vertex/Tensor/FFVTVertex.h"
20
21namespace Herwig {
22using namespace ThePEG;
23using Helicity::FFTVertexPtr;
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,
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 TFFDecayer & operator=(const TFFDecayer &) = delete;
155
156private:
157
161 vector<AbstractFFTVertexPtr> vertex_;
162
166 vector<FFTVertexPtr> perturbativeVertex_;
167
171 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertex1_;
172
176 map<ShowerInteraction,AbstractFFVVertexPtr> outgoingVertex2_;
177
181 map<ShowerInteraction,AbstractFFVTVertexPtr> fourPointVertex_;
182
187
191 mutable vector<TensorWaveFunction> tensors_;
192
196 mutable vector<SpinorWaveFunction> wave_;
197
201 mutable vector<SpinorBarWaveFunction> wavebar_;
202
207
211 mutable vector<TensorWaveFunction> tensors3_;
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_TFFDecayer_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 TFFDecayer class implements the decay of a tensor to 2 fermions in a general model.
Definition: TFFDecayer.h:34
vector< SpinorBarWaveFunction > wavebar_
Barred spinors for the decay products.
Definition: TFFDecayer.h:201
static void Init()
The standard Init function used to initialize the interfaces.
vector< TensorWaveFunction > tensors3_
Tensor wavefunction for 3 body decay.
Definition: TFFDecayer.h:211
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
RhoDMatrix rho_
Spin density matrix.
Definition: TFFDecayer.h:186
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.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: TFFDecayer.h:77
TFFDecayer & operator=(const TFFDecayer &)=delete
The assignment operator is private and must never be called.
vector< AbstractFFTVertexPtr > vertex_
Abstract pointer to AbstractFFTVertex.
Definition: TFFDecayer.h:161
vector< VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: TFFDecayer.h:226
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: TFFDecayer.h:171
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
vector< TensorWaveFunction > tensors_
Polarization tensors for the decaying particle.
Definition: TFFDecayer.h:191
vector< SpinorWaveFunction > wave_
Spinors for the decay products.
Definition: TFFDecayer.h:196
vector< SpinorWaveFunction > wave3_
Spinor wavefunction for 3 body decay.
Definition: TFFDecayer.h:216
vector< SpinorBarWaveFunction > wavebar3_
Barred spinor wavefunction for 3 body decay.
Definition: TFFDecayer.h:221
virtual IBPtr clone() const
Make a simple clone of this object.
TFFDecayer()
The default constructor.
Definition: TFFDecayer.h:41
map< ShowerInteraction, AbstractFFVTVertexPtr > fourPointVertex_
Abstract pointer to AbstractFFVTVertex for QCD radiation from 4 point vertex.
Definition: TFFDecayer.h:181
vector< FFTVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: TFFDecayer.h:166
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: TFFDecayer.h:206
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 double threeBodyME(const int, const Particle &inpart, const ParticleVector &decay, ShowerInteraction inter, MEOption meopt)
Three-body matrix element including additional QCD radiation.
map< ShowerInteraction, AbstractFFVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractFFVVertex for QCD radiation from outgoing (anti)fermion.
Definition: TFFDecayer.h:176
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