|
|
|||
File indexing completed on 2026-08-06 09:24:19
0001 // -*- C++ -*- 0002 // 0003 // SSGSSVertex.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_SSGSSVertex_H 0010 #define HERWIG_SSGSSVertex_H 0011 // 0012 // This is the declaration of the SSGSSVertex class. 0013 // 0014 0015 #include "ThePEG/Helicity/Vertex/Scalar/VSSVertex.h" 0016 #include "SusyBase.h" 0017 0018 namespace Herwig { 0019 using namespace ThePEG; 0020 0021 /** 0022 * The SSGSSVertex implements the coupling of a gluon to 2 sfermions. 0023 * It inherits from VSSVertex and implements the setCoupling method. 0024 * 0025 * @see VSSVertex 0026 */ 0027 class SSGSSVertex: public VSSVertex { 0028 0029 public: 0030 0031 /** 0032 * The default constructor. 0033 */ 0034 SSGSSVertex(); 0035 0036 /** 0037 * The standard Init function used to initialize the interfaces. 0038 * Called exactly once for each class by the class description system 0039 * before the main function starts or 0040 * when this class is dynamically loaded. 0041 */ 0042 static void Init(); 0043 0044 /** 0045 * Calculate the couplings. 0046 * @param q2 The scale \f$q^2\f$ for the coupling at the vertex. 0047 * @param part1 The ParticleData pointer for the first particle. 0048 * @param part2 The ParticleData pointer for the second particle. 0049 * @param part3 The ParticleData pointer for the third particle. 0050 */ 0051 virtual void setCoupling(Energy2 q2,tcPDPtr part1, 0052 tcPDPtr part2,tcPDPtr part3); 0053 0054 protected: 0055 0056 /** @name Clone Methods. */ 0057 //@{ 0058 /** 0059 * Make a simple clone of this object. 0060 * @return a pointer to the new object. 0061 */ 0062 virtual IBPtr clone() const {return new_ptr(*this);} 0063 0064 /** Make a clone of this object, possibly modifying the cloned object 0065 * to make it sane. 0066 * @return a pointer to the new object. 0067 */ 0068 virtual IBPtr fullclone() const {return new_ptr(*this);} 0069 //@} 0070 0071 0072 protected: 0073 0074 /** @name Standard Interfaced functions. */ 0075 //@{ 0076 /** 0077 * Initialize this object after the setup phase before saving an 0078 * EventGenerator to disk. 0079 * @throws InitException if object could not be initialized properly. 0080 */ 0081 virtual void doinit(); 0082 //@} 0083 0084 private: 0085 0086 /** 0087 * The assignment operator is private and must never be called. 0088 * In fact, it should not even be implemented. 0089 */ 0090 SSGSSVertex & operator=(const SSGSSVertex &) = delete; 0091 0092 private: 0093 0094 /** 0095 * Store the value of the coupling when last evaluated 0096 */ 0097 Complex _couplast; 0098 0099 /** 0100 * Store the scale at which coupling was last evaluated 0101 */ 0102 Energy2 _q2last; 0103 }; 0104 } 0105 0106 #endif /* HERWIG_SSGSSVertex_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|