|
|
|||
File indexing completed on 2026-08-06 09:24:18
0001 // -*- C++ -*- 0002 // 0003 // SMWWWVertex.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_SMWWWVertex_H 0010 #define HERWIG_SMWWWVertex_H 0011 // 0012 // This is the declaration of the SMWWWVertex class. 0013 // 0014 #include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h" 0015 #include "ThePEG/StandardModel/StandardModelBase.h" 0016 0017 namespace Herwig { 0018 using namespace ThePEG; 0019 using ThePEG::Helicity::Direction; 0020 0021 /** \ingroup Helicity 0022 * 0023 * This is the implementation fo the vertex for the coupling of three 0024 * standard Model electroweak bosons. 0025 * 0026 * @see VVVVertex 0027 * @see VertexBase 0028 */ 0029 class SMWWWVertex: public Helicity::VVVVertex { 0030 0031 public: 0032 0033 /** @name Standard constructors and destructors. */ 0034 //@{ 0035 /** 0036 * Default constructor. 0037 */ 0038 SMWWWVertex(); 0039 //@} 0040 0041 public: 0042 0043 /** @name Functions used by the persistent I/O system. */ 0044 //@{ 0045 /** 0046 * Function used to write out object persistently. 0047 * @param os the persistent output stream written to. 0048 */ 0049 void persistentOutput(PersistentOStream & os) const; 0050 0051 /** 0052 * Function used to read in object persistently. 0053 * @param is the persistent input stream read from. 0054 * @param version the version number of the object when written. 0055 */ 0056 void persistentInput(PersistentIStream & is, int version); 0057 //@} 0058 0059 /** 0060 * Standard Init function used to initialize the interfaces. 0061 */ 0062 static void Init(); 0063 0064 /** 0065 * Calculate the couplings. 0066 * @param q2 The scale \f$q^2\f$ for the coupling at the vertex. 0067 * @param part1 The ParticleData pointer for the first particle. 0068 * @param part2 The ParticleData pointer for the second particle. 0069 * @param part3 The ParticleData pointer for the third particle. 0070 */ 0071 virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3); 0072 0073 protected: 0074 0075 /** @name Clone Methods. */ 0076 //@{ 0077 /** 0078 * Make a simple clone of this object. 0079 * @return a pointer to the new object. 0080 */ 0081 virtual IBPtr clone() const {return new_ptr(*this);} 0082 0083 /** Make a clone of this object, possibly modifying the cloned object 0084 * to make it sane. 0085 * @return a pointer to the new object. 0086 */ 0087 virtual IBPtr fullclone() const {return new_ptr(*this);} 0088 //@} 0089 0090 protected: 0091 0092 /** @name Standard Interfaced functions. */ 0093 //@{ 0094 /** 0095 * Initialize this object after the setup phase before saving and 0096 * EventGenerator to disk. 0097 * @throws InitException if object could not be initialized properly. 0098 */ 0099 virtual void doinit(); 0100 //@} 0101 0102 private: 0103 0104 /** 0105 * Private and non-existent assignment operator. 0106 */ 0107 SMWWWVertex & operator=(const SMWWWVertex &) = delete; 0108 0109 private: 0110 /** 0111 * Storage of the couplings. 0112 */ 0113 //@{ 0114 /** 0115 * The factor for the \f$Z\f$ vertex. 0116 */ 0117 double _zfact; 0118 0119 /** 0120 * The last value of the electroweak coupling calculated. 0121 */ 0122 Complex _couplast; 0123 0124 /** 0125 * The scale \f$q^2\f$ at which the coupling was last evaluated. 0126 */ 0127 Energy2 _q2last; 0128 //@} 0129 0130 }; 0131 } 0132 0133 #endif /* HERWIG_SMWWWVertex_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|