herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
SVVDecayer.h
1 // -*- C++ -*-
2 //
3 // SVVDecayer.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_SVVDecayer_H
10 #define HERWIG_SVVDecayer_H
11 //
12 // This is the declaration of the SVVDecayer class.
13 //
14 
15 #include "GeneralTwoBodyDecayer.h"
16 #include "ThePEG/Repository/EventGenerator.h"
17 #include "ThePEG/Helicity/Vertex/Scalar/VVSVertex.h"
18 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
19 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
20 
21 namespace Herwig {
22 using namespace ThePEG;
23 using Helicity::VVSVertexPtr;
24 
36 
37 public:
38 
43 
54  virtual double me2(const int ichan, const Particle & part,
55  const ParticleVector & decay, MEOption meopt) const;
56 
63  virtual Energy partialWidth(PMPair inpart, PMPair outa,
64  PMPair outb) const;
65 
69  virtual void setDecayInfo(PDPtr incoming, PDPair outgoing,
70  vector<VertexBasePtr>,
71  map<ShowerInteraction,VertexBasePtr> &,
72  const vector<map<ShowerInteraction,VertexBasePtr> > &,
73  map<ShowerInteraction,VertexBasePtr>);
74 
79  POWHEGType output = FSR;
80  for(auto vertex : vertex_) {
81  if(vertex->orderInAllCouplings()!=1) {
82  output = No;
83  break;
84  }
85  }
86  return output;
87  }
88 
92  virtual double threeBodyME(const int , const Particle & inpart,
93  const ParticleVector & decay,
94  ShowerInteraction inter, MEOption meopt);
96 
97 public:
98 
105  void persistentOutput(PersistentOStream & os) const;
106 
112  void persistentInput(PersistentIStream & is, int version);
114 
121  static void Init();
122 
123 protected:
124 
131  virtual IBPtr clone() const;
132 
137  virtual IBPtr fullclone() const;
139 
140 protected:
141 
145  void identifyVertices(const Particle & inpart, const ParticleVector & decay,
146  AbstractVVVVertexPtr & outgoingVertex1,
147  AbstractVVVVertexPtr & outgoingVertex2,
148  ShowerInteraction inter);
149 
150 private:
151 
156  SVVDecayer & operator=(const SVVDecayer &) = delete;
157 
158 private:
159 
163  vector<AbstractVVSVertexPtr> vertex_;
164 
168  vector<VVSVertexPtr> perturbativeVertex_;
169 
173  map<ShowerInteraction,AbstractVSSVertexPtr> incomingVertex_;
174 
178  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex1_;
179 
183  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex2_;
184 
188  mutable RhoDMatrix rho_;
189 
194 
198  mutable vector<Helicity::VectorWaveFunction> vectors_[2];
199 
200 private:
201 
209  mutable RhoDMatrix rho3_;
210 
215 
219  mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
220 
224  mutable vector<Helicity::VectorWaveFunction> gluon_;
226 };
227 
228 }
229 
230 #endif /* HERWIG_SVVDecayer_H */
RhoDMatrix rho3_
Member for the POWHEG correction.
Definition: SVVDecayer.h:209
This SVVDecayer class implements the decay of a scalar to 2 vector bosons using either the tree level...
Definition: SVVDecayer.h:35
ShowerInteraction
Handy header file to be included in all Shower classes.
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractFFVVertex for QCD radiation from the 2nd outgoing vector.
Definition: SVVDecayer.h:183
ScalarWaveFunction swave3_
Scalar wavefunction for 3 body decay.
Definition: SVVDecayer.h:214
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
RhoDMatrix rho_
Spin density matrix.
Definition: SVVDecayer.h:188
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.
Helicity::ScalarWaveFunction swave_
Scalar wavefunction.
Definition: SVVDecayer.h:193
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: SVVDecayer.h:224
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, AbstractVSSVertexPtr > incomingVertex_
Abstract pointer to AbstractVSSVertex for QCD radiation from incoming scalar.
Definition: SVVDecayer.h:173
pair< PDPtr, PDPtr > PDPair
SVVDecayer()
The default constructor.
Definition: SVVDecayer.h:42
ThePEG::Ptr< ParticleData >::pointer PDPtr
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: SVVDecayer.h:78
-*- C++ -*-
vector< PPtr > ParticleVector
vector< AbstractVVSVertexPtr > vertex_
Abstract pointer to general VVS vertex.
Definition: SVVDecayer.h:163
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractFFVVertex for QCD radiation from the 1st outgoing vector.
Definition: SVVDecayer.h:178
vector< VVSVertexPtr > perturbativeVertex_
Pointer to the perturbative form.
Definition: SVVDecayer.h:168