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