Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // UEDW0W1W1Vertex.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_UEDW0W1W1Vertex_H
0010 #define HERWIG_UEDW0W1W1Vertex_H
0011 //
0012 // This is the declaration of the UEDW0W1W1Vertex class.
0013 //
0014 
0015 #include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h"
0016 #include "UEDBase.h"
0017 
0018 namespace Herwig {
0019 using namespace ThePEG;
0020 using ThePEG::Helicity::Direction;
0021 
0022 /**
0023  * The coupling for the \f$ W\,W^{(1)}Z^{(1)}\f$ and  \f$ W\,W^{(1)}\gamma^{(1)}\f$ 
0024  * vertex . The class inherits from VVVVertex and implements 
0025  * the setCoupling member.
0026  *
0027  * @see \ref UEDW0W1W1VertexInterfaces "The interfaces"
0028  * defined for UEDW0W1W1Vertex.
0029  */
0030 class UEDW0W1W1Vertex: public VVVVertex {
0031 
0032 public:
0033 
0034   /**
0035    * The default constructor.
0036    */
0037   UEDW0W1W1Vertex();
0038 
0039 public:
0040 
0041   /** @name Functions used by the persistent I/O system. */
0042   //@{
0043   /**
0044    * Function used to write out object persistently.
0045    * @param os the persistent output stream written to.
0046    */
0047   void persistentOutput(PersistentOStream & os) const;
0048 
0049   /**
0050    * Function used to read in object persistently.
0051    * @param is the persistent input stream read from.
0052    * @param version the version number of the object when written.
0053    */
0054   void persistentInput(PersistentIStream & is, int version);
0055   //@}
0056 
0057   /**
0058    * The standard Init function used to initialize the interfaces.
0059    * Called exactly once for each class by the class description system
0060    * before the main function starts or
0061    * when this class is dynamically loaded.
0062    */
0063   static void Init();
0064 
0065   /** Calculate the coupling
0066    *@param q2 The scale at which to evaluate the coupling
0067    *@param part1 The first interacting particle 
0068    *@param part2 The second interacting particle 
0069    *@param part3 The third interacting particle 
0070    */
0071   virtual void setCoupling(Energy2 q2,tcPDPtr part1,
0072                tcPDPtr part2,tcPDPtr part3);
0073   
0074 protected:
0075 
0076   /** @name Clone Methods. */
0077   //@{
0078   /**
0079    * Make a simple clone of this object.
0080    * @return a pointer to the new object.
0081    */
0082   virtual IBPtr clone() const {return new_ptr(*this);}
0083 
0084   /** Make a clone of this object, possibly modifying the cloned object
0085    * to make it sane.
0086    * @return a pointer to the new object.
0087    */
0088   virtual IBPtr fullclone() const {return new_ptr(*this);}
0089   //@}
0090 
0091 
0092 protected:
0093 
0094   /** @name Standard Interfaced functions. */
0095   //@{
0096   /**
0097    * Initialize this object after the setup phase before saving an
0098    * EventGenerator to disk.
0099    * @throws InitException if object could not be initialized properly.
0100    */
0101   virtual void doinit();
0102   //@}
0103 
0104 private:
0105 
0106   /**
0107    * The assignment operator is private and must never be called.
0108    * In fact, it should not even be implemented.
0109    */
0110   UEDW0W1W1Vertex & operator=(const UEDW0W1W1Vertex &) = delete;
0111 
0112 private:
0113 
0114   /**
0115    * The value of \f$\sin\theta_W\f$.
0116    */
0117   double theSinW;
0118 
0119   /**
0120    * The value of \f$\cos\theta_W\f$.
0121    */
0122   double theCosW;
0123 
0124   /**
0125    * The value of \f$\sin\theta_1\f$.
0126    */
0127   double theSinThetaOne;
0128 
0129   /**
0130    * The value of \f$\cos\theta_1\f$.
0131    */
0132   double theCosThetaOne;
0133 
0134   /**
0135    * The scale at which the coupling was last evaluated.
0136    */
0137   Energy2 theq2last;
0138 
0139   /**
0140    * The value of \f$ \sqrt{4\pi\alpha}\f$ when it was last evaluated.
0141    */
0142   Complex theElast;
0143 
0144   /**
0145    * The value of the coupling when it was last evaluated.
0146    */
0147   Complex theCouplast;
0148 
0149   /**
0150    * The PDG code of the last SM particle in the vertex 
0151    */
0152   long theSMlast;
0153 
0154   /**
0155    * The PDG code of the last KK-particle in the vertex 
0156    */
0157   long theKKlast;
0158 };
0159 }
0160 
0161 #endif /* HERWIG_UEDW0W1W1Vertex_H */