ThePEG  1.8.0
SSTVertex.h
1 // -*- C++ -*-
2 //
3 // SSTVertex.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 2003-2011 Peter Richardson, Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_SSTVertex_H
10 #define ThePEG_SSTVertex_H
11 //
12 // This is the declaration of the SSTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractSSTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
17 #include "SSTVertex.fh"
18 
19 namespace ThePEG {
20 namespace Helicity {
21 
42 
43 public:
44 
48  static void Init();
49 
50 public:
51 
64  Complex evaluate(Energy2 q2, const ScalarWaveFunction & sca1,
65  const ScalarWaveFunction & sca2, const TensorWaveFunction & ten3);
66 
79  ScalarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
80  const ScalarWaveFunction & sca1,
81  const TensorWaveFunction & ten3,
82  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
83 
96  TensorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
97  const ScalarWaveFunction & sca1,
98  const ScalarWaveFunction & sca2,
99  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
101 
110  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
111 
112 private:
113 
118 
122  SSTVertex & operator=(const SSTVertex &);
123 
124 };
125 
126 }
127 
134 template <>
135 struct BaseClassTrait<ThePEG::Helicity::SSTVertex,1> {
138 };
139 
144 template <>
145 struct ClassTraits<ThePEG::Helicity::SSTVertex>
146  : public ClassTraitsBase<ThePEG::Helicity::SSTVertex> {
147 
151  static string className() { return "ThePEG::SSTVertex"; }
152 };
153 
156 }
157 
158 
159 #endif /* ThePEG_SSTVertex_H */