ThePEG  1.8.0
FFTVertex.h
1 // -*- C++ -*-
2 //
3 // FFTVertex.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_FFTVertex_H
10 #define ThePEG_FFTVertex_H
11 //
12 // This is the declaration of the FFTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractFFTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
17 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
18 #include "FFTVertex.fh"
19 
20 namespace ThePEG {
21 namespace Helicity {
22 
41 
42 public:
43 
47  static void Init();
48 
49 public:
50 
63  Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
64  const SpinorBarWaveFunction & sbar2,
65  const TensorWaveFunction & ten3);
66 
79  TensorWaveFunction evaluate(Energy2 q2, int iopt,tcPDPtr out,
80  const SpinorWaveFunction & sp1,
81  const SpinorBarWaveFunction & sbar2,
82  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
83 
96  SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
97  const SpinorWaveFunction & sp1,
98  const TensorWaveFunction & ten3,
99  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
100 
113  SpinorBarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
114  const SpinorBarWaveFunction & sbar2,
115  const TensorWaveFunction& ten3,
116  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
118 
127  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
128 
129 private:
130 
135 
139  FFTVertex & operator=(const FFTVertex &);
140 
141 };
142 
143 }
144 
151 template <>
152 struct BaseClassTrait<ThePEG::Helicity::FFTVertex,1> {
155 };
156 
161 template <>
162 struct ClassTraits<ThePEG::Helicity::FFTVertex>
163  : public ClassTraitsBase<ThePEG::Helicity::FFTVertex> {
164 
168  static string className() { return "ThePEG::FFTVertex"; }
169 
170 };
171 
174 }
175 
176 #endif /* ThePEG_FFTVertex_H */