Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef HERWIG_SSWWHHVertex_H
0003 #define HERWIG_SSWWHHVertex_H
0004 //
0005 // This is the declaration of the SSWWHHVertex class.
0006 //
0007 
0008 #include "ThePEG/Helicity/Vertex/Scalar/VVSSVertex.h"
0009 
0010 namespace Herwig {
0011 
0012 using namespace ThePEG;
0013 
0014 /**
0015  * Here is the documentation of the SSWWHHVertex class.
0016  *
0017  * @see \ref SSWWHHVertexInterfaces "The interfaces"
0018  * defined for SSWWHHVertex.
0019  */
0020 class SSWWHHVertex: public Helicity::VVSSVertex {
0021 
0022 public:
0023 
0024   /**
0025    * The default constructor.
0026    */
0027   SSWWHHVertex();
0028   
0029   /**
0030    * Calculate the couplings.
0031    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0032    * @param part1 The ParticleData pointer for the first  particle.
0033    * @param part2 The ParticleData pointer for the second particle.
0034    * @param part3 The ParticleData pointer for the third  particle.
0035    * @param part4 The ParticleData pointer for the fourth particle.
0036    */
0037   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,
0038                tcPDPtr part3, tcPDPtr part4);
0039 
0040 public:
0041 
0042   /** @name Functions used by the persistent I/O system. */
0043   //@{
0044   /**
0045    * Function used to write out object persistently.
0046    * @param os the persistent output stream written to.
0047    */
0048   void persistentOutput(PersistentOStream & os) const;
0049 
0050   /**
0051    * Function used to read in object persistently.
0052    * @param is the persistent input stream read from.
0053    * @param version the version number of the object when written.
0054    */
0055   void persistentInput(PersistentIStream & is, int version);
0056   //@}
0057 
0058   /**
0059    * The standard Init function used to initialize the interfaces.
0060    * Called exactly once for each class by the class description system
0061    * before the main function starts or
0062    * when this class is dynamically loaded.
0063    */
0064   static void Init();
0065 
0066 protected:
0067 
0068   /** @name Clone Methods. */
0069   //@{
0070   /**
0071    * Make a simple clone of this object.
0072    * @return a pointer to the new object.
0073    */
0074   virtual IBPtr clone() const;
0075 
0076   /** Make a clone of this object, possibly modifying the cloned object
0077    * to make it sane.
0078    * @return a pointer to the new object.
0079    */
0080   virtual IBPtr fullclone() const;
0081   //@}
0082 
0083 protected:
0084   
0085   /** @name Standard Interfaced functions. */
0086   //@{
0087   /**
0088    * Initialize this object after the setup phase before saving and
0089    * EventGenerator to disk.
0090    * @throws InitException if object could not be initialized properly.
0091    */
0092   virtual void doinit();
0093   //@}
0094 
0095 private:
0096 
0097   /**
0098    * The assignment operator is private and must never be called.
0099    * In fact, it should not even be implemented.
0100    */
0101   SSWWHHVertex & operator=(const SSWWHHVertex &) = delete;
0102 
0103 private:
0104 
0105   /**
0106    * Storage of the couplings.
0107    */
0108   //@{
0109   /**
0110    *  The last value of the electroweak coupling calculated.
0111    */
0112   Complex couplast_;
0113 
0114   /**
0115    *  The scale \f$q^2\f$ at which the coupling was last evaluated.
0116    */
0117   Energy2 q2last_;
0118   //@}
0119 
0120   /**
0121    *  Prefactors for the couplings
0122    */
0123   vector<Complex> coup_;
0124 
0125 };
0126 
0127 }
0128 
0129 #endif /* HERWIG_SSWWHHVertex_H */