ThePEG  1.8.0
AbstractSSSVertex.h
1 // -*- C++ -*-
2 #ifndef HELICITY_AbstractSSSVertex_H
3 #define HELICITY_AbstractSSSVertex_H
4 //
5 // This is the declaration of the AbstractSSSVertex class.
6 //
7 
8 #include "VertexBase.h"
9 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
10 #include "AbstractSSSVertex.fh"
11 
12 namespace ThePEG {
13 namespace Helicity {
14 
20 
21 public:
22 
26  AbstractSSSVertex() : VertexBase(VertexType::SSS) {}
27 
40  virtual Complex evaluate(Energy2 q2,const ScalarWaveFunction & sca1,
41  const ScalarWaveFunction & sca2,
42  const ScalarWaveFunction & sca3) = 0;
43 
56  virtual ScalarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
57  const ScalarWaveFunction & sca1,
58  const ScalarWaveFunction & sca2,
59  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
61 
62 public:
63 
70  static void Init();
71 
72 private:
73 
79 
85 
86 };
87 
88 }
89 }
90 
91 #include "ThePEG/Utilities/ClassTraits.h"
92 
93 namespace ThePEG {
94 
99 template <>
100 struct BaseClassTrait<Helicity::AbstractSSSVertex,1> {
102  typedef Helicity::VertexBase NthBase;
103 };
104 
107 template <>
108 struct ClassTraits<Helicity::AbstractSSSVertex>
109  : public ClassTraitsBase<Helicity::AbstractSSSVertex> {
111  static string className() { return "Helicity::AbstractSSSVertex"; }
112 };
113 
116 }
117 
118 #endif /* HELICITY_AbstractSSSVertex_H */