Back to home page

EIC code displayed by LXR

 
 

    


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

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