Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // UEDG0G0G1G1Vertex.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_UEDG0G0G1G1Vertex_H
0010 #define HERWIG_UEDG0G0G1G1Vertex_H
0011 //
0012 // This is the declaration of the UEDG0G0G1G1Vertex class.
0013 //
0014 
0015 #include "ThePEG/Helicity/Vertex/Vector/VVVVVertex.h"
0016 
0017 namespace Herwig {
0018 using namespace ThePEG;
0019 
0020 /**
0021  * This is the implementation of the coupling of two Standard 
0022  * Model gluons to a pair of level 1 KK gluons.
0023  *
0024  * @see \ref UEDG0G0G1G1VertexInterfaces "The interfaces"
0025  * defined for UEDG0G0G1G1Vertex.
0026  */
0027 class UEDG0G0G1G1Vertex: public Helicity::VVVVVertex {
0028 
0029 public:
0030 
0031   /**
0032    * The default constructor.
0033    */
0034   UEDG0G0G1G1Vertex();
0035 
0036   /**
0037    * The standard Init function used to initialize the interfaces.
0038    * Called exactly once for each class by the class description system
0039    * before the main function starts or
0040    * when this class is dynamically loaded.
0041    */
0042   static void Init();
0043 
0044   /** Calculate the coupling
0045    *@param q2 The scale at which to evaluate the coupling
0046    *@param part1 The first interacting particle 
0047    *@param part2 The second interacting particle 
0048    *@param part3 The third interacting particle 
0049    *@param part4 The fourth interacting particle 
0050    */
0051   virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2,
0052                tcPDPtr part3, tcPDPtr part4);
0053 
0054 protected:
0055 
0056   /** @name Clone Methods. */
0057   //@{
0058   /**
0059    * Make a simple clone of this object.
0060    * @return a pointer to the new object.
0061    */
0062   virtual IBPtr clone() const {return new_ptr(*this);}
0063 
0064   /** Make a clone of this object, possibly modifying the cloned object
0065    * to make it sane.
0066    * @return a pointer to the new object.
0067    */
0068   virtual IBPtr fullclone() const {return new_ptr(*this);}
0069   //@}
0070 
0071 protected:
0072 
0073   /** @name Standard Interfaced functions. */
0074   //@{
0075   /**
0076    * Initialize this object after the setup phase before saving an
0077    * EventGenerator to disk.
0078    * @throws InitException if object could not be initialized properly.
0079    */
0080   virtual void doinit();
0081   //@}
0082 
0083 private:
0084 
0085   /**
0086    * The assignment operator is private and must never be called.
0087    * In fact, it should not even be implemented.
0088    */
0089   UEDG0G0G1G1Vertex & operator=(const UEDG0G0G1G1Vertex &) = delete;
0090 
0091 private:
0092 
0093   /**
0094    * The scale at which the coupling was last evaluated
0095    */
0096   Energy2 theq2Last;
0097 
0098   /**
0099    * The value of the coupling when it was last evaluated 
0100    */
0101   Complex theCoupLast;
0102 };
0103 }
0104 
0105 #endif /* HERWIG_UEDG0G0G1G1Vertex_H */