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 <>
259 struct BaseClassTrait<ThePEG::Helicity::RFVVertex,1> {
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 */