ThePEG  1.8.0
VVTVertex.h
1 // -*- C++ -*-
2 //
3 // VVTVertex.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_VVTVertex_H
10 #define ThePEG_VVTVertex_H
11 //
12 // This is the declaration of the VVTVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractVVTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "VVTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
47 
48 public:
49 
53  static void Init();
54 
55 public:
56 
70  Complex evaluate(Energy2 q2,const VectorWaveFunction & vec1,
71  const VectorWaveFunction & vec2,
72  const TensorWaveFunction & ten3,
73  Energy vmass=-GeV);
74 
88  TensorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
89  const VectorWaveFunction & vec1,
90  const VectorWaveFunction & vec2,
91  Energy vmass=-GeV,
92  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
93 
106  VectorWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
107  const VectorWaveFunction & vec1,
108  const TensorWaveFunction & ten3,
109  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
111 
120  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
121 
122 private:
123 
128 
132  VVTVertex & operator=(const VVTVertex &);
133 
134 };
135 
136 }
137 
144 template <>
145 struct BaseClassTrait<ThePEG::Helicity::VVTVertex,1> {
148 };
149 
154 template <>
155 struct ClassTraits<ThePEG::Helicity::VVTVertex>
156  : public ClassTraitsBase<ThePEG::Helicity::VVTVertex> {
157 
161  static string className() { return "ThePEG::VVTVertex"; }
162 };
163 
166 }
167 
168 
169 #endif /* ThePEG_VVTVertex_H */