ThePEG  1.8.0
AbstractFFTVertex.h
1 // -*- C++ -*-
2 #ifndef HELICITY_AbstractFFTVertex_H
3 #define HELICITY_AbstractFFTVertex_H
4 //
5 // This is the declaration of the AbstractFFTVertex class.
6 //
7 
8 #include "VertexBase.h"
9 #include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
10 #include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
11 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
12 #include "AbstractFFTVertex.fh"
13 
14 namespace ThePEG {
15 namespace Helicity {
16 
22 
23 public:
24 
25 
29  AbstractFFTVertex() : VertexBase(VertexType::FFT) {}
30 
43  virtual Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
44  const SpinorBarWaveFunction & sbar2,
45  const TensorWaveFunction & ten3) = 0;
46 
59  virtual TensorWaveFunction evaluate(Energy2 q2, int iopt,tcPDPtr out,
60  const SpinorWaveFunction & sp1,
61  const SpinorBarWaveFunction & sbar2,
62  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
63 
76  virtual SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
77  const SpinorWaveFunction & sp1,
78  const TensorWaveFunction & ten3,
79  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
80 
93  virtual SpinorBarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
94  const SpinorBarWaveFunction & sbar2,
95  const TensorWaveFunction& ten3,
96  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
98 
99 public:
100 
107  static void Init();
108 
109 private:
110 
116 
122 
123 };
124 
125 }
126 }
127 
128 #include "ThePEG/Utilities/ClassTraits.h"
129 
130 namespace ThePEG {
131 
136 template <>
137 struct BaseClassTrait<Helicity::AbstractFFTVertex,1> {
139  typedef Helicity::VertexBase NthBase;
140 };
141 
144 template <>
145 struct ClassTraits<Helicity::AbstractFFTVertex>
146  : public ClassTraitsBase<Helicity::AbstractFFTVertex> {
148  static string className() { return "Helicity::AbstractFFTVertex"; }
149 };
150 
153 }
154 
155 #endif /* HELICITY_AbstractFFTVertex_H */