ThePEG  1.8.0
RFVVertex.h
1 // -*- C++ -*-
2 //
3 // RFVVertex.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_RFVVertex_H
10 #define ThePEG_RFVVertex_H
11 //
12 // This is the declaration of the RFVVertex class.
13 
14 #include <ThePEG/Helicity/Vertex/AbstractRFVVertex.h>
15 #include <ThePEG/Helicity/WaveFunction/VectorWaveFunction.h>
16 #include <ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h>
17 #include <ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h>
18 #include "RFVVertex.fh"
19 
20 namespace ThePEG {
21 
22 namespace Helicity{
23 
43 
44 public:
45 
49  static void Init();
50 
51 public:
52 
65  Complex evaluate(Energy2 q2,const RSSpinorWaveFunction & sp1,
66  const SpinorBarWaveFunction & sbar2,
67  const VectorWaveFunction & vec3);
68 
76  Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
77  const RSSpinorBarWaveFunction & sbar2,
78  const VectorWaveFunction & vec3);
79 
92  SpinorBarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
93  const RSSpinorBarWaveFunction & sbar2,
94  const VectorWaveFunction & vec3,
95  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
96 
109  RSSpinorBarWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
110  const SpinorBarWaveFunction & sbar2,
111  const VectorWaveFunction & vec3,
112  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
113 
126  VectorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
127  const RSSpinorWaveFunction & sp1,
128  const SpinorBarWaveFunction & sbar2,
129  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
130 
143  VectorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
144  const SpinorWaveFunction & sp1,
145  const RSSpinorBarWaveFunction & sbar2,
146  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
147 
160  RSSpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
161  const SpinorWaveFunction & sp1,
162  const VectorWaveFunction & vec3,
163  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
164 
177  SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
178  const RSSpinorWaveFunction & sp1,
179  const VectorWaveFunction & vec3,
180  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
182 
191  virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3)=0;
192 
200  const vector<Complex> & left() const { return _left; }
201 
205  const vector<Complex> & right() const { return _right; }
207 
208 protected:
209 
217  void left(const vector<Complex> & in) { _left = in; }
218 
222  void right(const vector<Complex> & in) { _right = in; }
224 
225 private:
226 
231 
235  RFVVertex & operator=(const RFVVertex &);
236 
237 private:
238 
242  vector<Complex> _left;
243 
247  vector<Complex> _right;
248 
249 };
250 }
251 
258 template <>
261  typedef ThePEG::Helicity::AbstractRFVVertex NthBase;
262 };
263 
268 template <>
269 struct ClassTraits<ThePEG::Helicity::RFVVertex>
270  : public ClassTraitsBase<ThePEG::Helicity::RFVVertex> {
271 
275  static string className() { return "ThePEG::RFVVertex"; }
276 };
277 
280 }
281 
282 #endif /* ThePEG_RFVVertex_H */
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
Complex evaluate(Energy2 q2, const RSSpinorWaveFunction &sp1, const SpinorBarWaveFunction &sbar2, const VectorWaveFunction &vec3)
Members to calculate the helicity amplitude expressions for vertices and off-shell particles...
The RFVVertex class is the base class for all helicity amplitude vertices which use the renormalisabl...
Definition: RFVVertex.h:42
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
The AbstractRFVVertex class provides a base class for all spin-3/2 fermion-fermion-vector vertices in...
void right(const vector< Complex > &in)
Set the right coupling.
Definition: RFVVertex.h:222
RFVVertex & operator=(const RFVVertex &)
Private and non-existent assignment operator.
vector< Complex > _right
Right coupling.
Definition: RFVVertex.h:247
The RSSpinorWaveFunction class is designed to store the wavefunction of a spin-3/2 particle in a form...
static void Init()
Standard Init function used to initialize the interfaces.
const vector< Complex > & right() const
Get the right coupling.
Definition: RFVVertex.h:205
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
vector< Complex > _left
Left coupling.
Definition: RFVVertex.h:242
static AbstractNoPIOClassDescription< RFVVertex > initRFVVertex
Describe an abstract class with persistent data.
Definition: RFVVertex.h:230
void left(const vector< Complex > &in)
Set the couplings.
Definition: RFVVertex.h:217
The RSSpinorBarWaveFunction class is designed to store the wavefunction of a spin- particle in a for...
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Calculate the couplings.
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
const vector< Complex > & left() const
Get the Couplings.
Definition: RFVVertex.h:200
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52