herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
19 namespace Herwig {
20 using namespace ThePEG;
21 using Helicity::SSTVertexPtr;
22 
33 
34 public:
35 
40 
41 public:
42 
53  virtual double me2(const int ichan, const Particle & part,
54  const ParticleVector & decay, MEOption meopt) const;
55 
62  virtual Energy partialWidth(PMPair inpart, PMPair outa,
63  PMPair outb) const;
64 
68  virtual void setDecayInfo(PDPtr incoming, PDPair outgoing,
69  vector<VertexBasePtr>,
70  map<ShowerInteraction,VertexBasePtr> &,
71  const vector<map<ShowerInteraction,VertexBasePtr> > &,
72  map<ShowerInteraction,VertexBasePtr>);
74 
75 public:
76 
83  void persistentOutput(PersistentOStream & os) const;
84 
90  void persistentInput(PersistentIStream & is, int version);
92 
99  static void Init();
100 
101 protected:
102 
109  virtual IBPtr clone() const;
110 
115  virtual IBPtr fullclone() const;
117 
118 private:
119 
124  TSSDecayer & operator=(const TSSDecayer &) = delete;
125 
126 private:
127 
131  vector<AbstractSSTVertexPtr> vertex_;
132 
136  vector<SSTVertexPtr> perturbativeVertex_;
137 
141  mutable RhoDMatrix rho_;
142 
146  mutable vector<Helicity::TensorWaveFunction> tensors_;
147 };
148 
149 }
150 
151 #endif /* HERWIG_TSSDecayer_H */
The TSSDecayer class implements the decay of a tensor to 2 scalars in a general model.
Definition: TSSDecayer.h:32
vector< SSTVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: TSSDecayer.h:136
vector< Helicity::TensorWaveFunction > tensors_
Polarization tensors of the decaying particle.
Definition: TSSDecayer.h:146
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
RhoDMatrix rho_
Spin density matrix.
Definition: TSSDecayer.h:141
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.
MEOption
Enum for the matrix element option.
pair< PDPtr, PDPtr > PDPair
ThePEG::Ptr< ParticleData >::pointer PDPtr
vector< AbstractSSTVertexPtr > vertex_
Abstract pointer to AbstractSSTVertex.
Definition: TSSDecayer.h:131
TSSDecayer()
The default constructor.
Definition: TSSDecayer.h:39
-*- C++ -*-
vector< PPtr > ParticleVector