Back to home page

EIC code displayed by LXR

 
 

    


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

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