ThePEG  1.8.0
FFSVertex.h
1 // -*- C++ -*-
2 //
3 // FFSVertex.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_FFSVertex_H
10 #define ThePEG_FFSVertex_H
11 //
12 // This is the declaration of the FFSVertex class.
13 
14 #include "ThePEG/Helicity/Vertex/AbstractFFSVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/ScalarWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
17 #include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
18 #include "FFSVertex.fh"
19 
20 namespace ThePEG {
21 
22 namespace Helicity{
23 
42 
43 public:
44 
48  static void Init();
49 
50 public:
51 
64  Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
65  const SpinorBarWaveFunction & sbar2,
66  const ScalarWaveFunction & sca3);
67 
80  SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
81  const SpinorWaveFunction & sp1,
82  const ScalarWaveFunction & sca3,
83  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
84 
97  SpinorBarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
98  const SpinorBarWaveFunction & sbar2,
99  const ScalarWaveFunction & sca3,
100  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
101 
114  ScalarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
115  const SpinorWaveFunction & sp1,
116  const SpinorBarWaveFunction & sbar2,
117  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
119 
128  virtual void setCoupling(Energy2 q2,tcPDPtr part1,
129  tcPDPtr part2,tcPDPtr part3)=0;
130 
138  Complex left() { return _left; }
139 
143  Complex right() { return _right; }
145 
146 protected:
147 
155  void left(Complex in) { _left = in; }
156 
160  void right(Complex in) { _right = in; }
162 
163 private:
164 
169 
173  FFSVertex & operator=(const FFSVertex &);
174 
175 private:
176 
181 
186 
187 };
188 }
189 
196 template <>
197 struct BaseClassTrait<ThePEG::Helicity::FFSVertex,1> {
200 };
201 
206 template <>
207 struct ClassTraits<ThePEG::Helicity::FFSVertex>
208  : public ClassTraitsBase<ThePEG::Helicity::FFSVertex> {
209 
213  static string className() { return "ThePEG::FFSVertex"; }
214 };
215 
218 }
219 
220 
221 #endif /* ThePEG_FFSVertex_H */