Back to home page

EIC code displayed by LXR

 
 

    


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

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