Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // LeptoquarkModelSLQSLQGGVertex.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_LeptoquarkModelSLQSLQGGVertex_H
0010 #define HERWIG_LeptoquarkModelSLQSLQGGVertex_H
0011 //
0012 // This is the declaration of the LeptoquarkModelSLQSLQGGVertex class.
0013 
0014 #include "ThePEG/Helicity/Vertex/Scalar/VVSSVertex.h"
0015 #include "Herwig/Models/Leptoquarks/LeptoquarkModel.h"
0016 
0017 namespace Herwig {
0018 using namespace ThePEG;
0019     
0020 /** \ingroup Helicity
0021  * 
0022  *  The LeptoquarkModelSLQSLQGGVertex class is the implementation of the gluon
0023  *  gluon coupling to pairs of scalar leptoquarks in the LeptoquarkModel. It inherits from the VVSSVertex 
0024  *  and implements the setCoupling member
0025  *
0026  *  @see VVSSVertex
0027  *  @see VertexBase
0028  */
0029 class LeptoquarkModelSLQSLQGGVertex: public VVSSVertex {
0030   
0031 public:
0032   
0033   /**
0034    * Default constructor.
0035    */
0036   LeptoquarkModelSLQSLQGGVertex();
0037   
0038   /**
0039    * Standard Init function used to initialize the interfaces.
0040    */
0041   static void Init();
0042   
0043   /**
0044    * Calculate the couplings. 
0045    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0046    * @param part1 The ParticleData pointer for the first  particle.
0047    * @param part2 The ParticleData pointer for the second particle.
0048    * @param part3 The ParticleData pointer for the third  particle.
0049    * @param part4 The ParticleData pointer for the third  particle.
0050 
0051    */
0052   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,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   /**
0074    * Initialize this object after the setup phase before saving and
0075    * EventGenerator to disk.
0076    * @throws InitException if object could not be initialized properly.
0077    */
0078   virtual void doinit();
0079     
0080 private:
0081   
0082   /**
0083    * Private and non-existent assignment operator.
0084    */
0085   LeptoquarkModelSLQSLQGGVertex & operator=(const LeptoquarkModelSLQSLQGGVertex &) = delete;
0086   
0087   /**
0088    * The energy at which the coupling was last evaluated
0089    */
0090   Energy2 q2last_;
0091 
0092   /**
0093    * The coupling when it was last evaluated
0094    */
0095   Complex couplast_;
0096 
0097 };
0098 
0099 }
0100 
0101 #endif /* HERWIG_LeptoquarkModelSLQSLQGGVertex_H */