Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:16

0001 // -*- C++ -*-
0002 //
0003 // ADDModelWWWGRVertex.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_ADDModelWWWGRVertex_H
0010 #define HERWIG_ADDModelWWWGRVertex_H
0011 //
0012 // This is the declaration of the ADDModelWWWGRVertex class.
0013 
0014 #include "ThePEG/Helicity/Vertex/Tensor/VVVTVertex.h"
0015 #include "ADDModel.h"
0016 
0017 namespace Herwig {
0018 using namespace ThePEG;
0019     
0020 /** \ingroup Helicity
0021  *
0022  *  The ADDModelWWWGRVertex class is the implementation of the 
0023  *  triple vector graviton couling in the ADD model. 
0024  *  It inherits from VVVTVertex and implements the setCoupling member.
0025  *
0026  *  @see VVVTVertex
0027  *  @see VertexBase
0028  */
0029 class ADDModelWWWGRVertex: public VVVTVertex {
0030   
0031 public:
0032   
0033   /**
0034    * Default constructor.
0035    */
0036   ADDModelWWWGRVertex();
0037   
0038   /** @name Functions used by the persistent I/O system. */
0039   //@{
0040   /**
0041    * Function used to write out object persistently.
0042    * @param os the persistent output stream written to.
0043    */
0044   void persistentOutput(PersistentOStream & os) const;
0045 
0046   /**
0047    * Function used to read in object persistently.
0048    * @param is the persistent input stream read from.
0049    * @param version the version number of the object when written.
0050    */
0051   void persistentInput(PersistentIStream & is, int version);
0052   //@}
0053   
0054   /**
0055    * Standard Init function used to initialize the interfaces.
0056    */
0057   static void Init();
0058   
0059   /**
0060    * Calculate the couplings. 
0061    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0062    * @param part1 The ParticleData pointer for the first  particle.
0063    * @param part2 The ParticleData pointer for the second particle.
0064    * @param part3 The ParticleData pointer for the third  particle.
0065    * @param part4 The ParticleData pointer for the foruth particle.
0066    */
0067   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3,
0068                tcPDPtr part4);
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 protected:
0088   
0089   /**
0090    * Initialize this object after the setup phase before saving and
0091    * EventGenerator to disk.
0092    * @throws InitException if object could not be initialized properly.
0093    */
0094   virtual void doinit();
0095 
0096   /**
0097    * Calculate the propagator for a diagram.
0098    * @param iopt The option for the Breit-Wigner shape
0099    * @param q2 The scale
0100    * @param part The ParticleData pointer for the off-shell particle.
0101    * @param mass The mass if not to be taken from the ParticleData object
0102    * @param width The width if not to be taken from the ParticleData object
0103    */
0104   virtual Complex propagator(int iopt, Energy2 q2,tcPDPtr part,
0105                  Energy mass=-GeV, Energy width=-GeV);
0106   
0107 private:
0108   
0109   /**
0110    * Private and non-existent assignment operator.
0111    */
0112   ADDModelWWWGRVertex & operator=(const ADDModelWWWGRVertex &) = delete;
0113 
0114 private:
0115 
0116   /**
0117    * Storage of the couplings.
0118    */
0119   //@{
0120   /**
0121    * The graviton coupling.
0122    */
0123   InvEnergy kappa_;
0124 
0125   /**
0126    *  Mass ratio for the propagator
0127    */
0128   Energy r_;
0129 
0130   /**
0131    *  The last value of the coupling/
0132    */
0133   Complex couplast_;
0134 
0135   /**
0136    *  The last value of the scale, \f$q^2\f$.
0137    */
0138   Energy2 q2last_;
0139 
0140   /**
0141    *  The prefactor for the \f$Z\f$ vertex.
0142    */
0143   double zfact_;
0144   //@}
0145 };
0146 }
0147 
0148 #endif /* HERWIG_ADDModelWWWGRVertex_H */