ThePEG  1.8.0
AbstractSSSSVertex.h
1 // -*- C++ -*-
2 #ifndef HELICITY_AbstractSSSSVertex_H
3 #define HELICITY_AbstractSSSSVertex_H
4 //
5 // This is the declaration of the AbstractSSSSVertex class.
6 //
7 
8 #include "VertexBase.h"
9 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
10 #include "AbstractSSSSVertex.fh"
11 
12 namespace ThePEG {
13 namespace Helicity {
14 
20 
21 public:
22 
26  AbstractSSSSVertex() : VertexBase(VertexType::SSSS) {}
27 
41  virtual Complex evaluate(Energy2 q2,const ScalarWaveFunction & sca1,
42  const ScalarWaveFunction & sca2,
43  const ScalarWaveFunction & sca3,
44  const ScalarWaveFunction & sca4) = 0;
45 
55  virtual ScalarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
56  const ScalarWaveFunction & sca1,
57  const ScalarWaveFunction & sca2,
58  const ScalarWaveFunction & sca3) = 0;
60 
61 public:
62 
69  static void Init();
70 
71 private:
72 
78 
84 
85 };
86 
87 }
88 }
89 
90 #include "ThePEG/Utilities/ClassTraits.h"
91 
92 namespace ThePEG {
93 
98 template <>
99 struct BaseClassTrait<Helicity::AbstractSSSSVertex,1> {
101  typedef Helicity::VertexBase NthBase;
102 };
103 
106 template <>
107 struct ClassTraits<Helicity::AbstractSSSSVertex>
108  : public ClassTraitsBase<Helicity::AbstractSSSSVertex> {
110  static string className() { return "Helicity::AbstractSSSSVertex"; }
111 };
112 
115 }
116 
117 #endif /* HELICITY_AbstractSSSSVertex_H */