|
|
|||
File indexing completed on 2026-08-06 09:24:18
0001 // -*- C++ -*- 0002 // 0003 // SMFFHVertex.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_SMFFHVertex_H 0010 #define HERWIG_SMFFHVertex_H 0011 // 0012 // This is the declaration of the SMFFHVertex class. 0013 0014 #include "ThePEG/Helicity/Vertex/Scalar/FFSVertex.h" 0015 #include "Herwig/Models/StandardModel/StandardModel.h" 0016 #include "ThePEG/PDT/EnumParticles.h" 0017 0018 namespace Herwig { 0019 using namespace ThePEG; 0020 0021 /** \ingroup Helicity 0022 * 0023 * This is the implementation of the vertex coupling the Standard Model Higgs 0024 * to the Standard Model fermions for helicity amplitude calculations 0025 * 0026 * @see FFSVertex 0027 * @see VertexBase 0028 */ 0029 class SMFFHVertex: public FFSVertex { 0030 0031 public: 0032 0033 /** 0034 * Default constructor. 0035 */ 0036 SMFFHVertex(); 0037 0038 /** 0039 * Calculate the couplings. 0040 * @param q2 The scale \f$q^2\f$ for the coupling at the vertex. 0041 * @param part1 The ParticleData pointer for the first particle. 0042 * @param part2 The ParticleData pointer for the second particle. 0043 * @param part3 The ParticleData pointer for the third particle. 0044 */ 0045 virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3); 0046 0047 public: 0048 0049 /** @name Functions used by the persistent I/O system. */ 0050 //@{ 0051 /** 0052 * Function used to write out object persistently. 0053 * @param os the persistent output stream written to. 0054 */ 0055 void persistentOutput(PersistentOStream & os) const; 0056 0057 /** 0058 * Function used to read in object persistently. 0059 * @param is the persistent input stream read from. 0060 * @param version the version number of the object when written. 0061 */ 0062 void persistentInput(PersistentIStream & is, int version); 0063 //@} 0064 0065 /** 0066 * Standard Init function used to initialize the interfaces. 0067 */ 0068 static void Init(); 0069 0070 protected: 0071 0072 /** @name Clone Methods. */ 0073 //@{ 0074 /** 0075 * Make a simple clone of this object. 0076 * @return a pointer to the new object. 0077 */ 0078 virtual IBPtr clone() const; 0079 0080 /** Make a clone of this object, possibly modifying the cloned object 0081 * to make it sane. 0082 * @return a pointer to the new object. 0083 */ 0084 virtual IBPtr fullclone() const; 0085 //@} 0086 0087 protected: 0088 0089 /** 0090 * Initialize this object after the setup phase before saving and 0091 * EventGenerator to disk. 0092 * @throws InitException if object could not be initialized properly. 0093 */ 0094 virtual void doinit(); 0095 0096 private: 0097 0098 /** 0099 * Private and non-existent assignment operator. 0100 */ 0101 SMFFHVertex & operator=(const SMFFHVertex &) = delete; 0102 0103 private: 0104 0105 /** 0106 * Pointer to the SM object. 0107 */ 0108 tcHwSMPtr _theSM; 0109 0110 /** 0111 * Storage of the couplings. 0112 */ 0113 //@{ 0114 /** 0115 * Last evaluation of the coupling 0116 */ 0117 complex<InvEnergy> _couplast; 0118 0119 /** 0120 * The PDG code of the last fermion the coupling was evaluated for. 0121 */ 0122 int _idlast; 0123 0124 /** 0125 * The last \f$q^2\f$ the coupling was evaluated at. 0126 */ 0127 Energy2 _q2last; 0128 0129 /** 0130 * The mass of the last fermion for which the coupling was evaluated. 0131 */ 0132 Energy _masslast; 0133 0134 /** 0135 * The mass of the \f$W\f$ boson. 0136 */ 0137 Energy _mw; 0138 0139 /** 0140 * A definite fermion flavour to couple to. All other flavours are ignored, 0141 * if this is different from zero. 0142 */ 0143 int _fermion; 0144 //@} 0145 }; 0146 0147 } 0148 0149 #endif /* HERWIG_SMFFHVertex_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|