Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:18

0001 // -*- C++ -*-
0002 //
0003 // SMFFGVertex.h is a part of Herwig - A multi-purpose Monte Carlo event generator
0004 // Copyright (C) 2002-2019 The Herwig Collaboration
0005 //
0006 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef HERWIG_SMFFGVertex_H
0010 #define HERWIG_SMFFGVertex_H
0011 //
0012 // This is the declaration of the SMFFGVertex class.
0013 //
0014 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
0015 #include "ThePEG/StandardModel/StandardModelBase.fh"
0016 
0017 namespace Herwig {
0018 using namespace ThePEG;
0019 
0020 /** \ingroup Helicity
0021  * 
0022  *  This is the implementation of the Standard Model quark-antiquark gluon vertex.
0023  * 
0024  * @see FFVVertex
0025  * @see VertexBase
0026  */
0027 class SMFFGVertex: public FFVVertex {
0028   
0029 public:
0030   
0031   /**
0032    * Default constructor.
0033    */
0034   SMFFGVertex();
0035   
0036   /**
0037    * Calculate the couplings. 
0038    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0039    * @param part1 The ParticleData pointer for the first  particle.
0040    * @param part2 The ParticleData pointer for the second particle.
0041    * @param part3 The ParticleData pointer for the third  particle.
0042    */
0043   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
0044 
0045 public:
0046   
0047   /**
0048    * Standard Init function used to initialize the interfaces.
0049    */
0050   static void Init();
0051   
0052 protected:
0053   
0054   /** @name Clone Methods. */
0055   //@{
0056   /**
0057    * Make a simple clone of this object.
0058    * @return a pointer to the new object.
0059    */
0060   virtual IBPtr clone() const {return new_ptr(*this);}
0061 
0062   /** Make a clone of this object, possibly modifying the cloned object
0063    * to make it sane.
0064    * @return a pointer to the new object.
0065    */
0066   virtual IBPtr fullclone() const {return new_ptr(*this);}
0067   //@}
0068 
0069 protected:
0070 
0071   /** @name Standard Interfaced functions. */
0072   //@{
0073   /**
0074    * Initialize this object after the setup phase before saving an
0075    * EventGenerator to disk.
0076    * @throws InitException if object could not be initialized properly.
0077    */
0078   virtual void doinit();
0079   //@}
0080   
0081 private:
0082   
0083   /**
0084    * Private and non-existent assignment operator.
0085    */
0086   SMFFGVertex & operator=(const SMFFGVertex &) = delete;
0087   
0088 private:
0089 
0090   /**
0091    * Storage of the couplings.
0092    */
0093   //@{
0094   /**
0095    *  The last value of the strong coupling calculated.
0096    */
0097   Complex _couplast;
0098 
0099   /**
0100    *  The scale \f$q^2\f$ at which the coupling was last evaluated.
0101    */
0102   Energy2 _q2last;
0103   //@}
0104 };   
0105 }
0106 
0107 
0108 #endif /* HERWIG_SMFFGVertex_H */