herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
TVVDecayer.h
1 // -*- C++ -*-
2 //
3 // TVVDecayer.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_TVVDecayer_H
10 #define HERWIG_TVVDecayer_H
11 //
12 // This is the declaration of the TVVDecayer 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/Tensor/VVTVertex.h"
19 #include "ThePEG/Helicity/Vertex/Tensor/VVVTVertex.h"
20 
21 namespace Herwig {
22 using namespace ThePEG;
23 using Helicity::VVTVertexPtr;
24 
35 
36 public:
37 
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;
68  POWHEGType output = FSR;
69  for(auto vertex : vertex_) {
70  if(vertex->orderInAllCouplings()!=1) {
71  output = No;
72  break;
73  }
74  }
75  return output;
76  }
77 
81  virtual double threeBodyME(const int , const Particle & inpart,
82  const ParticleVector & decay,
83  ShowerInteraction inter, MEOption meopt);
84 
88  virtual void setDecayInfo(PDPtr incoming, PDPair outgoing,
89  vector<VertexBasePtr>,
90  map<ShowerInteraction,VertexBasePtr> &,
91  const vector<map<ShowerInteraction,VertexBasePtr> > &,
92  map<ShowerInteraction,VertexBasePtr>);
93 
95 
96 public:
97 
104  void persistentOutput(PersistentOStream & os) const;
105 
111  void persistentInput(PersistentIStream & is, int version);
113 
120  static void Init();
121 
122 protected:
123 
130  virtual IBPtr clone() const;
131 
136  virtual IBPtr fullclone() const;
138 
139 private:
140 
145  TVVDecayer & operator=(const TVVDecayer &) = delete;
146 
147 private:
148 
152  vector<AbstractVVTVertexPtr> vertex_;
153 
157  vector<VVTVertexPtr> perturbativeVertex_;
158 
162  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex1_;
163 
167  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex2_;
168 
172  map<ShowerInteraction,AbstractVVVTVertexPtr> fourPointVertex_;
173 
177  mutable RhoDMatrix rho_;
178 
182  mutable vector<Helicity::TensorWaveFunction> tensors_;
183 
187  mutable vector<Helicity::VectorWaveFunction> vectors_[2];
188 
192  mutable RhoDMatrix rho3_;
193 
197  mutable vector<Helicity::TensorWaveFunction> tensors3_;
198 
202  mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
203 
207  mutable vector<Helicity::VectorWaveFunction> gluon_;
208 
209 };
210 
211 }
212 
213 #endif /* HERWIG_TVVDecayer_H */
vector< Helicity::TensorWaveFunction > tensors3_
Tensor wavefunction for 3 body decay.
Definition: TVVDecayer.h:197
The TVVDecayer class implements the decay of a tensor to 2 vector bosons in a general model...
Definition: TVVDecayer.h:34
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: TVVDecayer.h:207
ShowerInteraction
Handy header file to be included in all Shower classes.
vector< AbstractVVTVertexPtr > vertex_
Abstract pointer to AbstractVVTVertex.
Definition: TVVDecayer.h:152
RhoDMatrix rho_
Spin density matrix.
Definition: TVVDecayer.h:177
RhoDMatrix rho3_
Spin density matrix for 3 body decay.
Definition: TVVDecayer.h:192
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
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.
vector< VVTVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: TVVDecayer.h:157
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractVVVVertex for QCD radiation from outgoing vector.
Definition: TVVDecayer.h:162
MEOption
Enum for the matrix element option.
POWHEGType
Virtual members to be overridden by inheriting classes which implement hard corrections.
Definition: HwDecayerBase.h:76
map< ShowerInteraction, AbstractVVVTVertexPtr > fourPointVertex_
Abstract pointer to AbstractVVVTVertex for QCD radiation from 4 point vertex.
Definition: TVVDecayer.h:172
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: TVVDecayer.h:67
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractVVVVertex for QCD radiation from outgoing vector.
Definition: TVVDecayer.h:167
pair< PDPtr, PDPtr > PDPair
vector< Helicity::TensorWaveFunction > tensors_
Polarization tensors of decaying particle.
Definition: TVVDecayer.h:182
ThePEG::Ptr< ParticleData >::pointer PDPtr
-*- C++ -*-
TVVDecayer()
The default constructor.
Definition: TVVDecayer.h:41
vector< PPtr > ParticleVector