|
|
|||
File indexing completed on 2026-08-06 09:24:04
0001 // -*- C++ -*- 0002 // 0003 // VectorMesonVectorVectorDecayer.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_VectorMesonVectorVectorDecayer_H 0010 #define HERWIG_VectorMesonVectorVectorDecayer_H 0011 // 0012 // This is the declaration of the VectorMesonVectorVectorDecayer class. 0013 // 0014 #include "Herwig/Decay/DecayIntegrator.h" 0015 #include "Herwig/Decay/PhaseSpaceMode.h" 0016 #include "ThePEG/Helicity/LorentzPolarizationVector.h" 0017 0018 namespace Herwig { 0019 using namespace ThePEG; 0020 0021 /** \ingroup Decay 0022 * 0023 * This class is designed for the decay of a vector meson to two spin 0024 * one particles, either other vector mesons or photons. 0025 * 0026 * The current for the decay is taken to be 0027 * 0028 * \f[\mathcal{M}= \frac{g}{M_0^2} 0029 * ( p_{0\nu}\epsilon^\alpha-p_{0\alpha} \epsilon^\nu)\left[ 0030 * ((p_{1\nu} \epsilon_1^\beta- p_1^\beta \epsilon_{1\nu}) 0031 * (p_{2\alpha} \epsilon_{2\beta}- p_{2\beta} \epsilon_{2\alpha}) 0032 * -(\nu \leftrightarrow\alpha))\right],\f] 0033 * where \f$p_{0,1,2}\f$ are the momenta of the incoming and two outgoing 0034 * vector mesons and \f$\epsilon_{1,2}\f$ are the polarization vectors of 0035 * the outgoing mesons and \f$\epsilon\f$ is the polarization vector of the 0036 * incoming meson. 0037 * 0038 * The incoming vector mesons together with their decay products and the coupling 0039 * \f$g\f$ can be specified using the interfaces for the class. The maximum weights 0040 * for the decays can be calculated using the Initialize interface of the 0041 * DecayIntegrator class or specified using the interface. 0042 * 0043 * The incoming and outgoing particles, couplings and maximum weights for 0044 * many of the common \f$V\to VV\f$ decays are specified in the default 0045 * constructor. 0046 * 0047 * @see DecayIntegrator. 0048 * @see \ref VectorMesonVectorVectorDecayerInterfaces "The interfaces" 0049 * defined for VectorMesonVectorVectorDecayer. 0050 */ 0051 class VectorMesonVectorVectorDecayer: public DecayIntegrator { 0052 0053 public: 0054 0055 /** 0056 * Default constructor. 0057 */ 0058 VectorMesonVectorVectorDecayer(); 0059 0060 /** 0061 * Which of the possible decays is required 0062 * @param cc Is this mode the charge conjugate 0063 * @param parent The decaying particle 0064 * @param children The decay products 0065 */ 0066 virtual int modeNumber(bool & cc, tcPDPtr parent, 0067 const tPDVector & children) const; 0068 0069 /** 0070 * Specify the \f$1\to2\f$ matrix element to be used in the running width calculation. 0071 * @param dm The DecayMode 0072 * @param mecode The code for the matrix element as described 0073 * in the GenericWidthGenerator class, in this case 5. 0074 * @param coupling The coupling for the matrix element. 0075 * @return True or False if this mode can be handled. 0076 */ 0077 bool twoBodyMEcode(const DecayMode & dm, int & mecode, double & coupling) const; 0078 0079 /** 0080 * Return the matrix element squared for a given mode and phase-space channel. 0081 * @param ichan The channel we are calculating the matrix element for. 0082 * @param part The decaying Particle. 0083 * @param outgoing The particles produced in the decay 0084 * @param momenta The momenta of the particles produced in the decay 0085 * @param meopt Option for the calculation of the matrix element 0086 * @return The matrix element squared for the phase-space configuration. 0087 */ 0088 double me2(const int ichan,const Particle & part, 0089 const tPDVector & outgoing, 0090 const vector<Lorentz5Momentum> & momenta, 0091 MEOption meopt) const; 0092 0093 /** 0094 * Construct the SpinInfos for the particles produced in the decay 0095 */ 0096 virtual void constructSpinInfo(const Particle & part, 0097 ParticleVector outgoing) const; 0098 0099 /** 0100 * Output the setup information for the particle database 0101 * @param os The stream to output the information to 0102 * @param header Whether or not to output the information for MySQL 0103 */ 0104 virtual void dataBaseOutput(ofstream & os,bool header) const; 0105 0106 public: 0107 0108 /** @name Functions used by the persistent I/O system. */ 0109 //@{ 0110 /** 0111 * Function used to write out object persistently. 0112 * @param os the persistent output stream written to. 0113 */ 0114 void persistentOutput(PersistentOStream & os) const; 0115 0116 /** 0117 * Function used to read in object persistently. 0118 * @param is the persistent input stream read from. 0119 * @param version the version number of the object when written. 0120 */ 0121 void persistentInput(PersistentIStream & is, int version); 0122 //@} 0123 0124 /** 0125 * Standard Init function used to initialize the interfaces. 0126 */ 0127 static void Init(); 0128 0129 protected: 0130 0131 /** @name Clone Methods. */ 0132 //@{ 0133 /** 0134 * Make a simple clone of this object. 0135 * @return a pointer to the new object. 0136 */ 0137 virtual IBPtr clone() const {return new_ptr(*this);} 0138 0139 /** Make a clone of this object, possibly modifying the cloned object 0140 * to make it sane. 0141 * @return a pointer to the new object. 0142 */ 0143 virtual IBPtr fullclone() const {return new_ptr(*this);} 0144 //@} 0145 0146 protected: 0147 0148 /** @name Standard Interfaced functions. */ 0149 //@{ 0150 /** 0151 * Initialize this object after the setup phase before saving and 0152 * EventGenerator to disk. 0153 * @throws InitException if object could not be initialized properly. 0154 */ 0155 virtual void doinit(); 0156 0157 /** 0158 * Initialize this object to the begining of the run phase. 0159 */ 0160 virtual void doinitrun(); 0161 //@} 0162 0163 private: 0164 0165 /** 0166 * Private and non-existent assignment operator. 0167 */ 0168 VectorMesonVectorVectorDecayer & operator=(const VectorMesonVectorVectorDecayer &) = delete; 0169 0170 public: 0171 0172 /** 0173 * Set the parameters for a decay mode 0174 */ 0175 string setUpDecayMode(string arg); 0176 0177 private: 0178 0179 /** 0180 * the coupling for the decay 0181 */ 0182 vector<double> coupling_; 0183 0184 /** 0185 * the PDG codes for the incoming particles 0186 */ 0187 vector<int> incoming_; 0188 0189 /** 0190 * the PDG codes for the 1st outgoing particle 0191 */ 0192 vector<pair<long,long> > outgoing_; 0193 0194 /** 0195 * maximum weight for a decay 0196 */ 0197 vector<double> maxweight_; 0198 0199 /** 0200 * Spin density matrix 0201 */ 0202 mutable RhoDMatrix rho_; 0203 0204 /** 0205 * Polarization vectors 0206 */ 0207 mutable vector<Helicity::LorentzPolarizationVector> vectors_[3]; 0208 0209 }; 0210 0211 } 0212 0213 0214 #endif /* HERWIG_VectorMesonVectorVectorDecayer_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|