Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // ADDModelVVGRVertex.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_ADDModelVVGRVertex_H
0010 #define HERWIG_ADDModelVVGRVertex_H
0011 //
0012 // This is the declaration of the ADDModelVVGRVertex class.
0013 
0014 #include "ThePEG/Helicity/Vertex/Tensor/VVTVertex.h"
0015 #include "ADDModel.h"
0016 
0017 namespace Herwig {
0018 using namespace ThePEG;
0019 
0020 /** \ingroup Helicity
0021  * 
0022  *  This is the implementation of the vector-vector-graviton vertex for
0023  *  the ADD model
0024  * 
0025  *  @see VVTVertex
0026  *  @see VertexBase
0027  */
0028 class ADDModelVVGRVertex: public VVTVertex {
0029   
0030 public:
0031   
0032   /**
0033    * Default constructor.
0034    */
0035   ADDModelVVGRVertex();
0036   
0037   /** @name Functions used by the persistent I/O system. */
0038   //@{
0039   /**
0040    * Function used to write out object persistently.
0041    * @param os the persistent output stream written to.
0042    */
0043   void persistentOutput(PersistentOStream & os) const;
0044 
0045   /**
0046    * Function used to read in object persistently.
0047    * @param is the persistent input stream read from.
0048    * @param version the version number of the object when written.
0049    */
0050   void persistentInput(PersistentIStream & is, int version);
0051   //@}
0052   
0053   /**
0054    * Standard Init function used to initialize the interfaces.
0055    */
0056   static void Init();
0057   
0058   /**
0059    * Calculate the couplings. 
0060    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0061    * @param part1 The ParticleData pointer for the first  particle.
0062    * @param part2 The ParticleData pointer for the second particle.
0063    * @param part3 The ParticleData pointer for the third  particle.
0064    */
0065   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
0066 
0067 protected:
0068   
0069   /** @name Clone Methods. */
0070   //@{
0071   /**
0072    * Make a simple clone of this object.
0073    * @return a pointer to the new object.
0074    */
0075   virtual IBPtr clone() const {return new_ptr(*this);}
0076 
0077   /** Make a clone of this object, possibly modifying the cloned object
0078    * to make it sane.
0079    * @return a pointer to the new object.
0080    */
0081   virtual IBPtr fullclone() const {return new_ptr(*this);}
0082   //@}
0083 
0084 protected:
0085   
0086   /**
0087    * Initialize this object after the setup phase before saving and
0088    * EventGenerator to disk.
0089    * @throws InitException if object could not be initialized properly.
0090    */
0091   virtual void doinit();
0092 
0093   /**
0094    * Calculate the propagator for a diagram.
0095    * @param iopt The option for the Breit-Wigner shape
0096    * @param q2 The scale
0097    * @param part The ParticleData pointer for the off-shell particle.
0098    * @param mass The mass if not to be taken from the ParticleData object
0099    * @param width The width if not to be taken from the ParticleData object
0100    */
0101   virtual Complex propagator(int iopt, Energy2 q2,tcPDPtr part,
0102                  Energy mass=-GeV, Energy width=-GeV);
0103     
0104 private:
0105   
0106   /**
0107    * Private and non-existent assignment operator.
0108    */
0109   ADDModelVVGRVertex & operator=(const ADDModelVVGRVertex &) = delete;
0110 
0111   /**
0112    * The coupling.
0113    */
0114   InvEnergy kappa_;
0115 
0116   /**
0117    *  Mass ratio for the propagator
0118    */
0119   Energy r_;
0120   
0121 };
0122 }
0123 
0124 #endif /* HERWIG_ADDModelVVGRVertex_H */