ThePEG  1.8.0
AbstractFFSVertex.h
1 // -*- C++ -*-
2 #ifndef HELICITY_AbstractFFSVertex_H
3 #define HELICITY_AbstractFFSVertex_H
4 //
5 // This is the declaration of the AbstractFFSVertex 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/ScalarWaveFunction.h"
12 #include "AbstractFFSVertex.fh"
13 
14 namespace ThePEG {
15 namespace Helicity {
16 
22 
23 public:
24 
28  AbstractFFSVertex() : VertexBase(VertexType::FFS) {}
29 
42  virtual Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
43  const SpinorBarWaveFunction & sbar2,
44  const ScalarWaveFunction & sca3) = 0;
45 
58  virtual SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
59  const SpinorWaveFunction & sp1,
60  const ScalarWaveFunction & sca3,
61  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
62 
75  virtual SpinorBarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
76  const SpinorBarWaveFunction & sbar2,
77  const ScalarWaveFunction & sca3,
78  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
79 
92  virtual ScalarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
93  const SpinorWaveFunction & sp1,
94  const SpinorBarWaveFunction & sbar2,
95  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
97 
98 public:
99 
106  static void Init();
107 
108 private:
109 
115 
121 
122 };
123 
124 }
125 }
126 
127 #include "ThePEG/Utilities/ClassTraits.h"
128 
129 namespace ThePEG {
130 
135 template <>
136 struct BaseClassTrait<Helicity::AbstractFFSVertex,1> {
138  typedef VertexBase NthBase;
139 };
140 
143 template <>
144 struct ClassTraits<Helicity::AbstractFFSVertex>
145  : public ClassTraitsBase<Helicity::AbstractFFSVertex> {
147  static string className() { return "Helicity::AbstractFFSVertex"; }
148 };
149 
152 }
153 
154 #endif /* HELICITY_AbstractFFSVertex_H */