thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
FFTVertex.h
1 // -*- C++ -*-
2 //
3 // FFTVertex.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 2003-2019 Peter Richardson, Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 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 
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 
97  const SpinorWaveFunction & sp1,
98  const TensorWaveFunction & ten3,
99  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
100 
114  const SpinorBarWaveFunction & sbar2,
115  const TensorWaveFunction& ten3,
116  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
118 
132  virtual void setCoupling(Energy2 q2,tcPDPtr part1,
133  tcPDPtr part2,tcPDPtr part3)=0;
134 
141  assert(false);
142  }
144 
145 private:
146 
150  FFTVertex & operator=(const FFTVertex &) = delete;
151 
152 };
153 
154 }
155 
156 }
157 #endif /* ThePEG_FFTVertex_H */
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Set coupling methods.
FFTVertex & operator=(const FFTVertex &)=delete
Private and non-existent assignment operator.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:696
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.
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 AbstractFFTVertex class is the base class for all fermion-fermion-tensor interactions in ThePEG...
The FFTVertex class is the implementation of the fermion-fermion-tensor vertex.
Definition: FFTVertex.h:40
virtual void setCoupling(Energy2, tcPDPtr, tcPDPtr, tcPDPtr, tcPDPtr)
Dummy setCouplings for a four point interaction This method is virtual and must be implemented in cla...
Definition: FFTVertex.h:140