herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
TSSDecayer.h
1// -*- C++ -*-
2//
3// TSSDecayer.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_TSSDecayer_H
10#define HERWIG_TSSDecayer_H
11//
12// This is the declaration of the TSSDecayer class.
13//
14
15#include "GeneralTwoBodyDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Tensor/SSTVertex.h"
18
19namespace Herwig {
20using namespace ThePEG;
21using Helicity::SSTVertexPtr;
22
33
34public:
35
40
41public:
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 vector<VertexBasePtr>,
79 map<ShowerInteraction,VertexBasePtr> &,
80 const vector<map<ShowerInteraction,VertexBasePtr> > &,
81 map<ShowerInteraction,VertexBasePtr>);
83
84public:
85
93
99 void persistentInput(PersistentIStream & is, int version);
101
108 static void Init();
109
110protected:
111
118 virtual IBPtr clone() const;
119
124 virtual IBPtr fullclone() const;
126
127private:
128
133 TSSDecayer & operator=(const TSSDecayer &) = delete;
134
135private:
136
140 vector<AbstractSSTVertexPtr> vertex_;
141
145 vector<SSTVertexPtr> perturbativeVertex_;
146
151
155 mutable vector<Helicity::TensorWaveFunction> tensors_;
156};
157
158}
159
160#endif /* HERWIG_TSSDecayer_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...
pair< tcPDPtr, Energy > PMPair
A ParticleData ptr and (possible) mass pair.
The TSSDecayer class implements the decay of a tensor to 2 scalars in a general model.
Definition: TSSDecayer.h:32
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.
vector< Helicity::TensorWaveFunction > tensors_
Polarization tensors of the decaying particle.
Definition: TSSDecayer.h:155
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
TSSDecayer()
The default constructor.
Definition: TSSDecayer.h:39
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
RhoDMatrix rho_
Spin density matrix.
Definition: TSSDecayer.h:150
virtual IBPtr clone() const
Make a simple clone of this object.
virtual Energy partialWidth(PMPair inpart, PMPair outa, PMPair outb) const
Function to return partial Width.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
TSSDecayer & operator=(const TSSDecayer &)=delete
The assignment operator is private and must never be called.
vector< AbstractSSTVertexPtr > vertex_
Abstract pointer to AbstractSSTVertex.
Definition: TSSDecayer.h:140
vector< SSTVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: TSSDecayer.h:145
static void Init()
The standard Init function used to initialize the interfaces.
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.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::pointer PDPtr
pair< PDPtr, PDPtr > PDPair