Back to home page

EIC code displayed by LXR

 
 

    


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

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