|
|
|||
File indexing completed on 2026-08-06 09:24:26
0001 // -*- C++ -*- 0002 #ifndef Herwig_PTCutOff_H 0003 #define Herwig_PTCutOff_H 0004 // 0005 // This is the declaration of the PTCutOff class. 0006 // 0007 0008 #include "SudakovCutOff.h" 0009 0010 namespace Herwig { 0011 0012 using namespace ThePEG; 0013 0014 /** 0015 * Here is the documentation of the PTCutOff class. 0016 * 0017 * @see \ref PTCutOffInterfaces "The interfaces" 0018 * defined for PTCutOff. 0019 */ 0020 class PTCutOff: public SudakovCutOff { 0021 0022 public: 0023 0024 /** 0025 * Calculate the virtual masses for a branchings 0026 */ 0027 virtual const vector<Energy> & virtualMasses(const IdList & ids); 0028 0029 /** 0030 * Default pTmin 0031 */ 0032 virtual Energy pTmin() { return pTmin_; } 0033 0034 /** 0035 * Default pT2min 0036 */ 0037 virtual Energy2 pT2min() { return pT2min_; } 0038 0039 0040 public: 0041 0042 /** @name Functions used by the persistent I/O system. */ 0043 //@{ 0044 /** 0045 * Function used to write out object persistently. 0046 * @param os the persistent output stream written to. 0047 */ 0048 void persistentOutput(PersistentOStream & os) const; 0049 0050 /** 0051 * Function used to read in object persistently. 0052 * @param is the persistent input stream read from. 0053 * @param version the version number of the object when written. 0054 */ 0055 void persistentInput(PersistentIStream & is, int version); 0056 //@} 0057 0058 /** 0059 * The standard Init function used to initialize the interfaces. 0060 * Called exactly once for each class by the class description system 0061 * before the main function starts or 0062 * when this class is dynamically loaded. 0063 */ 0064 static void Init(); 0065 0066 protected: 0067 0068 /** @name Standard Interfaced functions. */ 0069 //@{ 0070 /** 0071 * Initialize this object after the setup phase before saving an 0072 * EventGenerator to disk. 0073 * @throws InitException if object could not be initialized properly. 0074 */ 0075 virtual void doinit(); 0076 //@} 0077 0078 protected: 0079 0080 /** @name Clone Methods. */ 0081 //@{ 0082 /** 0083 * Make a simple clone of this object. 0084 * @return a pointer to the new object. 0085 */ 0086 virtual IBPtr clone() const; 0087 0088 /** Make a clone of this object, possibly modifying the cloned object 0089 * to make it sane. 0090 * @return a pointer to the new object. 0091 */ 0092 virtual IBPtr fullclone() const; 0093 //@} 0094 0095 private: 0096 0097 /** 0098 * The assignment operator is private and must never be called. 0099 * In fact, it should not even be implemented. 0100 */ 0101 PTCutOff & operator=(const PTCutOff &) = delete; 0102 0103 private: 0104 0105 /** 0106 * Parameters for the \f$p_T\f$ cut-off 0107 */ 0108 //@{ 0109 /** 0110 * The minimum \f$p_T\f$ for the branching 0111 */ 0112 Energy pTmin_ = 1_GeV; 0113 0114 /** 0115 * The square of the minimum \f$p_T\f$ 0116 */ 0117 Energy2 pT2min_ = 1_GeV2; 0118 //@} 0119 0120 0121 }; 0122 0123 } 0124 0125 #endif /* Herwig_PTCutOff_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|