thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
GeneralFFVVertex.h
1 // -*- C++ -*-
2 //
3 // GeneralFFVVertex.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_GeneralFFVVertex_H
10 #define ThePEG_GeneralFFVVertex_H
11 //
12 // This is the declaration of the GeneralFFVVertex 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 "GeneralFFVVertex.fh"
19 
20 namespace ThePEG {
21 
22 namespace Helicity{
23 
39 
40 public:
41 
45  static void Init();
46 
60  const SpinorBarWaveFunction & sbar2,const VectorWaveFunction & vec3);
61 
75  const SpinorBarWaveFunction & sbar2,
76  const VectorWaveFunction & vec3,
77  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
78 
92  const SpinorWaveFunction & sp1,
93  const SpinorBarWaveFunction & sbar2,
94  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
95 
108  SpinorWaveFunction evaluate(Energy2 q2,int iopt,tcPDPtr out,
109  const SpinorWaveFunction & sp1,
110  const VectorWaveFunction & vec3,
111  complex<Energy> mass=-GeV, complex<Energy> width=-GeV);
113 
127  virtual void setCoupling(Energy2 q2,tcPDPtr part1,
128  tcPDPtr part2,tcPDPtr part3)=0;
129 
136  assert(false);
137  }
139 
147  const Complex & getLeft() { return _left; }
148 
152  const Complex & getRight() { return _right; }
153 
157  const complex<InvEnergy> getLeftSigma() { return _leftSigma; }
158 
162  const complex<InvEnergy> getRightSigma() { return _rightSigma; }
164 
165 protected:
166 
174  void setLeft(const Complex & in) { _left = in; }
175 
179  void setRight(const Complex & in) { _right = in; }
180 
184  void setLeftSigma(const complex<InvEnergy> & in) { _leftSigma = in; }
185 
189  void setRightSigma(const complex<InvEnergy> & in) { _rightSigma = in; }
191 
192 private:
193 
197  GeneralFFVVertex & operator=(const GeneralFFVVertex &) = delete;
198 
199 private:
200 
205 
210 
214  complex<InvEnergy> _leftSigma;
215 
219  complex<InvEnergy> _rightSigma;
220 
221 };
222 }
223 
224 }
225 #endif /* ThePEG_GeneralFFVVertex_H */
void setRightSigma(const complex< InvEnergy > &in)
Set the right coupling for the term.
complex< InvEnergy > _leftSigma
Left coupling.
GeneralFFVVertex & operator=(const GeneralFFVVertex &)=delete
Private and non-existent assignment operator.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23
const Complex & getRight()
Get the right coupling.
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...
void setRight(const Complex &in)
Set the right coupling.
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
The AbstractFFVVertex class provides a base class for all fermion-fermion-vector vertices in ThePEG...
virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3)=0
Set coupling methods.
void setLeft(const Complex &in)
Set the couplings.
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...
const complex< InvEnergy > getLeftSigma()
Get the left coupling for the term.
void setLeftSigma(const complex< InvEnergy > &in)
Set the left coupling for the term.
const complex< InvEnergy > getRightSigma()
Get the right coupling for the term.
complex< InvEnergy > _rightSigma
Right coupling.
static void Init()
Standard Init function used to initialize the interfaces.
The GeneralFFVVertex class is the base class for all helicity amplitude vertices which use a general ...
const Complex & getLeft()
Get the Couplings.