|
|
|||
File indexing completed on 2026-08-06 09:24:20
0001 // -*- C++ -*- 0002 // 0003 // UEDF1F1P0Vertex.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_UEDF1F1P0Vertex_H 0010 #define HERWIG_UEDF1F1P0Vertex_H 0011 // 0012 // This is the declaration of the UEDF1F1P0Vertex class. 0013 // 0014 0015 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h" 0016 #include "UEDBase.h" 0017 0018 namespace Herwig { 0019 using namespace ThePEG; 0020 0021 /** 0022 * This class implements the coupling of a pair of level-1 KK 0023 * fermions to a standard Model photon. 0024 * 0025 * @see \ref UEDF1F1P0VertexInterfaces "The interfaces" 0026 * defined for UEDF1F1P0Vertex. 0027 */ 0028 class UEDF1F1P0Vertex: public FFVVertex { 0029 0030 public: 0031 0032 /** 0033 * The default constructor. 0034 */ 0035 UEDF1F1P0Vertex(); 0036 0037 /** Calculate the coupling 0038 *@param q2 The scale at which to evaluate the coupling 0039 *@param part1 The first interacting particle 0040 *@param part2 The second interacting particle 0041 *@param part3 The third interacting particle 0042 */ 0043 virtual void setCoupling(Energy2 q2, tcPDPtr part1, tcPDPtr part2, 0044 tcPDPtr part3); 0045 0046 /** @name Functions used by the persistent I/O system. */ 0047 //@{ 0048 /** 0049 * Function used to write out object persistently. 0050 * @param os the persistent output stream written to. 0051 */ 0052 void persistentOutput(PersistentOStream & os) const; 0053 0054 /** 0055 * Function used to read in object persistently. 0056 * @param is the persistent input stream read from. 0057 * @param version the version number of the object when written. 0058 */ 0059 void persistentInput(PersistentIStream & is, int version); 0060 //@} 0061 0062 /** 0063 * The standard Init function used to initialize the interfaces. 0064 * Called exactly once for each class by the class description system 0065 * before the main function starts or 0066 * when this class is dynamically loaded. 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 {return new_ptr(*this);} 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 {return new_ptr(*this);} 0085 //@} 0086 0087 0088 protected: 0089 0090 /** @name Standard Interfaced functions. */ 0091 //@{ 0092 /** 0093 * Initialize this object after the setup phase before saving an 0094 * EventGenerator to disk. 0095 * @throws InitException if object could not be initialized properly. 0096 */ 0097 virtual void doinit(); 0098 //@} 0099 0100 private: 0101 0102 /** 0103 * The assignment operator is private and must never be called. 0104 * In fact, it should not even be implemented. 0105 */ 0106 UEDF1F1P0Vertex & operator=(const UEDF1F1P0Vertex &) = delete; 0107 0108 private: 0109 0110 /** 0111 * The value of the coupling when it was last evaluated . 0112 */ 0113 Complex coupLast_; 0114 0115 /** 0116 * The scale at which the coupling was last evaluated. 0117 */ 0118 Energy2 q2Last_; 0119 0120 /** 0121 * The id of the last fermion that the vertex was evaluated for 0122 */ 0123 long fermLast_; 0124 0125 /** 0126 * The value of the left/right coupling when it was last evaluated. 0127 */ 0128 Complex LRLast_; 0129 0130 /** 0131 * The charges of the fermions 0132 */ 0133 vector<double> charges_; 0134 }; 0135 } 0136 0137 #endif /* HERWIG_UEDF1F1P0Vertex_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|