ThePEG  1.8.0
VVVVertex.h
1 // -*- C++ -*-
2 //
3 // VVVVertex.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 2003-2011 Peter Richardson, Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_VVVVertex_H
10 #define ThePEG_VVVVertex_H
11 //
12 // This is the declaration of the VVVVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractVVVVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "VVVVertex.fh"
17 
18 namespace ThePEG {
19 namespace Helicity{
20 
40 
41 public:
42 
46  static void Init();
47 
48 public:
49 
62  Complex evaluate(Energy2 q2, const VectorWaveFunction & vec1,
63  const VectorWaveFunction & vec2, const VectorWaveFunction & vec3);
64 
77  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
78  const VectorWaveFunction & vec2,
79  const VectorWaveFunction & vec3,
80  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
82 
91  virtual void setCoupling(Energy2 q2,tcPDPtr part1,
92  tcPDPtr part2,tcPDPtr part3)=0;
93 
94 private:
95 
100 
104  VVVVertex & operator=(const VVVVertex &);
105 
106 };
107 
108 }
109 
116 template <>
117 struct BaseClassTrait<ThePEG::Helicity::VVVVertex,1> {
120 };
121 
126 template <>
127 struct ClassTraits<ThePEG::Helicity::VVVVertex>
128  : public ClassTraitsBase<ThePEG::Helicity::VVVVertex> {
129 
133  static string className() { return "ThePEG::VVVVertex"; }
134 };
135 
138 }
139 
140 
141 #endif /* ThePEG_VVVVertex_H */