ThePEG  1.8.0
FFVVertex.h
1 // -*- C++ -*-
2 //
3 // FFVVertex.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_FFVVertex_H
10 #define ThePEG_FFVVertex_H
11 //
12 // This is the declaration of the FFVVertex class.
13 
14 #include <ThePEG/Helicity/Vertex/AbstractFFVVertex.h>
15 #include <ThePEG/Helicity/WaveFunction/VectorWaveFunction.h>
16 #include <ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h>
17 #include <ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h>
18 #include "FFVVertex.fh"
19 
20 namespace ThePEG {
21 
22 namespace Helicity{
23 
40 
41 public:
42 
46  static void Init();
47 
48 public:
49 
62  virtual Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
63  const SpinorBarWaveFunction & sbar2,
64  const VectorWaveFunction & vec3);
65 
78  virtual SpinorBarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
79  const SpinorBarWaveFunction & sbar2,
80  const VectorWaveFunction & vec3,
81  complex<Energy> mass=-GeV,
82  complex<Energy> width=-GeV);
83 
96  virtual VectorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
97  const SpinorWaveFunction & sp1,
98  const SpinorBarWaveFunction & sbar2,
99  complex<Energy> mass=-GeV,
100  complex<Energy> width=-GeV);
101 
114  virtual SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
115  const SpinorWaveFunction & sp1,
116  const VectorWaveFunction & vec3,
117  complex<Energy> mass=-GeV,
118  complex<Energy> width=-GeV);
120 
149  virtual SpinorWaveFunction evaluateSmall(Energy2 q2,int iopt, tcPDPtr out,
150  const SpinorWaveFunction & sp1,
151  const VectorWaveFunction & vec3,
152  unsigned int fhel, unsigned int vhel,
153  double ctheta, double phi, double stheta,
154  bool includeEikonal = true,
156  Energy mass=-GeV, Energy width=-GeV);
157 
178  virtual SpinorBarWaveFunction evaluateSmall(Energy2 q2,int iopt, tcPDPtr out,
179  const SpinorBarWaveFunction & sbar2,
180  const VectorWaveFunction & vec3,
181  unsigned int fhel, unsigned int vhel,
182  double ctheta, double phi, double stheta,
183  bool includeEikonal = true,
185  Energy mass=-GeV, Energy width=-GeV);
187 
196  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
197 
205  const Complex & left() const { return _left; }
206 
210  const Complex & right() const { return _right; }
212 
213 protected:
214 
222  void left(const Complex & in) { _left = in; }
223 
227  void right(const Complex & in) { _right = in; }
229 
230 private:
231 
236 
240  FFVVertex & operator=(const FFVVertex &);
241 
242 private:
243 
248 
253 
254 };
255 }
256 
263 template <>
264 struct BaseClassTrait<ThePEG::Helicity::FFVVertex,1> {
267 };
268 
273 template <>
274 struct ClassTraits<ThePEG::Helicity::FFVVertex>
275  : public ClassTraitsBase<ThePEG::Helicity::FFVVertex> {
276 
280  static string className() { return "ThePEG::FFVVertex"; }
281 };
282 
285 }
286 
287 
288 #endif /* ThePEG_FFVVertex_H */