ThePEG  1.8.0
FFTVertex.h
1 // -*- C++ -*-
2 //
3 // FFTVertex.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_FFTVertex_H
10 #define ThePEG_FFTVertex_H
11 //
12 // This is the declaration of the FFTVertex class.
13 //
14 #include "ThePEG/Helicity/Vertex/AbstractFFTVertex.h"
15 #include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
16 #include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
17 #include "ThePEG/Helicity/WaveFunction/TensorWaveFunction.h"
18 #include "FFTVertex.fh"
19 
20 namespace ThePEG {
21 namespace Helicity {
22 
41 
42 public:
43 
47  static void Init();
48 
49 public:
50 
63  Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
64  const SpinorBarWaveFunction & sbar2,
65  const TensorWaveFunction & ten3);
66 
79  TensorWaveFunction evaluate(Energy2 q2, int iopt,tcPDPtr out,
80  const SpinorWaveFunction & sp1,
81  const SpinorBarWaveFunction & sbar2,
82  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
83 
96  SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
97  const SpinorWaveFunction & sp1,
98  const TensorWaveFunction & ten3,
99  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
100 
113  SpinorBarWaveFunction evaluate(Energy2 q2,int iopt, tcPDPtr out,
114  const SpinorBarWaveFunction & sbar2,
115  const TensorWaveFunction& ten3,
116  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
118 
127  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
128 
129 private:
130 
135 
139  FFTVertex & operator=(const FFTVertex &);
140 
141 };
142 
143 }
144 
151 template <>
154  typedef ThePEG::Helicity::AbstractFFTVertex NthBase;
155 };
156 
161 template <>
163  : public ClassTraitsBase<ThePEG::Helicity::FFTVertex> {
164 
168  static string className() { return "ThePEG::FFTVertex"; }
169 
170 };
171 
174 }
175 
176 #endif /* ThePEG_FFTVertex_H */
static AbstractNoPIOClassDescription< FFTVertex > initFFTVertex
Describe an abstract class with persistent data.
Definition: FFTVertex.h:134
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
FFTVertex & operator=(const FFTVertex &)
Private and non-existent assignment operator.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
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
static void Init()
Standard Init function used to initialize the interfaces.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
Complex evaluate(Energy2 q2, const SpinorWaveFunction &sp1, const SpinorBarWaveFunction &sbar2, const TensorWaveFunction &ten3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
The AbstractFFTVertex class is the base class for all fermion-fermion-tensor interactions in ThePEG...
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
The FFTVertex class is the implementation of the fermion-fermion-tensor vertex.
Definition: FFTVertex.h:40
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52