Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:38:23

0001 // -*- C++ -*-
0002 #ifndef HELICITY_AbstractFFVVVertex_H
0003 #define HELICITY_AbstractFFVVVertex_H
0004 //
0005 // This is the declaration of the AbstractFFVVVertex class.
0006 //
0007 
0008 #include "VertexBase.h"
0009 #include "ThePEG/Helicity/WaveFunction/SpinorWaveFunction.h"
0010 #include "ThePEG/Helicity/WaveFunction/SpinorBarWaveFunction.h"
0011 #include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
0012 #include "AbstractFFVVVertex.fh"
0013 
0014 namespace ThePEG {
0015 namespace Helicity {
0016 
0017 /**
0018  * The AbstractFFVVVertex class provides a base class for all
0019  * fermion-fermion-vector-vector vertices in ThePEG.
0020  */
0021 class AbstractFFVVVertex: public VertexBase {
0022 
0023 public:
0024 
0025   /**
0026    * Default constructor
0027    */
0028   AbstractFFVVVertex() : VertexBase(VertexType::FFVV) {}
0029 
0030   /**
0031    * Members to calculate the helicity amplitude expressions for vertices
0032    * and off-shell particles.
0033    */
0034   //@{
0035   /**
0036    * Evalulate the vertex.
0037    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0038    * @param sp1   The wavefunction for the ferimon.
0039    * @param sbar2 The wavefunction for the antifermion.
0040    * @param vec3  The wavefunction for the vector.
0041    * @param vec4  The wavefunction for the vector.
0042    */
0043   virtual Complex evaluate(Energy2 q2,const SpinorWaveFunction & sp1,
0044                const SpinorBarWaveFunction & sbar2,
0045                const VectorWaveFunction & vec3,
0046                const VectorWaveFunction & vec4) = 0;
0047   //@}
0048 
0049 public:
0050 
0051   /**
0052    * The standard Init function used to initialize the interfaces.
0053    * Called exactly once for each class by the class description system
0054    * before the main function starts or
0055    * when this class is dynamically loaded.
0056    */
0057   static void Init();
0058 
0059 private:
0060 
0061   /**
0062    * The assignment operator is private and must never be called.
0063    * In fact, it should not even be implemented.
0064    */
0065   AbstractFFVVVertex & operator=(const AbstractFFVVVertex &) = delete;
0066 
0067 };
0068 
0069 }
0070 }
0071 
0072 #endif /* HELICITY_AbstractFFVVVertex_H */