herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
VVVDecayer.h
1 // -*- C++ -*-
2 //
3 // VVVDecayer.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_VVVDecayer_H
10 #define HERWIG_VVVDecayer_H
11 //
12 // This is the declaration of the VVVDecayer 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/AbstractVVVVVertex.h"
19 
20 namespace Herwig {
21 using namespace ThePEG;
22 using Helicity::VVVVertexPtr;
23 
34 
35 public:
36 
41 
52  virtual double me2(const int ichan, const Particle & part,
53  const ParticleVector & decay, MEOption meopt) const;
54 
61  virtual Energy partialWidth(PMPair inpart, PMPair outa,
62  PMPair outb) const;
63 
67  virtual void setDecayInfo(PDPtr incoming, PDPair outgoing,
68  vector<VertexBasePtr>,
69  map<ShowerInteraction,VertexBasePtr> &,
70  const vector<map<ShowerInteraction,VertexBasePtr> > &,
71  map<ShowerInteraction,VertexBasePtr>);
72 
77  POWHEGType output = FSR;
78  for(auto vertex : vertex_) {
79  if(vertex->orderInAllCouplings()!=1) {
80  output = No;
81  break;
82  }
83  }
84  return output;
85  }
86 
90  virtual double threeBodyME(const int , const Particle & inpart,
91  const ParticleVector & decay,
92  ShowerInteraction inter, MEOption meopt);
94 
95 public:
96 
103  void persistentOutput(PersistentOStream & os) const;
104 
110  void persistentInput(PersistentIStream & is, int version);
112 
119  static void Init();
120 
121 protected:
122 
129  virtual IBPtr clone() const;
130 
135  virtual IBPtr fullclone() const;
137 
138 protected:
139 
143  void identifyVertices(const Particle & inpart, const ParticleVector & decay,
144  AbstractVVVVertexPtr & outgoingVertex1,
145  AbstractVVVVertexPtr & outgoingVertex2,
146  ShowerInteraction inter);
147 
148 private:
149 
154  VVVDecayer & operator=(const VVVDecayer &) = delete;
155 
156 private:
157 
161  vector<AbstractVVVVertexPtr> vertex_;
162 
166  vector<VVVVertexPtr> perturbativeVertex_;
167 
171  map<ShowerInteraction,AbstractVVVVertexPtr> incomingVertex_;
172 
176  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex1_;
177 
181  map<ShowerInteraction,AbstractVVVVertexPtr> outgoingVertex2_;
182 
186  map<ShowerInteraction,AbstractVVVVVertexPtr> fourPointVertex_;
187 
191  mutable RhoDMatrix rho_;
192 
196  mutable vector<Helicity::VectorWaveFunction> vectors_[3];
197 
198 private:
199 
207  mutable RhoDMatrix rho3_;
208 
212  mutable vector<Helicity::VectorWaveFunction> vector3_;
213 
217  mutable vector<Helicity::VectorWaveFunction> vectors3_[2];
218 
222  mutable vector<Helicity::VectorWaveFunction> gluon_;
224 };
225 
226 }
227 
228 #endif /* HERWIG_VVVDecayer_H */
RhoDMatrix rho3_
Members for the POWHEG correction.
Definition: VVVDecayer.h:207
The VVVDecayer class implements the decay of a vector to 2 vectors in a general model.
Definition: VVVDecayer.h:33
vector< Helicity::VectorWaveFunction > gluon_
Vector wavefunction for 3 body decay.
Definition: VVVDecayer.h:222
ShowerInteraction
Handy header file to be included in all Shower classes.
map< ShowerInteraction, AbstractVVVVVertexPtr > fourPointVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from the 4-point vertex.
Definition: VVVDecayer.h:186
VVVDecayer()
The default constructor.
Definition: VVVDecayer.h:40
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex2_
Abstract pointer to AbstractVVVVertex for QCD radiation from the second outgoing vector.
Definition: VVVDecayer.h:181
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.
virtual POWHEGType hasPOWHEGCorrection()
Has a POWHEG style correction.
Definition: VVVDecayer.h:76
map< ShowerInteraction, AbstractVVVVertexPtr > outgoingVertex1_
Abstract pointer to AbstractVVVVertex for QCD radiation from the first outgoing vector.
Definition: VVVDecayer.h:176
MEOption
Enum for the matrix element option.
vector< AbstractVVVVertexPtr > vertex_
Abstract pointer to AbstractVVVVertex.
Definition: VVVDecayer.h:161
POWHEGType
Virtual members to be overridden by inheriting classes which implement hard corrections.
Definition: HwDecayerBase.h:76
pair< PDPtr, PDPtr > PDPair
ThePEG::Ptr< ParticleData >::pointer PDPtr
vector< Helicity::VectorWaveFunction > vector3_
Vector wavefunction for 3 body decay.
Definition: VVVDecayer.h:212
vector< VVVVertexPtr > perturbativeVertex_
Pointer to the perturbative vertex.
Definition: VVVDecayer.h:166
-*- C++ -*-
vector< PPtr > ParticleVector
map< ShowerInteraction, AbstractVVVVertexPtr > incomingVertex_
Abstract pointer to AbstractVVVVertex for QCD radiation from incoming vector.
Definition: VVVDecayer.h:171
RhoDMatrix rho_
Spin density matrix.
Definition: VVVDecayer.h:191