ThePEG  1.8.0
AbstractVVSSVertex.h
1 // -*- C++ -*-
2 #ifndef HELICITY_AbstractVVSSVertex_H
3 #define HELICITY_AbstractVVSSVertex_H
4 //
5 // This is the declaration of the AbstractVVSSVertex class.
6 //
7 
8 #include "VertexBase.h"
9 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
10 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
11 #include "AbstractVVSSVertex.fh"
12 
13 namespace ThePEG {
14 namespace Helicity {
15 
21 
22 public:
23 
27  AbstractVVSSVertex() : VertexBase(VertexType::VVSS) {}
28 
42  virtual Complex evaluate(Energy2 q2, const VectorWaveFunction & vec1,
43  const VectorWaveFunction & vec2,
44  const ScalarWaveFunction & sca3,
45  const ScalarWaveFunction & sca4) = 0;
46 
60  virtual VectorWaveFunction evaluate(Energy2 q2, int iopt,tcPDPtr out,
61  const VectorWaveFunction & vec2,
62  const ScalarWaveFunction & sca3,
63  const ScalarWaveFunction & sca4,
64  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
65 
79  virtual ScalarWaveFunction evaluate(Energy2 q2, int iopt,tcPDPtr out,
80  const VectorWaveFunction & vec1,
81  const VectorWaveFunction & vec2,
82  const ScalarWaveFunction & sca3,
83  complex<Energy> mass=-GeV, complex<Energy> width=-GeV) = 0;
85 
86 public:
87 
94  static void Init();
95 
96 private:
97 
103 
109 
110 };
111 
112 }
113 }
114 
115 #include "ThePEG/Utilities/ClassTraits.h"
116 
117 namespace ThePEG {
118 
123 template <>
124 struct BaseClassTrait<Helicity::AbstractVVSSVertex,1> {
126  typedef Helicity::VertexBase NthBase;
127 };
128 
131 template <>
132 struct ClassTraits<Helicity::AbstractVVSSVertex>
133  : public ClassTraitsBase<Helicity::AbstractVVSSVertex> {
135  static string className() { return "Helicity::AbstractVVSSVertex"; }
136 };
137 
140 }
141 
142 #endif /* HELICITY_AbstractVVSSVertex_H */