ThePEG  1.8.0
VVVTVertex.h
1 // -*- C++ -*-
2 //
3 // VVVTVertex.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_VVVTVertex_H
10 #define ThePEG_VVVTVertex_H
11 //
12 // This is the declaration of the VVVTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractVVVTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "VVVTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
52 
53 public:
54 
58  static void Init();
59 
60 public:
61 
75  Complex evaluate(Energy2 q2,const VectorWaveFunction & vec1,
76  const VectorWaveFunction & vec2,
77  const VectorWaveFunction & vec3, const TensorWaveFunction & ten4);
78 
92  TensorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
93  const VectorWaveFunction & vec1,
94  const VectorWaveFunction & vec2,
95  const VectorWaveFunction & vec3,
96  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
97 
111  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
112  const VectorWaveFunction & vec1,
113  const VectorWaveFunction & vec2,
114  const TensorWaveFunction & ten4,
115  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
117 
127  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,
128  tcPDPtr part3, tcPDPtr part4)=0;
129 
130 private:
131 
136 
140  VVVTVertex & operator=(const VVVTVertex &);
141 
142 };
143 
144 }
145 
152 template <>
153 struct BaseClassTrait<ThePEG::Helicity::VVVTVertex,1> {
156 };
157 
162 template <>
163 struct ClassTraits<ThePEG::Helicity::VVVTVertex>
164  : public ClassTraitsBase<ThePEG::Helicity::VVVTVertex> {
165 
169  static string className() { return "ThePEG::VVVTVertex"; }
170 };
171 
174 }
175 
176 #endif /* ThePEG_VVVTVertex_H */