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 <>
266  typedef ThePEG::Helicity::AbstractFFVVertex NthBase;
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 */
const Complex & right() const
Get the right coupling.
Definition: FFVVertex.h:210
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
Complex _left
Left coupling.
Definition: FFVVertex.h:247
virtual SpinorWaveFunction evaluateSmall(Energy2 q2, int iopt, tcPDPtr out, const SpinorWaveFunction &sp1, const VectorWaveFunction &vec3, unsigned int fhel, unsigned int vhel, double ctheta, double phi, double stheta, bool includeEikonal=true, SmallAngleDirection direction=PostiveZDirection, Energy mass=-GeV, Energy width=-GeV)
Special members for off-shell fermion wavefunctions with massless gauge bosons at small angles in the...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:681
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
The AbstractFFVVertex class provides a base class for all fermion-fermion-vector vertices in ThePEG...
const Complex & left() const
Get the Couplings.
Definition: FFVVertex.h:205
FFVVertex & operator=(const FFVVertex &)
Private and non-existent assignment operator.
The FFVVertex class is the base class for all helicity amplitude vertices which use the renormalisabl...
Definition: FFVVertex.h:39
virtual Complex evaluate(Energy2 q2, const SpinorWaveFunction &sp1, const SpinorBarWaveFunction &sbar2, const VectorWaveFunction &vec3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
Complex _right
Right coupling.
Definition: FFVVertex.h:252
QTY< 0, 1, 0 >::Type Energy
Energy.
Definition: Unitsystem.h:34
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
static void Init()
Standard Init function used to initialize the interfaces.
static AbstractNoPIOClassDescription< FFVVertex > initFFVVertex
Describe an abstract class with persistent data.
Definition: FFVVertex.h:235
void right(const Complex &in)
Set the right coupling.
Definition: FFVVertex.h:227
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
SmallAngleDirection
Enum for the direction in the small angle limit.
void left(const Complex &in)
Set the couplings.
Definition: FFVVertex.h:222
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52