Back to home page

EIC code displayed by LXR

 
 

    


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

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